Disorientation.lua 542 B

12345678910111213141516171819
  1. --[[
  2. Script Name : Spells/Commoner/Disorientation.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.30 09:09:40
  5. Script Purpose :
  6. :
  7. --]]
  8. -- On any combat or spell hit this spell will cast Disorientation on target. Lasts for 4.0 seconds.
  9. -- Stuns target
  10. -- If Target is not Epic
  11. -- Grants a total of 3 triggers of the spell.
  12. function cast(Caster, Target)
  13. AddControlEffect(Target, 4)
  14. end
  15. function remove(Caster, Target)
  16. RemoveControlEffect(Target, 4)
  17. end