mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 16:29:27 +02:00
fix black sludge item money calculation
This commit is contained in:
parent
b7db8c3c21
commit
6121adbcdd
@ -2598,7 +2598,8 @@ export class HealShopCostModifier extends PersistentModifier {
|
||||
}
|
||||
|
||||
apply(args: any[]): boolean {
|
||||
(args[0] as Utils.IntegerHolder).value *= this.shopMultiplier;
|
||||
const moneyCost = args[0] as Utils.IntegerHolder;
|
||||
moneyCost.value = Math.floor(moneyCost.value * this.shopMultiplier);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user