bugfix in default weapon switch
This commit is contained in:
parent
b53dc447f4
commit
d9fa30b06e
@ -1387,6 +1387,7 @@ class CitizenMilitary(CitizenTravel):
|
||||
try:
|
||||
if weapon['weaponQuantity'] > 30 and weapon['weaponInfluence'] > weapon_damage:
|
||||
weapon_quality = int(weapon['weaponId'])
|
||||
weapon_damage = weapon['weaponInfluence']
|
||||
except ValueError:
|
||||
pass
|
||||
return self.change_weapon(battle, weapon_quality, division)
|
||||
|
Loading…
x
Reference in New Issue
Block a user