From f75cdcc55fac917fc39c1e4645d8a25dcbbd5087 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Thu, 19 Dec 2024 06:08:42 +0100 Subject: [PATCH] Skinning Goal: Update the precondition to avoid getting stuck --- Core/Goals/SkinningGoal.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/Goals/SkinningGoal.cs b/Core/Goals/SkinningGoal.cs index f50cefa4..bb19062c 100644 --- a/Core/Goals/SkinningGoal.cs +++ b/Core/Goals/SkinningGoal.cs @@ -70,7 +70,9 @@ public SkinningGoal(ILogger logger, ConfigurableInput input, equipmentReader.OnEquipmentChanged += EquipmentReader_OnEquipmentChanged; //AddPrecondition(GoapKey.dangercombat, false); - + AddPrecondition(GoapKey.pulled, false); + AddPrecondition(GoapKey.incombat, false); + AddPrecondition(GoapKey.dangercombat, false); AddPrecondition(GoapKey.shouldgather, true); AddEffect(GoapKey.shouldgather, false); }