From 1262c7c8b1efee24053492e64a09bfbabc29b820 Mon Sep 17 00:00:00 2001 From: damocleas Date: Thu, 1 May 2025 16:09:03 -0400 Subject: [PATCH] swapped Macho Brace stats, +2 / 10% for HP stats and +1 / 5% for all else --- src/modifier/modifier.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index 3eaf4e3c510..7ba5f204db3 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -1103,20 +1103,20 @@ export class PokemonIncrementingStatModifier extends PokemonHeldItemModifier { * @returns always `true` */ override apply(_pokemon: Pokemon, stat: Stat, statHolder: NumberHolder): boolean { - // Modifies the passed in stat number holder by +1 per stack for HP, +2 per stack for other stats - // If the Macho Brace is at max stacks (50), adds additional 5% to total HP and 10% to other stats + // Modifies the passed in stat number holder by +2 per stack for HP, +1 per stack for other stats + // If the Macho Brace is at max stacks (50), adds additional 10% to total HP and 5% to other stats const isHp = stat === Stat.HP; if (isHp) { - statHolder.value += this.stackCount; - if (this.stackCount === this.getMaxHeldItemCount()) { - statHolder.value = Math.floor(statHolder.value * 1.05); - } - } else { statHolder.value += 2 * this.stackCount; if (this.stackCount === this.getMaxHeldItemCount()) { statHolder.value = Math.floor(statHolder.value * 1.1); } + } else { + statHolder.value += this.stackCount; + if (this.stackCount === this.getMaxHeldItemCount()) { + statHolder.value = Math.floor(statHolder.value * 1.05); + } } return true;