Initial setup for testing AI performance, random fixes
All checks were successful
Build / Build (push) Successful in 54s
All checks were successful
Build / Build (push) Successful in 54s
This commit is contained in:
@@ -138,7 +138,10 @@ public class LearnedMoveImpl : ILearnedMove
|
||||
public bool TryUse(byte amount = 1)
|
||||
{
|
||||
if (CurrentPp < amount)
|
||||
{
|
||||
CurrentPp = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
CurrentPp -= amount;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user