For axis similar script works ok, shot down 3 airplane and one is attacker and got medal
http://il2stat.avias...401917/?tour=49
# Железный крест 2-го класса
def iron_cross_2(player_mission):
if player_mission.player.coal_pref == Coalition.Axis and player_mission.mission.winning_coalition == Coalition.Axis:
if (player_mission.killboard_pve.get('ship', 0) >= 2 or
(player_mission.killboard_pvp.get('tank_light', 0) +
player_mission.killboard_pvp.get('tank_medium', 0) +
player_mission.killboard_pvp.get('tank_heavy', 0)) >= 4):
return True
elif (player_mission.killboard_pvp.get('aircraft_medium', 0) +
player_mission.killboard_pvp.get('aircraft_heavy', 0)) >= 2:
return True
elif ((player_mission.killboard_pvp.get('aircraft_light', 0) +
player_mission.killboard_pvp.get('aircraft_medium', 0) +
player_mission.killboard_pvp.get('aircraft_heavy', 0)) >= 3
and (player_mission.killboard_pvp.get('aircraft_medium', 0)
+ player_mission.killboard_pvp.get('aircraft_heavy', 0)) >= 1):
return True
EDIT, after closer look i see demand it not same as for vvs where you need to do that in one sorties, for this axis medal it ask for to do it in mission in not just one sortie, and win that mission
Сообщение изменено: CountZero, 13 Июнь 2019 - 18:18.