CallofStorms.lua 426 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells/Priest/Druid/Fury/CallofStorms.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 07:08:19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  9. if MaxVal ~= nil and MinVal < MaxVal then
  10. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  11. else
  12. SpellDamage(Target, DmgType, MinVal)
  13. end
  14. end