1234567891011121314151617181920212223 |
- --[[
- Script Name : Spells/Fighter/Brawler/Monk/WakingDragon.lua
- Script Author : John Adams
- Script Date : 2013.08.11 05:08:41
- Script Purpose : Direct Damage script
- :
- --]]
- function cast(Caster, Target, DDType, MinDmg, MaxDmg)
- if MaxDmg ~= nil and MinDmg < MaxDmg then
- dmgAmount = math.random(MinDmg, MaxDmg)
- SpellDamage(Target, DDType, dmgAmount)
- else
- SpellDamage(Target, DDType, MinDmg)
- end
- end
- function remove(Caster, Target, DDType, MinDmg, MaxDmg)
- end
|