Intimidate.lua 817 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Bruiser/Intimidate.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.17 01:10:14
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Mesmerizes target
  10. -- Prevents AOE (except when direct)
  11. -- Dispelled when target takes damage
  12. -- Does not affect Epic targets
  13. -- Resistibility increases against targets higher than level 29.
  14. function precast(Caster, Target)
  15. -- Does not affect Epic targets
  16. if IsEpic(Target) then
  17. return false, 43
  18. end
  19. return true
  20. end
  21. function cast(Caster, Target)
  22. AddControlEffect(Target, 1)
  23. Say(Caster, "Resistibility not implemented")
  24. end
  25. function remove(Caster, Target)
  26. RemoveControlEffect(Target, 1)
  27. end