Merge branch 'main' into french-me-hotfix

This commit is contained in:
Lugiad 2024-09-28 04:36:44 +02:00 committed by GitHub
commit 5227308b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.NumberHolder;
moneyCost.value = Math.floor(moneyCost.value * this.shopMultiplier);
return true;
}