Skip to content

Commit

Permalink
Merge pull request #628 from lionaneesh/patch-3
Browse files Browse the repository at this point in the history
Update LootGoal to make sure dangercombat is false
  • Loading branch information
Xian55 authored Dec 2, 2024
2 parents 8ea13b9 + 303d9f9 commit 08b6372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Goals/LootGoal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public LootGoal(ILogger<LootGoal> logger,
this.state = state;

this.token = cts.Token;

AddPrecondition(GoapKey.dangercombat, false);
AddPrecondition(GoapKey.shouldloot, true);
AddEffect(GoapKey.shouldloot, false);
}
Expand Down

0 comments on commit 08b6372

Please sign in to comment.