Checks for hit result status on Grip Claw application

This commit is contained in:
Christopher Schmidt 2025-03-22 11:43:31 -04:00
parent c792d5e704
commit ab3db6bd08

View File

@ -653,7 +653,7 @@ export class MoveEffectPhase extends PokemonPhase {
this.applyOnHitEffects(user, target, firstHit, lastHit, firstTarget); this.applyOnHitEffects(user, target, firstHit, lastHit, firstTarget);
this.applyOnGetHitAbEffects(user, target, hitResult); this.applyOnGetHitAbEffects(user, target, hitResult);
applyPostAttackAbAttrs(PostAttackAbAttr, user, target, this.move.getMove(), hitResult); applyPostAttackAbAttrs(PostAttackAbAttr, user, target, this.move.getMove(), hitResult);
if (this.move.getMove() instanceof AttackMove) { if (this.move.getMove() instanceof AttackMove && hitResult !== HitResult.STATUS) {
globalScene.applyModifiers(ContactHeldItemTransferChanceModifier, this.player, user, target); globalScene.applyModifiers(ContactHeldItemTransferChanceModifier, this.player, user, target);
} }
} }