9
3

RisingDragon.lua 680 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Monk/RisingDragon.lua
  3. Script Author : Dello Updated by neatz09
  4. Script Date : 13/06/2014 9/11/19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal, DoTType, MinVal2, MaxVal2)
  9. if MaxVal ~= nil and MinVal < MaxVal then
  10. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  11. else
  12. SpellDamage(Target, DmgType, MinVal)
  13. SpellDamage(Target, DoTType, MinVal, MaxVal)
  14. end
  15. end
  16. function tick(Caster, Target, DmgType, MinVal, MaxVal, DoTType, MinVal2, MaxVal2)
  17. SpellDamage(Target, DoTType, MinVal, MaxVal)
  18. end