From 40e5449982d814102216ab73ef2c0ed918b7e70d Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 3 Dec 2023 00:27:40 -0500 Subject: [PATCH] Nerf healing charm from 100% to 25% Nerf healing charm from 100% to 25%; change shiny item buff to only count when Pokemon has not fainted --- src/modifier/modifier-type.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index 6087e6102..09f3d6d2f 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -687,8 +687,8 @@ export const modifierTypes = { GRIP_CLAW: () => new ContactHeldItemTransferChanceModifierType('Grip Claw', 10), - HEALING_CHARM: () => new ModifierType('Healing Charm', 'Increases the effectiveness of HP restoring moves and items by 100% (excludes revives)', - (type, _args) => new Modifiers.HealingBoosterModifier(type, 2), 'healing_charm'), + HEALING_CHARM: () => new ModifierType('Healing Charm', 'Increases the effectiveness of HP restoring moves and items by 25% (excludes revives)', + (type, _args) => new Modifiers.HealingBoosterModifier(type, 1.25), 'healing_charm'), CANDY_JAR: () => new ModifierType('Candy Jar', 'Increases the number of levels added by RARE CANDY items by 1', (type, _args) => new Modifiers.LevelIncrementBoosterModifier(type)), BERRY_POUCH: () => new ModifierType('Berry Pouch', 'Adds a 25% chance that a used berry will not be consumed', @@ -1017,7 +1017,7 @@ function getNewModifierTypeOption(party: Pokemon[], poolType: ModifierPoolType, if (tier === undefined) { const tierValue = Utils.randSeedInt(256); if (player && tierValue) { - const partyShinyCount = party.filter(p => p.isShiny()).length; + const partyShinyCount = party.filter(p => p.isShiny() && !p.isFainted()).length; const upgradeOdds = Math.floor(32 / Math.max((partyShinyCount * 2), 1)); upgrade = !Utils.randSeedInt(upgradeOdds); } else