Skip to content

Commit 5bf853f

Browse files
committed
Saboteur can also sabotage low-altitude aircraft.
GitOrigin-RevId: cc0158585b2aaf13c32cf7af7e03aa82e96b99ef
1 parent 48eabf8 commit 5bf853f

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

athena/info/Unit.tsx

+15-12
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,19 @@ const SaboteurUnitAbilities = new UnitAbilities({
15721572
rescue: true,
15731573
sabotage: true,
15741574
});
1575+
const DefaultSabotageTypes = new Set([
1576+
EntityType.AirInfantry,
1577+
EntityType.Amphibious,
1578+
EntityType.Artillery,
1579+
EntityType.Building,
1580+
EntityType.Ground,
1581+
EntityType.Infantry,
1582+
EntityType.Invincible,
1583+
EntityType.LowAltitude,
1584+
EntityType.Rail,
1585+
EntityType.Ship,
1586+
EntityType.Structure,
1587+
]);
15751588

15761589
export const Pioneer = new UnitInfo(
15771590
UnitID.Pioneer,
@@ -2167,18 +2180,7 @@ export const Saboteur = new UnitInfo(
21672180
cost: 325,
21682181
fuel: 40,
21692182
radius: 6,
2170-
sabotageTypes: new Set([
2171-
EntityType.AirInfantry,
2172-
EntityType.Amphibious,
2173-
EntityType.Artillery,
2174-
EntityType.Building,
2175-
EntityType.Ground,
2176-
EntityType.Infantry,
2177-
EntityType.Invincible,
2178-
EntityType.Ship,
2179-
EntityType.Structure,
2180-
EntityType.Rail,
2181-
]),
2183+
sabotageTypes: DefaultSabotageTypes,
21822184
vision: 1,
21832185
},
21842186
SaboteurUnitAbilities,
@@ -3337,6 +3339,7 @@ export const Alien = new UnitInfo(
33373339
cost: Number.POSITIVE_INFINITY,
33383340
fuel: 20,
33393341
radius: 4,
3342+
sabotageTypes: DefaultSabotageTypes,
33403343
vision: 1,
33413344
},
33423345
SaboteurUnitAbilities,

0 commit comments

Comments
 (0)