|
@@ -150,6 +150,7 @@ def parseRun(db, data_request, data_response):
|
|
|
crystal = mana = data_response["reward"]["crystal"]
|
|
crystal = mana = data_response["reward"]["crystal"]
|
|
|
else:
|
|
else:
|
|
|
crystal = 0
|
|
crystal = 0
|
|
|
|
|
+ guild_points = 0
|
|
|
# TODO Read helper. Do a test with SWBD-debug
|
|
# TODO Read helper. Do a test with SWBD-debug
|
|
|
helper = 0
|
|
helper = 0
|
|
|
|
|
|
|
@@ -161,7 +162,7 @@ def parseRun(db, data_request, data_response):
|
|
|
|
|
|
|
|
score = None
|
|
score = None
|
|
|
rank = None
|
|
rank = None
|
|
|
- insert(db, "run", (uid, id, dtime, area_type, area, stage, difficulty, win, time, mana, energy, crystal, helper, score, rank))
|
|
|
|
|
|
|
+ insert(db, "run", (uid, id, dtime, area_type, area, stage, difficulty, win, time, mana, energy, crystal, guild_points, helper, score, rank))
|
|
|
|
|
|
|
|
# Parse various types of reward
|
|
# Parse various types of reward
|
|
|
crate = data_response["reward"]["crate"]
|
|
crate = data_response["reward"]["crate"]
|