mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 17:12:44 +02:00
Ensure apply modifier conditional retains original behavior
This commit is contained in:
parent
62c4756c78
commit
a131aee63a
@ -275,7 +275,7 @@ export class SelectModifierPhase extends BattlePhase {
|
||||
globalScene.phaseManager.unshiftPhase(this.copy());
|
||||
}
|
||||
|
||||
if (cost && !(modifier.type instanceof RememberMoveModifierType)) {
|
||||
if (cost !== -1 && !(modifier.type instanceof RememberMoveModifierType)) {
|
||||
if (result) {
|
||||
if (!Overrides.WAIVE_ROLL_FEE_OVERRIDE) {
|
||||
globalScene.money -= cost;
|
||||
|
Loading…
Reference in New Issue
Block a user