buff vamp house award

master
Aevann1 2022-09-07 00:25:29 +02:00
parent 7102d4744f
commit 71f3a2c24c
2 changed files with 4 additions and 4 deletions

View File

@ -800,10 +800,10 @@ HOUSE_AWARDS = {
"Vampire": { "Vampire": {
"kind": "Vampire", "kind": "Vampire",
"title": "Bite", "title": "Bite",
"description": "Turns the recipient into a vampire for 24 hours.", "description": "Turns the recipient into a vampire for 3 days.",
"icon": "fas fa-bat", "icon": "fas fa-bat",
"color": "text-gray", "color": "text-gray",
"price": 777 "price": 400
}, },
"Racist": { "Racist": {
"kind": "Racist", "kind": "Racist",

View File

@ -355,8 +355,8 @@ def award_thing(v, thing_type, id):
thing.body_html = sanitize(body, limit_pings=5, marsified=True) thing.body_html = sanitize(body, limit_pings=5, marsified=True)
g.db.add(thing) g.db.add(thing)
elif "Vampire" in kind and kind == v.house: elif "Vampire" in kind and kind == v.house:
if author.bite: author.bite += 86400 if author.bite: author.bite += 259200
else: author.bite = int(time.time()) + 86400 else: author.bite = int(time.time()) + 259200
author.old_house = author.house author.old_house = author.house
author.house = 'Vampire' author.house = 'Vampire'
elif "Racist" in kind and kind == v.house: elif "Racist" in kind and kind == v.house: