1234567891011121314151617181920212223 |
- --[[
- Script Name : Spells/Scout/Rogue/Brigand/DesperateThrust.lua
- Script Author : neatz09
- Script Date : 2019.10.15 09:10:51
- Script Purpose :
- :
- --]]
- function cast(Caster, Target, DmgType, MinVal, MaxVal, TgtAmt, CastAmt)
- -- Inflicts 257 - 428 melee damage on target
- SpellDamage(Target, DmgType, MinVal, MaxVal)
- -- Decreases Defense of target by 15.7
- AddSkillBonus(Target, GetSkillIDByName("Defense"), TgtAmt)
- -- Decreases Defense of caster by 17.4
- AddSkillBonus(Caster, GetSkillIDByName("Slashing"), CastAmt)
- end
- function remove(Caster, Target)
- RemoveSkillBonus(Target)
- end
|