InstillPanic.lua 587 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/InstillPanic.lua
  3. Script Author : neatz09
  4. Script Date : 2020.08.29 02:08:49
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Makes target afraid
  10. -- 30% chance to dispel when target takes damage
  11. -- Does not affect Epic targets
  12. -- Resistibility increases against targets higher than level 29.
  13. function cast(Caster, Target)
  14. AddControlEffect(Target, 6)
  15. end
  16. function remove(Caster, Target)
  17. RemoveControlEffect(Target, 6)
  18. end