From 13ed5e53c7b597037a9d3d1a5fc37c02bc5fa586 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Wed, 20 Aug 2025 11:25:10 +0200 Subject: [PATCH] Make it possible to redo explicit actions when taking damage --- Questionable/Controller/Steps/Interactions/Action.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Questionable/Controller/Steps/Interactions/Action.cs b/Questionable/Controller/Steps/Interactions/Action.cs index 6211b67a..cf82942e 100644 --- a/Questionable/Controller/Steps/Interactions/Action.cs +++ b/Questionable/Controller/Steps/Interactions/Action.cs @@ -45,6 +45,7 @@ internal static class Action uint? DataId, EAction Action) : ITask { + public bool ShouldRedoOnInterrupt() => true; public override string ToString() => $"Action({Action})"; } @@ -125,7 +126,7 @@ internal static class Action return ETaskResult.TaskComplete; } - public override bool ShouldInterruptOnDamage() => false; + public override bool ShouldInterruptOnDamage() => true; } internal sealed record UseMudraOnObject(uint DataId, EAction Action) : ITask -- 2.20.1