From 3acdd7ddc6325baf72af00da1e98097272969731 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Mon, 2 Dec 2024 19:11:53 +0100 Subject: [PATCH] CorpseConsumedGoal make sure !Pulled, !Danger, !inCombat --- Core/Goals/CorpseConsumedGoal.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Core/Goals/CorpseConsumedGoal.cs b/Core/Goals/CorpseConsumedGoal.cs index cef4ccf5..ff39e82a 100644 --- a/Core/Goals/CorpseConsumedGoal.cs +++ b/Core/Goals/CorpseConsumedGoal.cs @@ -30,8 +30,9 @@ public CorpseConsumedGoal(ILogger logger, { AddPrecondition(GoapKey.consumablecorpsenearby, true); } - AddPrecondition(GoapKey.damagedone, false); - AddPrecondition(GoapKey.damagetaken, false); + AddPrecondition(GoapKey.pulled, false); + AddPrecondition(GoapKey.dangercombat, false); + AddPrecondition(GoapKey.incombat, false); AddPrecondition(GoapKey.consumecorpse, true);