forked from MarseyWorld/MarseyWorld
buff vamp house award again
parent
71f3a2c24c
commit
043a235082
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue