9
3

RaysofDisintegration.lua 479 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Wizard/RaysofDisintegration.lua
  3. Script Author : neatz09
  4. Script Date : 2019.09.23 02:09:08
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 2744 - 4115 heat damage on target
  9. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  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