PowerStrike.lua 564 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/PowerStrike.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.05 04:11:09
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 28 - 46 melee damage on target
  9. -- Decreases Defense of target by 1.3
  10. -- If facing target
  11. function cast(Caster, Target)
  12. Say(Caster, "facing target not implemented.")
  13. SpellDamage(Target, DmgType, MinVal, MaxVal)
  14. AddSkillBonus(Target, GetSkillIDByName("Defense"), SkillAmt)
  15. end
  16. function remove(Caster, Target)
  17. RemoveSpellBonus(Target)
  18. end