Skip to content

Commit

Permalink
Skinning Goal: Update the precondition to avoid getting stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
lionaneesh authored Dec 19, 2024
1 parent 07d2622 commit f75cdcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Core/Goals/SkinningGoal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ public SkinningGoal(ILogger<SkinningGoal> 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);
}
Expand Down

0 comments on commit f75cdcc

Please sign in to comment.