mirror of
https://github.com/frozenpandaman/s3s.git
synced 2026-03-21 17:46:40 -05:00
series_weapon_power_after
This commit is contained in:
parent
098c12724f
commit
c0f2efefda
6
s3s.py
6
s3s.py
|
|
@ -677,6 +677,12 @@ def prepare_battle_result(battle, ismonitoring, isblackout, overview_data=None):
|
|||
except: # could be null in historical data
|
||||
pass
|
||||
|
||||
if not payload.get("bankara_power_after"):
|
||||
try:
|
||||
payload["series_weapon_power_after"] = battle["bankaraMatch"]["weaponPower"]
|
||||
except: # could be null in historical data
|
||||
pass
|
||||
|
||||
battle_id = base64.b64decode(battle["id"]).decode('utf-8')
|
||||
battle_id_mutated = battle_id.replace("BANKARA", "RECENT") # normalize the ID, make work with -M and -r
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user