Upgrade rules for increasing HP and damage by 100x for the TS mod

This commit is contained in:
Arular101
2017-12-27 15:53:14 +01:00
committed by reaperrr
parent be89ce9efd
commit e734668f56

View File

@@ -1308,7 +1308,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
if (engineVersion < 20171212) if (engineVersion < 20171212)
{ {
var mod = modData.Manifest.Id; var mod = modData.Manifest.Id;
if (mod == "cnc" || mod == "ra" || mod == "d2k") if (mod == "cnc" || mod == "ra" || mod == "d2k" || mod == "ts")
{ {
if (node.Key == "HP" && parent.Key == "Health") if (node.Key == "HP" && parent.Key == "Health")
{ {
@@ -1754,7 +1754,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
if (engineVersion < 20171212) if (engineVersion < 20171212)
{ {
var mod = modData.Manifest.Id; var mod = modData.Manifest.Id;
if (mod == "cnc" || mod == "ra" || mod == "d2k") if (mod == "cnc" || mod == "ra" || mod == "d2k" || mod == "ts")
{ {
if (node.Key == "Damage" && (parent.Value.Value == "SpreadDamage" || parent.Value.Value == "TargetDamage")) if (node.Key == "Damage" && (parent.Value.Value == "SpreadDamage" || parent.Value.Value == "TargetDamage"))
{ {