1234567891011121314151617181920212223242526272829303132 |
- --[[
- Script Name : Spells/Fighter/Warrior/Berserker/Mutilate.lua
- Script Author : neatz09
- Script Date : 2019.10.14 07:10:19
- Script Purpose :
- :
- --]]
- function cast(Caster, Target, DmgType, MinVal, MaxVal, DotType, DotMin, AttkSpeed)
- -- Inflicts 4 - 14 slashing damage on target
- SpellDamage(Target, DmgType, MinVal, MaxVal)
- if LastSpellAttackHit() then
- -- Inflicts 10 slashing damage on target instantly and every 4 seconds
- SpellDamage(Target, DotType, DotMin)
- -- Decreases Haste of target by 5.1
- AddSpellBonus(Target, 617, AttkSpeed)
- end
- end
-
- function tick(Caster, Target, DmgType, MinVal, MaxVal, DotType, DotMin, AttkSpeed)
- SpellDamage(Target, DotType, DotMin)
- end
- function remove(Caster, Target)
- RemoveSpellBonus(Target)
- end
-
|