diff --git a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs index 00b5a112f4..48570cf6ed 100644 --- a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs +++ b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs @@ -2168,6 +2168,10 @@ namespace OpenRA.Mods.Common.UtilityCommands var value = Exts.ParseIntegerInvariant(interval.Value.Value); interval.Value.Value = (value * 25).ToString(); } + + var chance = node.Value.Nodes.FirstOrDefault(n => n.Key == "WaterChance"); + if (chance != null) + ConvertFloatToIntPercentage(ref chance.Value.Value); } } diff --git a/mods/ra/maps/drop-zone-w/map.yaml b/mods/ra/maps/drop-zone-w/map.yaml index 2f0de1c019..13fc0a9e79 100644 --- a/mods/ra/maps/drop-zone-w/map.yaml +++ b/mods/ra/maps/drop-zone-w/map.yaml @@ -200,7 +200,7 @@ Rules: CrateSpawner: Maximum: 3 SpawnInterval: 125 - WaterChance: 1 + WaterChance: 100 CrateActors: unitcrate InitialSpawnDelay: 0 -SpawnMPUnits: diff --git a/mods/ra/rules/world.yaml b/mods/ra/rules/world.yaml index 49e8a63df1..ae2d4193fc 100644 --- a/mods/ra/rules/world.yaml +++ b/mods/ra/rules/world.yaml @@ -106,7 +106,7 @@ World: Minimum: 1 Maximum: 3 SpawnInterval: 3000 - WaterChance: .2 + WaterChance: 20 DomainIndex: SmudgeLayer@SCORCH: Type: Scorch