ShockWave.lua 727 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Coercer/ShockWave.lua
  3. Script Author : neatz09
  4. Script Date : 2020.05.10 07:14:50
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Inflicts 402 - 669 mental damage on targets in Area of Effect
  9. -- Stuns targets in Area of Effect
  10. -- Epic targets gain an immunity to Stun effects of 15.0 seconds and duration is reduced to 1.7 seconds.
  11. -- Resistibility increases against targets higher than level 29.
  12. function cast(Caster, Target)
  13. AddControlEffect(Target, 4)
  14. SpellDamage(Target, DmgType, MinVal, MaxVal)
  15. Say(Caster, "Immunity and Resistability not implemented.")
  16. end
  17. function remove(Caster, Target)
  18. RemoveControlEffect(Target, 4)
  19. end