From b71b2ad5231f47bfd530168e86941ae7c401ba1c Mon Sep 17 00:00:00 2001 From: Arular101 Date: Tue, 12 Dec 2017 20:57:50 +0100 Subject: [PATCH] Upgrade rules for increasing HP and damage by 100x for the TD mod --- OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs index 36a817efa8..59754c3a43 100644 --- a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs +++ b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs @@ -1301,11 +1301,11 @@ namespace OpenRA.Mods.Common.UtilityCommands } } - // Multiply all health and damage in the RA mod by 100 to avoid issues caused by rounding + // Multiply all health and damage in the TD and RA mod by 100 to avoid issues caused by rounding if (engineVersion < 20171212) { var mod = modData.Manifest.Id; - if (mod == "ra") + if (mod == "cnc" || mod == "ra") { if (node.Key == "HP" && parent.Key == "Health") { @@ -1517,11 +1517,11 @@ namespace OpenRA.Mods.Common.UtilityCommands if (node.Key == "BurstDelay") node.Key = "BurstDelays"; - // Multiply all health and damage in the RA mod by 100 to avoid issues caused by rounding + // Multiply all health and damage in the TD and RA mod by 100 to avoid issues caused by rounding if (engineVersion < 20171212) { var mod = modData.Manifest.Id; - if (mod == "ra") + if (mod == "cnc" || mod == "ra") { if (node.Key == "Damage" && (parent.Value.Value == "SpreadDamage" || parent.Value.Value == "TargetDamage")) {