Mutilate.lua 911 B

12345678910111213141516171819202122232425262728293031323334
  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. -- Inflicts 10 slashing damage on target instantly and every 4 seconds
  14. spellDamage(Target, DotType, DotMin, DotMax)
  15. -- Decreases Haste of target by 5.1
  16. AddSpellBonus(Target, 617, AttkSpeed)
  17. end
  18. function tick(Caster, Target, DotType, DotMin, DotMax)
  19. spellDamage(Target, DotType, DotMin, DotMax)
  20. end
  21. function remove(Caster, Target)
  22. RemoveSpellBonus(Target)
  23. end