Add an upgrade rule

This commit is contained in:
abcdefg30
2016-10-15 18:14:24 +02:00
committed by reaperrr
parent 5e923ff091
commit 880f90345e
5 changed files with 4 additions and 4 deletions

View File

@@ -578,6 +578,10 @@ namespace OpenRA.Mods.Common.UtilityCommands
if (node.Key.StartsWith("UncloakOn", StringComparison.Ordinal)) if (node.Key.StartsWith("UncloakOn", StringComparison.Ordinal))
node.Value.Value = node.Value.Value.Replace("Damage", "Damage, Heal, SelfHeal"); node.Value.Value = node.Value.Value.Replace("Damage", "Damage, Heal, SelfHeal");
// Removed dead ActorGroupProxy trait
if (engineVersion < 20170318)
node.Value.Nodes.RemoveAll(n => n.Key == "ActorGroupProxy");
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1); UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
} }

View File

@@ -9,7 +9,6 @@ Player:
PowerManager: PowerManager:
AllyRepair: AllyRepair:
PlayerResources: PlayerResources:
ActorGroupProxy:
DeveloperMode: DeveloperMode:
BaseAttackNotifier: BaseAttackNotifier:
Shroud: Shroud:

View File

@@ -62,7 +62,6 @@ Player:
PlayerResources: PlayerResources:
SelectableCash: 2500, 5000, 7000, 10000, 20000 SelectableCash: 2500, 5000, 7000, 10000, 20000
InsufficientFundsNotification: InsufficientFunds InsufficientFundsNotification: InsufficientFunds
ActorGroupProxy:
DeveloperMode: DeveloperMode:
BaseAttackNotifier: BaseAttackNotifier:
Shroud: Shroud:

View File

@@ -41,7 +41,6 @@ Player:
AllyRepair: AllyRepair:
PlayerResources: PlayerResources:
InsufficientFundsNotification: InsufficientFunds InsufficientFundsNotification: InsufficientFunds
ActorGroupProxy:
DeveloperMode: DeveloperMode:
GpsWatcher: GpsWatcher:
Shroud: Shroud:

View File

@@ -41,7 +41,6 @@ Player:
AllyRepair: AllyRepair:
PlayerResources: PlayerResources:
InsufficientFundsNotification: InsufficientFunds InsufficientFundsNotification: InsufficientFunds
ActorGroupProxy:
DeveloperMode: DeveloperMode:
Enabled: true Enabled: true
Shroud: Shroud: