show the real base price for house awards when ur founder

master
Aevann1 2022-08-30 07:08:04 +02:00
parent 8229425598
commit 2806634199
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ def shop(v):
for val in AWARDS.values():
val["baseprice"] = int(val["price"])
if val["kind"].endswith('Founder'):
val["baseprice"] = int(val["baseprice"] / 0.75)
val["price"] = int(val["price"] * v.discount)
sales = g.db.query(func.sum(User.coins_spent)).scalar()