mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Fixed steadfast interaction
This commit is contained in:
parent
7e5a6d26c3
commit
f25e7d441c
@ -652,12 +652,6 @@ export class FlinchedTag extends BattlerTag {
|
||||
super(BattlerTagType.FLINCHED, [BattlerTagLapseType.PRE_MOVE, BattlerTagLapseType.TURN_END], 1, sourceMove);
|
||||
}
|
||||
|
||||
onAdd(pokemon: Pokemon): void {
|
||||
super.onAdd(pokemon);
|
||||
|
||||
applyAbAttrs(FlinchEffectAbAttr, pokemon, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cancels all subsequent moves used by this tag's Pokemon this turn.
|
||||
* @param pokemon - The {@linkcode Pokemon} with this tag.
|
||||
@ -672,6 +666,7 @@ export class FlinchedTag extends BattlerTag {
|
||||
pokemonNameWithAffix: getPokemonNameWithAffix(pokemon),
|
||||
}),
|
||||
);
|
||||
applyAbAttrs(FlinchEffectAbAttr, pokemon, null);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user