extends PickPlayerAction class_name ThiefNightAction @export var prompt_switched_thief: Prompt @export var prompt_switched_victim: Prompt func execute_with_target(user: WolfPlayer, target: WolfPlayer) -> bool: if !super.execute_with_target(user, target): return false var switching_role: Role = target.role target.role = user.role user.role = switching_role user.send_prompt(prompt_switched_thief.with_context({"role": user.role.name}).with_context(target.get_context_dict("target_"))) target.send_prompt(prompt_switched_victim.with_context({"role": target.role.name})) return true