Index: scripts/globals/weaponskills/aeolian_edge.lua =================================================================== --- scripts/globals/weaponskills/aeolian_edge.lua (révision 0) +++ scripts/globals/weaponskills/aeolian_edge.lua (copie de travail) @@ -0,0 +1,33 @@ +-- Aeolian Edge +-- Dagger weapon skill +-- Delivers an area attack that deals wind elemental damage. Damage varies with TP. +-- Skill Level: 290 +-- Aligned with the Breeze Gorget, Soil Gorget & Thunder Gorget. +-- Aligned with the Breeze Belt, Soil Belt & Thunder Belt. +-- Element: Wind +-- Skillchain Properties: Impaction / Scission / Detonation +-- Modifiers: DEX:28%; INT:28% +-- 100%TP 200%TP 300%TP +-- 2.75 3.50 4 +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 2.75; params.ftp200 = 3.50; params.ftp300 = 4; + params.str_wsc = 0.0; params.dex_wsc = 0.28; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.28; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + damage, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/Cataclysm.lua =================================================================== --- scripts/globals/weaponskills/Cataclysm.lua (révision 0) +++ scripts/globals/weaponskills/Cataclysm.lua (copie de travail) @@ -0,0 +1,38 @@ +----------------------------------- +-- Skill level: 290 +-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. +-- Generates a significant amount of Enmity. +-- Does not stack with Sneak Attack +-- Aligned with Aqua Gorget. +-- Aligned with Aqua Belt. +-- Properties: +-- Element: Light +-- Skillchain Properties:Induration Reverberation +-- Modifiers: STR:30% MND:30% +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 3.00 3.00 3.00 + + +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 2; + params.ftp100 = 3; params.ftp200 = 3; params.ftp300 = 3; + params.str_wsc = 0.3; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.3; params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + local damage, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/coronach.lua =================================================================== --- scripts/globals/weaponskills/coronach.lua (révision 0) +++ scripts/globals/weaponskills/coronach.lua (copie de travail) @@ -0,0 +1,46 @@ +----------------------------------- +-- Skill Level: N/A +-- Description: Additional effect: temporarily lowers enmity. +-- Lowers Enmity for a certain amount of time. (Enmity -20) +-- Regardless of the damage, Coronach hate is only 80CE / 240 VE (Enmity- effect included). +-- This weapon skill is only available with the stage 5 relic Gun Annihilator, within Dynamis with the stage 4 Ferdinand or under the latent effect of Exequy Gun. +-- Aligned with the Breeze Gorget & Thunder Gorget. +-- Aligned with the Breeze Belt & Thunder Belt. +-- Properties +-- Element: None +-- Skillchain Properties: Darkness/Fragmentation +-- Modifiers: DEX:40% ; AGI:40% +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 3.00 3.00 3.00 + + + + +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 3; params.ftp200 = 3; params.ftp300 = 3; + params.str_wsc = 0.0; params.dex_wsc = 0.4; params.vit_wsc = 0.0; + params.agi_wsc = 0.4; params.int_wsc = 0.0; params.mnd_wsc = 0.0; + params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + + -- needs ignore defense. param + + damage, tpHits, extraHits = doRangedWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end; \ Pas de retour chariot à la fin du fichier Index: scripts/globals/weaponskills/Flash_Nova.lua =================================================================== --- scripts/globals/weaponskills/Flash_Nova.lua (révision 0) +++ scripts/globals/weaponskills/Flash_Nova.lua (copie de travail) @@ -0,0 +1,38 @@ +----------------------------------- +-- Skill level: 290 +-- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. +-- Generates a significant amount of Enmity. +-- Does not stack with Sneak Attack +-- Aligned with Aqua Gorget. +-- Aligned with Aqua Belt. +-- Properties: +-- Element: Light +-- Skillchain Properties:Induration Reverberation +-- Modifiers: STR:30% MND:30% +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 3.00 3.00 3.00 + + +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 2; + params.ftp100 = 3; params.ftp200 = 3; params.ftp300 = 3; + params.str_wsc = 0.3; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.3; params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + local damage, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/last_stand.lua =================================================================== --- scripts/globals/weaponskills/last_stand.lua (révision 0) +++ scripts/globals/weaponskills/last_stand.lua (copie de travail) @@ -0,0 +1,43 @@ +----------------------------------- +-- Skill Level: 357 +-- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP. +-- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used. +-- To obtain Last Stand, the quest Martial Mastery must be completed. +-- This Weapon Skill's first hit fTP is duplicated for all additional hits. +-- Aligned with the Flame Gorget, Light Gorget & Aqua Gorget. +-- Properties +-- Element: N/A +-- Skillchain Properties: Fusion/Reverberation +-- Modifiers: AGI:100% +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 2.0 2.125 2.25 + + +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 2; params.ftp200 = 2.125; params.ftp300 = 2.25; + params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; + params.agi_wsc = 1.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; + params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + + -- needs ignore defense. param + + damage, tpHits, extraHits = doRangedWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end; \ Pas de retour chariot à la fin du fichier Index: scripts/globals/weaponskills/namas_arrow.lua =================================================================== --- scripts/globals/weaponskills/namas_arrow.lua (révision 0) +++ scripts/globals/weaponskills/namas_arrow.lua (copie de travail) @@ -0,0 +1,43 @@ +----------------------------------- +-- Skill Level: 357 +-- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP. +-- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used. +-- To obtain Last Stand, the quest Martial Mastery must be completed. +-- This Weapon Skill's first hit fTP is duplicated for all additional hits. +-- Aligned with the Flame Gorget, Light Gorget & Aqua Gorget. +-- Properties +-- Element: N/A +-- Skillchain Properties: Fusion/Reverberation +-- Modifiers: AGI:100% +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 2.0 2.125 2.25 + + +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 2; params.ftp200 = 2.125; params.ftp300 = 2.25; + params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; + params.agi_wsc = 1.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; + params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + + -- needs ignore defense. param + + damage, tpHits, extraHits = doRangedWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end; \ Pas de retour chariot à la fin du fichier Index: scripts/globals/weaponskills/Shattersoul.lua =================================================================== --- scripts/globals/weaponskills/Shattersoul.lua (révision 0) +++ scripts/globals/weaponskills/Shattersoul.lua (copie de travail) @@ -0,0 +1,38 @@ +----------------------------------- +-- Skill Level: 357 +-- Description: Delivers a threefold attack. Decreases target's magic defense. Duration of effect varies with TP. +-- To obtain Shattersoul, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu. +-- Target's magic defense is lowered by 10. +-- Aligned with the Shadow Gorget, Soil Gorget & Snow Gorget. +-- Aligned with the Shadow Belt, Soil Belt & Snow Belt. +-- Element: N/A +-- Skillchain Properties: Gravitation/Induration +--Shattersoul is only available to Warriors, Monks, White Mages, Black Mages, Paladins, Bards, Dragoons, Summoners and Scholars. +-- While some jobs may obtain skill level 357 earlier than level 96, Shattersoul must be unlocked once skill reaches level 357 and job level 96 is reached. +-- Staff skill level 357 is obtainable by the following jobs at these corresponding levels: +-- Modifiers: INT:20~100%, depending on merit points ugrades. +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 1.375 1.375 1.375 +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 2; + params.ftp100 = 1.375; params.ftp200 = 1.375; params.ftp300 = 1.375; + params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.2; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + local damage, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/tachi_ageha.lua =================================================================== --- scripts/globals/weaponskills/tachi_ageha.lua (révision 0) +++ scripts/globals/weaponskills/tachi_ageha.lua (copie de travail) @@ -0,0 +1,40 @@ +----------------------------------- +-- Tachi Ageha +-- Great Katana weapon skill +-- Skill Level: 300 +-- Lowers target's defense. Chance of lowering target's defense varies with TP. +-- 30% Defense Down +-- Duration of effect is exactly 3 minutes. +-- Aligned with the Shadow Gorget, Soil Gorget. +-- Aligned with the Shadow Belt, Soil Belt. +-- Element: None +-- Skillchain Properties: Compression/Scission +-- Modifiers: CHR:50% +-- 100%TP 200%TP 300%TP +-- 2.80 2.80 2.80 +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 2.80; params.ftp200 = 2.80; params.ftp300 = 2.80; + params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.50; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + damage, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); + + if damage > 0 and (target:hasStatusEffect(EFFECT_DEFENSE_DOWN) == false) then + target:addStatusEffect(EFFECT_DEFENSE_DOWN, 27, 0, 180); + end + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/trueflight.lua =================================================================== --- scripts/globals/weaponskills/trueflight.lua (révision 0) +++ scripts/globals/weaponskills/trueflight.lua (copie de travail) @@ -0,0 +1,45 @@ +----------------------------------- +-- Skill Level: N/A +-- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP. +-- Available only after completing the Unlocking a Myth (Ranger) quest. +-- Does not work with Flashy Shot. +-- Does not work with Stealth Shot. +-- Aligned with the Breeze Gorget, Thunder Gorget & Soil Gorget. +-- Aligned with the Breeze Belt, Thunder Belt & Soil Belt. +-- Properties +-- Element: Light +-- Skillchain Properties: Fragmentation/Scission +-- Modifiers: AGI:30% +-- Damage Multipliers by TP: +-- 100%TP 200%TP 300%TP +-- 4.0 4.25 4.75 + + + +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 4; params.ftp200 = 4.25; params.ftp300 = 4.75; + params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; + params.agi_wsc = 0.3; params.int_wsc = 0.0; params.mnd_wsc = 0.0; + params.chr_wsc = 0.0; + params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; + params.canCrit = false; + params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; + params.atkmulti = 1; + + -- needs ignore defense. param + + damage, tpHits, extraHits = doRangedWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end; \ Pas de retour chariot à la fin du fichier