Speechless.lua 635 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Mage/Enchanter/Illusionist/Speechless.lua
  3. Script Author : theFoof
  4. Script Date : 2014.3.1
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, DmgType, DmgLow, DmgHigh)
  9. -- Inflicts 130 - 159 mental damage on target
  10. -- Stifles target
  11. -- Epic targets gain an immunity to Stifle effects of 18.0 seconds and duration is reduced to 2.0 seconds.
  12. -- Resistibility increases against targets higher than level 29.
  13. SpellDamage(Target, DmgType, DmgLow, DmgHigh)
  14. AddControlEffect(Target, 2)
  15. end
  16. function remove(Caster, Target)
  17. RemoveControlEffect(Target, 2)
  18. end