fix black sludge item money calculation

This commit is contained in:
ImperialSympathizer 2024-09-27 22:16:56 -04:00
parent b7db8c3c21
commit 6121adbcdd

View File

@ -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;
}