forked from MarseyWorld/MarseyWorld
vamp award adjust
parent
f23912bc5b
commit
4d3a76f686
|
@ -357,8 +357,10 @@ def award_thing(v, thing_type, id):
|
||||||
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 * 7
|
if author.bite: author.bite += 86400 * 7
|
||||||
else: author.bite = int(time.time()) + 86400 * 7
|
else:
|
||||||
author.old_house = author.house
|
author.bite = int(time.time()) + 86400 * 7
|
||||||
|
author.old_house = author.house
|
||||||
|
|
||||||
author.house = 'Vampire'
|
author.house = 'Vampire'
|
||||||
badge_grant(user=author, badge_id=168)
|
badge_grant(user=author, badge_id=168)
|
||||||
elif "Racist" in kind and kind == v.house:
|
elif "Racist" in kind and kind == v.house:
|
||||||
|
|
Loading…
Reference in New Issue