Skip to content

Commit

Permalink
fix phase base air raid
Browse files Browse the repository at this point in the history
  • Loading branch information
myangelkamikaze committed Nov 25, 2023
1 parent 76bb08d commit 0c2b3de
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class PhaseBaseAirRaid : PhaseBase

public string? TouchAircraftFriend => Stage1?.ApiTouchPlane switch
{
[EquipmentId id and > 0, ..] => KCDatabase.Instance.MasterEquipments[(int)id].NameEN,
[EquipmentId id and > 0, ..] => KCDatabase.Instance.MasterEquipments[(int)id].NameEN,
_ => null,
};
public string? TouchAircraftFriendDisplay => TouchAircraftFriend switch
Expand All @@ -63,7 +63,7 @@ public class PhaseBaseAirRaid : PhaseBase

public string? TouchAircraftEnemy => Stage1?.ApiTouchPlane switch
{
[_, EquipmentId id and > 0, ..] => KCDatabase.Instance.MasterEquipments[(int)id].NameEN,
[_, EquipmentId id and > 0, ..] => KCDatabase.Instance.MasterEquipments[(int)id].NameEN,
_ => null,
};
public string? TouchAircraftEnemyDisplay => TouchAircraftEnemy switch
Expand All @@ -74,15 +74,15 @@ public class PhaseBaseAirRaid : PhaseBase

public string? Stage2Display { get; protected set; }

public List<int> PlayerTorpedoFlags { get; set; }
public List<int> PlayerBomberFlags { get; set; }
public List<AirHitType> PlayerHitFlags { get; set; }
public List<double> PlayerDamage { get; set; }
public List<int> PlayerTorpedoFlags { get; set; } = new();
public List<int> PlayerBomberFlags { get; set; } = new();
public List<AirHitType> PlayerHitFlags { get; set; } = new();
public List<double> PlayerDamage { get; set; } = new();

public List<int> EnemyTorpedoFlags { get; set; }
public List<int> EnemyBomberFlags { get; set; }
public List<AirHitType> EnemyHitFlags { get; set; }
public List<double> EnemyDamage { get; set; }
public List<int> EnemyTorpedoFlags { get; set; } = new();
public List<int> EnemyBomberFlags { get; set; } = new();
public List<AirHitType> EnemyHitFlags { get; set; } = new();
public List<double> EnemyDamage { get; set; } = new();

private List<BattleBaseAirCorpsSquadron> Squadrons { get; }

Expand Down

0 comments on commit 0c2b3de

Please sign in to comment.