Awestruck.lua 601 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Templar/Awestruck.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.15 12:10:54
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Stuns target
  10. -- Does not affect Epic targets
  11. -- Resistibility increases against targets higher than level 29.
  12. function cast(Caster, Target)
  13. if not IsEpic(Target) then
  14. AddControlEffect(Target, 4)
  15. Say(Caster, "Resistibility not implemented yet.")
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveControlEffect(Target, 4)
  20. end