mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-29 02:06:07 +00:00
Adds break to IGNORE_PROTECT case for safety
This commit is contained in:
parent
ac5c3b8739
commit
2589faf69e
@ -601,6 +601,7 @@ export default class Move implements Localizable {
|
|||||||
this.checkFlag(MoveFlags.MAKES_CONTACT, user, target)) {
|
this.checkFlag(MoveFlags.MAKES_CONTACT, user, target)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return !!(this.flags & flag);
|
return !!(this.flags & flag);
|
||||||
|
@ -29,7 +29,13 @@ import { type ModifierOverride } from "./modifier/modifier-type";
|
|||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
const overrides = {} satisfies Partial<InstanceType<typeof DefaultOverrides>>;
|
const overrides = {
|
||||||
|
ABILITY_OVERRIDE: Abilities.STURDY,
|
||||||
|
OPP_ABILITY_OVERRIDE: Abilities.UNSEEN_FIST,
|
||||||
|
MOVESET_OVERRIDE: [Moves.SPLASH],
|
||||||
|
OPP_MOVESET_OVERRIDE: [Moves.WICKED_BLOW, Moves.WICKED_BLOW, Moves.WICKED_BLOW, Moves.WICKED_BLOW],
|
||||||
|
OPP_LEVEL_OVERRIDE: 20
|
||||||
|
} satisfies Partial<InstanceType<typeof DefaultOverrides>>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}
|
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}
|
||||||
|
Loading…
Reference in New Issue
Block a user