mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
Checks for hit result status on Grip Claw application
This commit is contained in:
parent
c792d5e704
commit
ab3db6bd08
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user