mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-15 06:15:20 +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
|
||||
if (!failed) {
|
||||
const defendingSidePlayField = user.isPlayer() ? globalScene.getPlayerField() : globalScene.getEnemyField();
|
||||
const defendingSidePlayField = user.isPlayer() ? globalScene.getEnemyField() : globalScene.getPlayerField();
|
||||
const cancelled = new BooleanHolder(false);
|
||||
defendingSidePlayField.forEach((pokemon: Pokemon) => {
|
||||
applyAbAttrs("FieldPriorityMoveImmunityAbAttr", {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user