Only send the heavy tank on the last wave, this is the first mission after all
This commit is contained in:
@@ -54,7 +54,8 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
|
|
||||||
private static readonly string[] ships = { "ca", "ca", "ca", "ca" };
|
private static readonly string[] ships = { "ca", "ca", "ca", "ca" };
|
||||||
|
|
||||||
private static readonly string[] attackWave = { "e1", "e1", "e1", "e1", "e2", "e2", "e2", "e2", "dog", "3tnk" };
|
private static readonly string[] attackWave = { "e1", "e1", "e1", "e1", "e2", "e2", "e2", "e2", "dog" };
|
||||||
|
private static readonly string[] lastAttackWaveAddition = { "3tnk" };
|
||||||
private int currentAttackWaveFrameNumber;
|
private int currentAttackWaveFrameNumber;
|
||||||
private int currentAttackWave;
|
private int currentAttackWave;
|
||||||
private const int einsteinChinookArrivesAtAttackWave = 5;
|
private const int einsteinChinookArrivesAtAttackWave = 5;
|
||||||
@@ -150,6 +151,7 @@ namespace OpenRA.Mods.RA.Missions
|
|||||||
currentAttackWaveFrameNumber = self.World.FrameNumber;
|
currentAttackWaveFrameNumber = self.World.FrameNumber;
|
||||||
if (currentAttackWave == einsteinChinookArrivesAtAttackWave)
|
if (currentAttackWave == einsteinChinookArrivesAtAttackWave)
|
||||||
{
|
{
|
||||||
|
SendAttackWave(self, lastAttackWaveAddition);
|
||||||
FlyEinsteinFromExtractionLZ(self);
|
FlyEinsteinFromExtractionLZ(self);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user