SolarFlare.lua 423 B

123456789101112131415
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Wizard/SolarFlare.lua
  3. Script Author : Zcoretri
  4. Script Date : 2013.06.12 09:12:10
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinDmg, MaxDmg)
  9. if MaxDmg ~= nil and MinDmg < MaxDmg then
  10. SpellDamage(Target, DmgType, math.random(MinDmg, MaxDmg))
  11. else
  12. SpellDamage(Target, DmgType, MinDmg)
  13. end
  14. end