Nerf coin case item

This commit is contained in:
Flashfyre 2023-11-30 16:53:34 -05:00
parent e8b82d2d55
commit 333847f25e
2 changed files with 2 additions and 2 deletions

View File

@ -683,7 +683,7 @@ export const modifierTypes = {
AMULET_COIN: () => new ModifierType('Amulet Coin', 'Increases money rewards by 20%', (type, _args) => new Modifiers.MoneyMultiplierModifier(type)), AMULET_COIN: () => new ModifierType('Amulet Coin', 'Increases money rewards by 20%', (type, _args) => new Modifiers.MoneyMultiplierModifier(type)),
GOLDEN_PUNCH: () => new PokemonHeldItemModifierType('Golden Punch', 'Grants 20% of damage inflicted as money', (type, args) => new Modifiers.DamageMoneyRewardModifier(type, (args[0] as Pokemon).id)), GOLDEN_PUNCH: () => new PokemonHeldItemModifierType('Golden Punch', 'Grants 20% of damage inflicted as money', (type, args) => new Modifiers.DamageMoneyRewardModifier(type, (args[0] as Pokemon).id)),
COIN_CASE: () => new ModifierType('Coin Case', 'After every 10th battle, receive money equivalent to 20% of your money', (type, _args) => new Modifiers.MoneyInterestModifier(type)), COIN_CASE: () => new ModifierType('Coin Case', 'After every 10th battle, receive 10% of your money in interest', (type, _args) => new Modifiers.MoneyInterestModifier(type)),
GRIP_CLAW: () => new ContactHeldItemTransferChanceModifierType('Grip Claw', 10), GRIP_CLAW: () => new ContactHeldItemTransferChanceModifierType('Grip Claw', 10),

View File

@ -1190,7 +1190,7 @@ export class MoneyInterestModifier extends PersistentModifier {
apply(args: any[]): boolean { apply(args: any[]): boolean {
const scene = args[0] as BattleScene; const scene = args[0] as BattleScene;
const interestAmount = Math.floor(scene.money * 0.2 * this.getStackCount()); const interestAmount = Math.floor(scene.money * 0.1 * this.getStackCount());
scene.money += interestAmount; scene.money += interestAmount;
scene.updateMoneyText(); scene.updateMoneyText();
scene.validateAchvs(MoneyAchv); scene.validateAchvs(MoneyAchv);