From 14257c73acd1a4c6e07a99caba25a989f5a85ef1 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Fri, 20 Sep 2024 11:56:57 +0200 Subject: [PATCH] Handle certain interaction interruptions --- .../MSQ/C-Yak T'el/4909_Road to the Golden City.json | 2 +- Questionable/Controller/Steps/Shared/MoveTo.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/QuestPaths/7.x - Dawntrail/MSQ/C-Yak T'el/4909_Road to the Golden City.json b/QuestPaths/7.x - Dawntrail/MSQ/C-Yak T'el/4909_Road to the Golden City.json index 39387ac54..efabe8bef 100644 --- a/QuestPaths/7.x - Dawntrail/MSQ/C-Yak T'el/4909_Road to the Golden City.json +++ b/QuestPaths/7.x - Dawntrail/MSQ/C-Yak T'el/4909_Road to the Golden City.json @@ -15,7 +15,7 @@ "Y": -137.174, "Z": 559.47205 }, - "StopDistance": 5, + "StopDistance": 7, "TerritoryId": 1189, "InteractionType": "AcceptQuest" } diff --git a/Questionable/Controller/Steps/Shared/MoveTo.cs b/Questionable/Controller/Steps/Shared/MoveTo.cs index 92aa6d073..bd62ea139 100644 --- a/Questionable/Controller/Steps/Shared/MoveTo.cs +++ b/Questionable/Controller/Steps/Shared/MoveTo.cs @@ -292,6 +292,8 @@ internal static class MoveTo { } + public bool ShouldRedoOnInterrupt() => true; + public override string ToString() => $"MoveTo({Destination.ToString("G", CultureInfo.InvariantCulture)})"; }