Buff Golden Punch's damage-to-money percentage
Raised from 20% to 50%.
This commit is contained in:
parent
7cd1cbcf5e
commit
586aa0227d
|
@ -831,7 +831,7 @@ export const modifierTypes = {
|
||||||
RELIC_GOLD: () => new MoneyRewardModifierType('Relic Gold', 10, 'large'),
|
RELIC_GOLD: () => new MoneyRewardModifierType('Relic Gold', 10, 'large'),
|
||||||
|
|
||||||
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 50% 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 10% of your money in interest', (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),
|
||||||
|
|
|
@ -1540,7 +1540,7 @@ export class DamageMoneyRewardModifier extends PokemonHeldItemModifier {
|
||||||
|
|
||||||
apply(args: any[]): boolean {
|
apply(args: any[]): boolean {
|
||||||
const scene = (args[0] as Pokemon).scene;
|
const scene = (args[0] as Pokemon).scene;
|
||||||
const moneyAmount = new Utils.IntegerHolder(Math.floor((args[1] as Utils.IntegerHolder).value * (0.2 * this.getStackCount())));
|
const moneyAmount = new Utils.IntegerHolder(Math.floor((args[1] as Utils.IntegerHolder).value * (0.5 * this.getStackCount())));
|
||||||
scene.applyModifiers(MoneyMultiplierModifier, true, moneyAmount);
|
scene.applyModifiers(MoneyMultiplierModifier, true, moneyAmount);
|
||||||
scene.money += moneyAmount.value;
|
scene.money += moneyAmount.value;
|
||||||
scene.updateMoneyText();
|
scene.updateMoneyText();
|
||||||
|
|
Loading…
Reference in New Issue