forked from rDrama/rDrama
1
0
Fork 0

buff vamp house award again

master
Aevann1 2022-09-07 00:35:05 +02:00
parent 71f3a2c24c
commit 043a235082
2 changed files with 3 additions and 3 deletions

View File

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

View File

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