fix: wot.py
This commit is contained in:
@@ -238,7 +238,9 @@ def wot(type, jid, nick, text):
|
|||||||
expWins = 0
|
expWins = 0
|
||||||
|
|
||||||
for t in vdata[player_id]:
|
for t in vdata[player_id]:
|
||||||
|
if not extv.has_key(t['tank_id']):
|
||||||
|
continue
|
||||||
|
|
||||||
tank_battle = t['all']['battles']
|
tank_battle = t['all']['battles']
|
||||||
|
|
||||||
expDmg += tank_battle * extv[t['tank_id']]['expDamage']
|
expDmg += tank_battle * extv[t['tank_id']]['expDamage']
|
||||||
|
|||||||
Reference in New Issue
Block a user