9
3

CircularStrike.lua 587 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Scout/Rogue/CircularStrike.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.06 09:10:09
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Interrupts targets in Area of Effect
  10. -- Inflicts 38 - 64 melee damage on targets in Area of Effect
  11. function cast(Caster, Target, DmgType, MinVal, MaxVal)
  12. if MaxVal ~= nil and MinVal < MaxVal then
  13. SpellDamage(Target, DmgType, math.random(MinVal, MaxVal))
  14. else
  15. SpellDamage(Target, DmgType, MinVal)
  16. end
  17. end