From 7db692b9992419ef52abd0da238c101b3d31c099 Mon Sep 17 00:00:00 2001 From: Shriansh Chari <30420527+shrianshChari@users.noreply.github.com> Date: Sat, 2 Nov 2024 23:12:08 -0400 Subject: [PATCH] Move Punching Glove base power modification to same block as other items --- calc/src/mechanics/gen789.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/calc/src/mechanics/gen789.ts b/calc/src/mechanics/gen789.ts index cb8c16140..c5018914a 100644 --- a/calc/src/mechanics/gen789.ts +++ b/calc/src/mechanics/gen789.ts @@ -1223,10 +1223,6 @@ export function calculateBPModsSMSSSV( desc.attackerAbility = attacker.ability; } - if (attacker.hasItem('Punching Glove') && move.flags.punch) { - bpMods.push(4506); - } - if (gen.num <= 8 && defender.hasAbility('Heatproof') && move.hasType('Fire')) { bpMods.push(2048); desc.defenderAbility = defender.ability; @@ -1277,6 +1273,8 @@ export function calculateBPModsSMSSSV( ) { bpMods.push(4505); desc.attackerItem = attacker.item; + } else if (attacker.hasItem('Punching Glove') && move.flags.punch) { + bpMods.push(4506); } return bpMods; }