Removed unused phase decleration in tests

This commit is contained in:
jnotsknab 2025-06-20 17:16:02 -05:00
parent 97532f1e44
commit 0f2156b1b0

View File

@ -280,7 +280,6 @@ describe("Escape chance calculations", () => {
commandPhase.handleCommand(Command.RUN, 0); commandPhase.handleCommand(Command.RUN, 0);
await game.phaseInterceptor.to(AttemptRunPhase, false); await game.phaseInterceptor.to(AttemptRunPhase, false);
const _phase = game.scene.phaseManager.getCurrentPhase() as AttemptRunPhase;
const escapePercentage = new NumberHolder(0); const escapePercentage = new NumberHolder(0);
// this sets up an object for multiple attempts. The pokemonSpeedRatio is your speed divided by the enemy speed, the escapeAttempts are the number of escape attempts and the expectedEscapeChance is the chance it should be escaping // this sets up an object for multiple attempts. The pokemonSpeedRatio is your speed divided by the enemy speed, the escapeAttempts are the number of escape attempts and the expectedEscapeChance is the chance it should be escaping