Break up imports

This commit is contained in:
Sirz Benjie 2025-02-21 02:04:43 -06:00
parent 5967a4240a
commit e128326e75
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E
2 changed files with 1401 additions and 473 deletions

File diff suppressed because it is too large Load Diff

View File

@ -197,7 +197,7 @@ export class MoveEffectPhase extends PokemonPhase {
&& (targets[0]?.getAbility()?.getAttrs(TypeImmunityAbAttr)?.[0]?.getImmuneType() === user.getMoveType(move)) && (targets[0]?.getAbility()?.getAttrs(TypeImmunityAbAttr)?.[0]?.getImmuneType() === user.getMoveType(move))
&& !targets[0]?.getTag(SemiInvulnerableTag); && !targets[0]?.getTag(SemiInvulnerableTag);
const mayBounce = move.hasFlag(MoveFlags.REFLECTABLE) && !this.reflected && targets.some(t => t.hasAbilityWithAttr(ReflectStatusMoveAbAttr) || !!t.getTag(BattlerTagType.MAGIC_COAT)); const mayBounce = move.hasFlag(MoveFlags.REFLECTABLE) && !this.reflected && targets.some(t => t.hasAbilityWithAttr(ReflectStatusMoveAbAttr) || !!t.getTag(BattlerTagType.MAGIC_COAT));
/** /**
* If no targets are left for the move to hit (FAIL), or the invoked move is non-reflectable, single-target * If no targets are left for the move to hit (FAIL), or the invoked move is non-reflectable, single-target