9
3

BlazeKick.lua 700 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/BlazeKick.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.03.11 05:03:14
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal, TickDmgType, TickDmg)
  9. -- Inflicts 40 - 67 melee damage on target
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  12. else
  13. SpellDamage(Target, DmgType, MinVal)
  14. end
  15. end
  16. function tick(Caster, Target, DmgType, MinVal, MaxVal, TickDmgType, TickDmg)
  17. -- Inflicts 18 heat damage on target every 6 seconds
  18. SpellDamage(Target, TickDmgType, TickDmg)
  19. end