9
3

Mutilate.lua 946 B

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/Mutilate.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.14 07:10:19
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Inflicts 4 - 14 slashing damage on target
  10. function cast(Caster, Target, DmgType, MinVal, MaxVal, DotType, DotMin, DotMax, AttkSpeed)
  11. -- Inflicts 4 - 14 slashing damage on target
  12. SpellDamage(Target, DmgType, MinVal, MaxVal)
  13. if LastSpellAttackHit() then
  14. -- Inflicts 10 slashing damage on target instantly and every 4 seconds
  15. spellDamage(Target, DotType, DotMin, DotMax)
  16. -- Decreases Haste of target by 5.1
  17. AddSpellBonus(Target, 617, AttkSpeed)
  18. end
  19. end
  20. function tick(Caster, Target, DotType, DotMin, DotMax)
  21. spellDamage(Target, DotType, DotMin, DotMax)
  22. end
  23. function remove(Caster, Target)
  24. RemoveSpellBonus(Target)
  25. end