mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-25 00:39:27 +02:00
Merge branch 'main' into french-me-hotfix
This commit is contained in:
commit
5227308b65
@ -2598,7 +2598,8 @@ export class HealShopCostModifier extends PersistentModifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply(args: any[]): boolean {
|
apply(args: any[]): boolean {
|
||||||
(args[0] as Utils.IntegerHolder).value *= this.shopMultiplier;
|
const moneyCost = args[0] as Utils.NumberHolder;
|
||||||
|
moneyCost.value = Math.floor(moneyCost.value * this.shopMultiplier);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user