9
3

WakingDragon.lua 599 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Monk/WakingDragon.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 05:08:41
  5. Script Purpose : Direct Damage script
  6. :
  7. --]]
  8. function cast(Caster, Target, DDType, MinDmg, MaxDmg)
  9. if MaxDmg ~= nil and MinDmg < MaxDmg then
  10. dmgAmount = math.random(MinDmg, MaxDmg)
  11. SpellDamage(Target, DDType, dmgAmount)
  12. else
  13. SpellDamage(Target, DDType, MinDmg)
  14. end
  15. end
  16. function remove(Caster, Target, DDType, MinDmg, MaxDmg)
  17. end