Index: scripts/globals/weaponskills/atonement.lua =================================================================== --- scripts/globals/weaponskills/atonement.lua (revision 0) +++ scripts/globals/weaponskills/atonement.lua (working copy) @@ -0,0 +1,35 @@ +----------------------------------- +-- Atonement +-- Sword weapon skill +-- Skill Level: NA +-- Delivers a twofold attack. Damage varies with TP. Burtgang: Aftermath effect varies with TP. +-- In order to obtain Atonement, the quest Unlocking a Myth must be completed. +-- Will stack with Sneak Attack. +-- Aligned with the Aqua Gorget, Flane Gorget & Light Gorget +-- Aligned with the Aqua Belt, Flame Belt & Light Belt. +-- Element: None +-- Modifiers: Related to accumulated Eminity +-- 100%TP 200%TP 300%TP +-- 1.00 1.75 2.50 +----------------------------------- + +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; params.ftp200 = 1.75; params.ftp300 = 2.5; + 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.5; 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/blade_ei.lua =================================================================== --- scripts/globals/weaponskills/blade_ei.lua (revision 0) +++ scripts/globals/weaponskills/blade_ei.lua (working copy) @@ -0,0 +1,33 @@ +----------------------------------- +-- Blade Ei +-- Katana weapon skill +-- Skill Level: 175 +-- Delivers a dark elemental attack. Damage varies with TP. +-- Aligned with the Shadow Gorget. +-- Aligned with the Shadow Belt. +-- Element: Dark +-- Modifiers: STR:30% ; INT:30% +-- 100%TP 200%TP 300%TP +-- 1.00 1.50 2.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 = 1; params.ftp200 = 1.5; params.ftp300 = 2; + params.str_wsc = 0.3; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.3; 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/blade_yu.lua =================================================================== --- scripts/globals/weaponskills/blade_yu.lua (revision 0) +++ scripts/globals/weaponskills/blade_yu.lua (working copy) @@ -0,0 +1,41 @@ +----------------------------------- +-- Blade Yu +-- Katana weapon skill +-- Skill Level: 290 +-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP. +-- Aligned with the Aqua Gorget & Soil Gorget. +-- Aligned with the Aqua Belt & Soil Belt. +-- Element: Water +-- Modifiers: DEX:50% ; INT:50% +-- 100%TP 200%TP 300%TP +-- 2.25 2.25 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.25; params.ftp200 = 2.25; params.ftp300 = 2.25; + params.str_wsc = 0.0; params.dex_wsc = 0.5; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.5; 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); + + if damage > 0 then + local tp = player:getTP(); + local duration = (tp/100 * 15) + 75; + if(target:hasStatusEffect(EFFECT_POISON) == false) then + target:addStatusEffect(EFFECT_POISON, 10, 0, duration); + end + end + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/expiacion.lua =================================================================== --- scripts/globals/weaponskills/expiacion.lua (revision 0) +++ scripts/globals/weaponskills/expiacion.lua (working copy) @@ -0,0 +1,34 @@ +----------------------------------- +-- Expiacion +-- Sword weapon skill +-- Skill level: NA +-- Tizona: Aftermath effect varies with TP. +-- In order to obtain Expiacion, the quest Unlocking a Myth must be completed. +-- Description: Delivers a twofold attack. +-- Aligned with the Aqua Gorget, Snow Gorget & Soil Gorget. +-- Aligned with the Aqua Belt, Snow Belt & Soil Belt. +-- Element: None +-- Modifiers: STR:30% INT:30% +-- 100%TP 200%TP 300%TP +-- 1.5 2.0 2.5 +----------------------------------- + +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.5; params.ftp200 = 2.0; params.ftp300 = 2.5; + params.str_wsc = 0.3; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.3; 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/glory_slash.lua =================================================================== --- scripts/globals/weaponskills/glory_slash.lua (revision 0) +++ scripts/globals/weaponskills/glory_slash.lua (working copy) @@ -0,0 +1,35 @@ +----------------------------------- +-- Glory Slash +-- Sword weapon skill +-- Skill Level: NA +-- Only avaliable during Campaign Battle while weilding Lex Talionis. +-- Delivers and area attacj that deals triple damage. Damage varies with TP. Additional effect Stun. +-- Will stack with Sneak Attack. +-- Aligned with the Flame Gorget & Light Gorget. +-- Aligned with the Flame Belt & Light Belt. +-- Element: Light +-- Modifiers: STR:30% +-- 100%TP 200%TP 300%TP +-- 3.00 3.50 4.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.5; params.ftp300 = 4; + 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.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/leaden_salute.lua =================================================================== --- scripts/globals/weaponskills/leaden_salute.lua (revision 0) +++ scripts/globals/weaponskills/leaden_salute.lua (working copy) @@ -0,0 +1,34 @@ +----------------------------------- +-- Leaden Salute +-- Marksmanship weapon skill +-- Skill Level: NA +-- Deals darkness elemental damage. Damage varies with TP. +-- Death Penalty: Aftermath effect varies with TP. +-- Aligned with the Shadow, Soil, & Light Gorgets. +-- Aligned with the Shadow, Soil, & Light Belts. +-- Element: Darkness +-- Modifiers: AGI:30% +-- 100%TP 200%TP 300%TP +-- 4.00 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.8; params.acc200= 0.9; params.acc300= 1; + params.atkmulti = 1; + local damage, tpHits, extraHits = doRangedWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/sanguine_blade.lua =================================================================== --- scripts/globals/weaponskills/sanguine_blade.lua (revision 0) +++ scripts/globals/weaponskills/sanguine_blade.lua (working copy) @@ -0,0 +1,44 @@ +----------------------------------- +-- Sanguine Blade +-- Sword weapon skill +-- Skill Level: 300 +-- Drains a percentage of damage dealt to HP varies with TP. +-- Will not stack with Sneak Attack. +-- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties. +-- Element: Dark +-- Modifiers: STR:30% ; MND:50% +-- 100%TP 200%TP 300%TP +-- 2.75 2.75 2.75 +-- HP Drained by TP: +-- 100%TP 200%TP 300%TP +-- 50% 75% 100% +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + local tp = player:getTP(); + local drain = 0; + if(tp >= 100 and tp <=199) then + drain = 50; + elseif(tp >= 200 and tp <= 299) then + drain = 75; + elseif(tp == 300) then + drain = 100; + end + local params = {}; + params.numHits = 1; + params.ftp100 = 2.75; params.ftp200 = 2.75; params.ftp300 = 2.75; + 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.5; 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); + player:addHP(damage/drain); + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/stringing_pummel.lua =================================================================== --- scripts/globals/weaponskills/stringing_pummel.lua (revision 0) +++ scripts/globals/weaponskills/stringing_pummel.lua (working copy) @@ -0,0 +1,34 @@ +----------------------------------- +-- Stringing Pummel +-- Hand-to-Hand weapon skill +-- Skill Level: NA +-- Delivers an sixfold attack. Chance of critical varies with TP. +-- Kenkonken:Aftermath effect varies with TP. +-- In order to obtain Stringing Pummel, the quest Unlocking a Myth must be completed. +-- Aligned with the Shadow Gorget, Soil Gorget & Flame Gorget. +-- Aligned with the Shadow Belt, Soil Belt & Flame Belt. +-- Element: None +-- Modifiers: STR:32% ; VIT:32% +-- 100%TP 200%TP 300%TP +-- 0.75 0.75 0.75 +----------------------------------- + +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 6; + params.ftp100 = 0.75; params.ftp200 = 0.75; params.ftp300 = 0.75; + params.str_wsc = 0.32; params.dex_wsc = 0.0; params.vit_wsc = 0.32; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; + params.crit100 = 0.2; params.crit200 = 0.3; params.crit300 = 0.45; + params.canCrit = false; + params.acc100 = 0.8; params.acc200= 0.9; params.acc300= 1; + params.atkmulti = 1; + local damage, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/tartarus_torpor.lua =================================================================== --- scripts/globals/weaponskills/tartarus_torpor.lua (revision 0) +++ scripts/globals/weaponskills/tartarus_torpor.lua (working copy) @@ -0,0 +1,47 @@ +----------------------------------- +-- Tartarus Torpor +-- Staff weapon skill +-- Skill level: NA +-- Puts to sleep enemies within the area of effect and lowers their magical defense and magical evasion. +-- Duration of effect varies with TP. +-- Only avaliable during Campaign Battles while wielding Samudra +-- Element: None +-- Modifiers: INT:30% STR:30% +-- 100%TP 200%TP 300%TP +-- 2.75 4.00 5.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 = 2.75; params.ftp200 = 4; params.ftp300 = 5; + params.str_wsc = 0.3; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.3; 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); + + if damage > 0 then + local tp = player:getTP(); + local duration = (tp/100 * 60); + if(target:hasStatusEffect(EFFECT_MAGIC_DEF_DOWN) == false) then + target:addStatusEffect(EFFECT_MAGIC_DEF_DOWN, 10, 0, duration); + end + if(target:hasStatusEffect(EFFECT_MAGIC_EVASION_DOWN) == false) then + target:addStatusEffect(EFFECT_MAGIC_EVASION_DOWN, 10, 0, duration); + end + if(target:hasStatusEffect(EFFECT_SLEEP) == false) then + target:addStatusEffect(EFFECT_SLEEP, 100, 0, duration); + end + end + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/uriel_blade.lua =================================================================== --- scripts/globals/weaponskills/uriel_blade.lua (revision 0) +++ scripts/globals/weaponskills/uriel_blade.lua (working copy) @@ -0,0 +1,38 @@ +----------------------------------- +-- Uriel Blade +-- Sword weapon skill +-- Skill Level: NA +-- Delivers and area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash. +-- Only avaliable durring Campaign Battle while weilding a Griffinclaw +-- Aligned with the Thunder Gorget & Breeze Gorget. +-- Aligned with the Thunder Belt & Breeze Belt. +-- Element: Light +-- Modifiers: STR:32% MND:32% +-- 100%TP 200%TP 300%TP +-- 4.50 6.00 7.50 +----------------------------------- + +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.5; params.ftp200 = 6.0; params.ftp300 = 7.5; + params.str_wsc = 0.32; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.32; 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); + + if(target:hasStatusEffect(EFFECT_FLASH) == false) then + target:addStatusEffect(EFFECT_FLASH, 100, 0, 30); + end + + return tpHits, extraHits, damage; + +end Index: scripts/globals/weaponskills/wildfire.lua =================================================================== --- scripts/globals/weaponskills/wildfire.lua (revision 0) +++ scripts/globals/weaponskills/wildfire.lua (working copy) @@ -0,0 +1,33 @@ +----------------------------------- +-- Wildfire +-- Marksmanship weapon skill +-- Skill level: 357 +-- Empyrean Weapon Skill +-- COR Main Job Required +-- Aligned with the Light Gorget & Flame Gorget. +-- Aligned with the Light Belt & Flame Belt. +-- Element: +-- Modifiers: AGI:60% +-- 100%TP 200%TP 300%TP +-- 5.5 5.5 5.5 +----------------------------------- +require("scripts/globals/status"); +require("scripts/globals/settings"); +require("scripts/globals/weaponskills"); +----------------------------------- + +function OnUseWeaponSkill(player, target, wsID) + + local params = {}; + params.numHits = 1; + params.ftp100 = 5.5; params.ftp200 = 5.5; params.ftp300 = 5.5; + params.str_wsc = 0.16; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.6; 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; + damage, tpHits, extraHits = doRangedWeaponskill(player, target, params); + + return tpHits, extraHits, damage; + +end \ No newline at end of file