cleared up issue with pathing, but still an issue with attacks?
This commit is contained in:
+3
-3
@@ -79,7 +79,7 @@ public partial class PegController : TurnController
|
||||
_pegs.ForEach(e => e._path.Clear());
|
||||
|
||||
List<Peg> remainingPegs = GetRemainingPegs();
|
||||
while (remainingPegs.Count > 0 && _actionLoop < 100)
|
||||
while (remainingPegs.Count > 0 && _actionLoop < 10)
|
||||
{
|
||||
for (int i = 0; i < remainingPegs.Count; i++)
|
||||
{
|
||||
@@ -89,9 +89,9 @@ public partial class PegController : TurnController
|
||||
}
|
||||
remainingPegs = GetRemainingPegs();
|
||||
_actionLoop++;
|
||||
if (_actionLoop == 100)
|
||||
if (_actionLoop == 10)
|
||||
{
|
||||
GD.Print(string.Join(", ",remainingPegs.Select(p => p._address.ToString() + p._staminaRemaining+p.CanMove()+p.CanAct())));
|
||||
Peg peg_ = remainingPegs[0];
|
||||
GD.Print("LOOPMAXEDOUT");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user