minor change for testing, still a bunch to do. someh=thing that popped up, should hostile and friendly pegs go at the same time or staggered
This commit is contained in:
@@ -25,6 +25,10 @@ public partial class PegAction : Node2D
|
||||
|
||||
public virtual bool MeetsCriteria(Peg PEG)
|
||||
{
|
||||
if (PEG.GetType().ToString() == "Spearman")
|
||||
{
|
||||
GD.Print(Name,": ",PEG._staminaRemaining >= _cost, "&&", _usesRemaining > 0, "&&", (PEG._address - Target(PEG)).Length() <= _range);
|
||||
}
|
||||
return PEG._staminaRemaining >= _cost
|
||||
&& _usesRemaining > 0
|
||||
&& (PEG._address - Target(PEG)).Length() <= _range;
|
||||
|
||||
Reference in New Issue
Block a user