mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-16 14:55:22 +01:00
[Hotfix] Fix Queenly Majesty/Dazzling affecting user's moves instead of enemy's (#6722)
Fix QM/Dazzling
This commit is contained in:
parent
9ea5a014a1
commit
1d4a9259b8
@ -286,7 +286,7 @@ export class MovePhase extends PokemonPhase {
|
|||||||
|
|
||||||
// Apply queenly majesty / dazzling
|
// Apply queenly majesty / dazzling
|
||||||
if (!failed) {
|
if (!failed) {
|
||||||
const defendingSidePlayField = user.isPlayer() ? globalScene.getPlayerField() : globalScene.getEnemyField();
|
const defendingSidePlayField = user.isPlayer() ? globalScene.getEnemyField() : globalScene.getPlayerField();
|
||||||
const cancelled = new BooleanHolder(false);
|
const cancelled = new BooleanHolder(false);
|
||||||
defendingSidePlayField.forEach((pokemon: Pokemon) => {
|
defendingSidePlayField.forEach((pokemon: Pokemon) => {
|
||||||
applyAbAttrs("FieldPriorityMoveImmunityAbAttr", {
|
applyAbAttrs("FieldPriorityMoveImmunityAbAttr", {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user