9
3

HeadCrush.lua 576 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/HeadCrush.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.11 06:10:36
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 41 - 125 crushing damage on target
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal, SkillAmt)
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. -- Interrupts target
  12. Interrupt(Target)
  13. -- Decreases Focus of target by 6.9
  14. AddSkillBonus(Target, GetSkillIDByName("Focus"), SkillAmt)
  15. end
  16. function remove(Caster, Target)
  17. RemoveSkillBonus(Target)
  18. end