9
3

CrystalBlast.lua 478 B

123456789101112131415161718
  1. --[[
  2. Script Name : Spells/Mage/Summoner/Conjuror/CrystalBlast.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.20 05:11:53
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  9. -- Inflicts 11 - 15 magic damage on target
  10. if MaxVal ~= nil and MinVal < MaxVal then
  11. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  12. else
  13. SpellDamage(Target, DmgType, MinVal)
  14. end
  15. end