Paranoia.lua 710 B

123456789101112131415161718192021
  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