9
3

Thunderbolt.lua 468 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/Thunderbolt.lua
  3. Script Author : neatz09
  4. Script Date : 2019.04.24 07:04:59
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 195 - 324 magic 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