Apprehended.lua 560 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/Apprehended.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.25 03:09:00
  5. Script Purpose :
  6. :
  7. --]]
  8. --[[ Info from spell_display_effects (remove from script when done)
  9. --]]
  10. function cast(Caster, Target)
  11. AddControlEffect(Caster, 1)
  12. SetInfoStructString(Target, "action_state", "result_enthralling_fetters_ghostly")
  13. end
  14. function remove(Caster, Target)
  15. RemoveControlEffect(Caster, 1)
  16. SetInfoStructString(Target, "action_state", "0")
  17. end