Adds UpgradeRule for AttackTesla -> AttackCharge.
This commit is contained in:
@@ -106,6 +106,19 @@ namespace OpenRA.Utility
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AttackTesla was replaced with AttackCharge
|
||||||
|
if (engineVersion < 20140307)
|
||||||
|
{
|
||||||
|
if (depth == 1 && parentKey == "World")
|
||||||
|
{
|
||||||
|
if (node.Key == "AttackTesla")
|
||||||
|
node.Key = "AttackCharge";
|
||||||
|
|
||||||
|
if (node.Key == "-AttackTesla")
|
||||||
|
node.Key = "-AttackCharge";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// AttackMove was generalized to support all moveable actor types
|
// AttackMove was generalized to support all moveable actor types
|
||||||
if (engineVersion < 20140116)
|
if (engineVersion < 20140116)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user