Skip to content

Commit

Permalink
CorpseConsumedGoal make sure !Pulled, !Danger, !inCombat
Browse files Browse the repository at this point in the history
  • Loading branch information
lionaneesh authored Dec 2, 2024
1 parent cf37039 commit 3acdd7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Core/Goals/CorpseConsumedGoal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ public CorpseConsumedGoal(ILogger<CorpseConsumedGoal> 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);

Expand Down

0 comments on commit 3acdd7d

Please sign in to comment.