From 043a2350825de3037fd4da8ff9562ee5a4c4331c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 7 Sep 2022 00:35:05 +0200 Subject: [PATCH] buff vamp house award again --- files/helpers/const.py | 2 +- files/routes/awards.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 9da73c860..5235c8454 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -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 diff --git a/files/routes/awards.py b/files/routes/awards.py index ecc825956..a414af09c 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -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: