9
3

Frenzy.lua 626 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/Frenzy.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.11 06:10:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal, MinVal2, MaxVal2, MinVal3, MaxVal3)
  9. -- Inflicts 118 - 354 melee damage on target
  10. SpellDamage(Target, DmgType, MinVal, MaxVal)
  11. -- Inflicts 147 - 443 melee damage on target
  12. if LastSpellAttackHit() then
  13. SpellDamage(Target, DmgType, MinVal2, MaxVal2)
  14. end
  15. -- Inflicts 177 - 532 melee damage on target
  16. if LastSpellAttackHit() then
  17. SpellDamage(Target, DmgType, MinVal3, MaxVal3)
  18. end
  19. end