From af85d38b273a579756e6c9223fda5b72beda10ae Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Mon, 22 Apr 2024 22:10:39 -0400 Subject: [PATCH] Halve damage, protection, and endure tokens --- src/modifier/modifier-type.ts | 6 +++--- src/modifier/modifier.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modifier/modifier-type.ts b/src/modifier/modifier-type.ts index 9e9ce1de1..5baefffa8 100644 --- a/src/modifier/modifier-type.ts +++ b/src/modifier/modifier-type.ts @@ -944,8 +944,8 @@ export const modifierTypes = { GOLDEN_POKEBALL: () => new ModifierType(`Golden ${getPokeballName(PokeballType.POKEBALL)}`, 'Adds 1 extra item option at the end of every battle', (type, _args) => new Modifiers.ExtraModifierModifier(type), 'pb_gold', null, 'pb_bounce_1'), - ENEMY_DAMAGE_BOOSTER: () => new ModifierType('Damage Token', 'Increases damage by 10%', (type, _args) => new Modifiers.EnemyDamageBoosterModifier(type, 10), 'wl_item_drop'), - ENEMY_DAMAGE_REDUCTION: () => new ModifierType('Protection Token', 'Reduces incoming damage by 5%', (type, _args) => new Modifiers.EnemyDamageReducerModifier(type, 5), 'wl_guard_spec'), + ENEMY_DAMAGE_BOOSTER: () => new ModifierType('Damage Token', 'Increases damage by 5%', (type, _args) => new Modifiers.EnemyDamageBoosterModifier(type, 5), 'wl_item_drop'), + ENEMY_DAMAGE_REDUCTION: () => new ModifierType('Protection Token', 'Reduces incoming damage by 2.5%', (type, _args) => new Modifiers.EnemyDamageReducerModifier(type, 2.5), 'wl_guard_spec'), //ENEMY_SUPER_EFFECT_BOOSTER: () => new ModifierType('Type Advantage Token', 'Increases damage of super effective attacks by 30%', (type, _args) => new Modifiers.EnemySuperEffectiveDamageBoosterModifier(type, 30), 'wl_custom_super_effective'), ENEMY_HEAL: () => new ModifierType('Recovery Token', 'Heals 3% of max HP every turn', (type, _args) => new Modifiers.EnemyTurnHealModifier(type, 3), 'wl_potion'), ENEMY_ATTACK_POISON_CHANCE: () => new EnemyAttackStatusEffectChanceModifierType('Poison Token', 10, StatusEffect.POISON, 'wl_antidote'), @@ -954,7 +954,7 @@ export const modifierTypes = { ENEMY_ATTACK_FREEZE_CHANCE: () => new EnemyAttackStatusEffectChanceModifierType('Freeze Token', 10, StatusEffect.FREEZE, 'wl_ice_heal'), ENEMY_ATTACK_BURN_CHANCE: () => new EnemyAttackStatusEffectChanceModifierType('Burn Token', 10, StatusEffect.BURN, 'wl_burn_heal'), ENEMY_STATUS_EFFECT_HEAL_CHANCE: () => new ModifierType('Full Heal Token', 'Adds a 10% chance every turn to heal a status condition', (type, _args) => new Modifiers.EnemyStatusEffectHealChanceModifier(type, 10), 'wl_full_heal'), - ENEMY_ENDURE_CHANCE: () => new EnemyEndureChanceModifierType('Endure Token', 5, 'wl_reset_urge'), + ENEMY_ENDURE_CHANCE: () => new EnemyEndureChanceModifierType('Endure Token', 2.5, 'wl_reset_urge'), ENEMY_FUSED_CHANCE: () => new ModifierType('Fusion Token', 'Adds a 1% chance that a wild Pokémon will be a fusion', (type, _args) => new Modifiers.EnemyFusionChanceModifier(type, 1), 'wl_custom_spliced'), }; diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index ca6ef0c75..941c72e9d 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -1957,7 +1957,7 @@ abstract class EnemyDamageMultiplierModifier extends EnemyPersistentModifier { export class EnemyDamageBoosterModifier extends EnemyDamageMultiplierModifier { constructor(type: ModifierType, boostPercent: number, stackCount?: integer) { //super(type, 1 + ((boostPercent || 10) * 0.01), stackCount); - super(type, 1.1, stackCount); // Hardcode multiplier temporarily + super(type, 1.05, stackCount); // Hardcode multiplier temporarily } match(modifier: Modifier): boolean { @@ -1980,7 +1980,7 @@ export class EnemyDamageBoosterModifier extends EnemyDamageMultiplierModifier { export class EnemyDamageReducerModifier extends EnemyDamageMultiplierModifier { constructor(type: ModifierType, reductionPercent: number, stackCount?: integer) { //super(type, 1 - ((reductionPercent || 5) * 0.01), stackCount); - super(type, 0.95, stackCount); // Hardcode multiplier temporarily + super(type, 0.975, stackCount); // Hardcode multiplier temporarily } match(modifier: Modifier): boolean { @@ -2112,7 +2112,7 @@ export class EnemyEndureChanceModifier extends EnemyPersistentModifier { constructor(type: ModifierType, chancePercent: number, stackCount?: integer) { super(type, stackCount); - this.chance = (chancePercent || 5) / 100; + this.chance = (chancePercent || 2.5) / 100; } match(modifier: Modifier) {