BarbarianTendencies.lua 477 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Commoner/BarbarianTendencies.lua
  3. Script Author : neatz09
  4. Script Date : 2020.09.05 09:09:28
  5. Script Purpose :
  6. :
  7. --]]
  8. -- pass tier 1 for evil, tier 2 for good
  9. function cast(Caster, Target, Aura)
  10. SpawnSet(Target, "visual_state", Aura)
  11. AddControlEffect(Target, 5)
  12. end
  13. function remove(Caster, Target)
  14. SpawnSet(Target, "visual_state", 0)
  15. RemoveControlEffect(Target, 5)
  16. end