This commit is contained in:
Aevann1 2022-02-18 22:38:07 +02:00
parent 4cdceb1738
commit 7e5659cd4c
4 changed files with 5 additions and 0 deletions

View file

@ -48,6 +48,7 @@ def ghost_price(v):
elif v.patron == 3: discount = 0.80
elif v.patron == 4: discount = 0.75
elif v.patron == 5: discount = 0.70
elif v.patron == 6: discount = 0.65
else: discount = 1
for badge in [69,70,71,72,73]:
if v.has_badge(badge): discount -= discounts[badge]