9
3

Overpower.lua 518 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/Overpower.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.17 18:00:00
  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. SpellDamage(Target, DDType, math.random(MinDmg, MaxDmg))
  11. else
  12. SpellDamage(Target, DDType, MinDmg)
  13. end
  14. end