Add an upgrade rule
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ Player:
|
|||||||
PowerManager:
|
PowerManager:
|
||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
ActorGroupProxy:
|
|
||||||
DeveloperMode:
|
DeveloperMode:
|
||||||
BaseAttackNotifier:
|
BaseAttackNotifier:
|
||||||
Shroud:
|
Shroud:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ Player:
|
|||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
InsufficientFundsNotification: InsufficientFunds
|
InsufficientFundsNotification: InsufficientFunds
|
||||||
ActorGroupProxy:
|
|
||||||
DeveloperMode:
|
DeveloperMode:
|
||||||
GpsWatcher:
|
GpsWatcher:
|
||||||
Shroud:
|
Shroud:
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ Player:
|
|||||||
AllyRepair:
|
AllyRepair:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
InsufficientFundsNotification: InsufficientFunds
|
InsufficientFundsNotification: InsufficientFunds
|
||||||
ActorGroupProxy:
|
|
||||||
DeveloperMode:
|
DeveloperMode:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Shroud:
|
Shroud:
|
||||||
|
|||||||
Reference in New Issue
Block a user