9
3

Paranoia.lua 719 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/Paranoia.lua
  3. Script Author : Neatz09
  4. Script Date : 8-12-19
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, DmgLow, DmgHigh)
  9. -- Inflicts X - Y mental damage on target
  10. -- Stuns target
  11. -- Epic targets gain an immunity to Stun effects of 16.5 seconds and duration is reduced to 1.8 seconds.
  12. -- Resistibility increases against targets higher than level 29.
  13. Say(Caster, "Epic Immunity and Resistability not implemented yet")
  14. AddControlEffect(Target, 4)
  15. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  16. end
  17. function remove(Caster, Target)
  18. RemoveControlEffect(Target, 4)
  19. end