Index: binaries/data/mods/public/simulation/components/Attack.js =================================================================== --- binaries/data/mods/public/simulation/components/Attack.js +++ binaries/data/mods/public/simulation/components/Attack.js @@ -674,7 +674,7 @@ let predictedHeight = cmpTargetPosition.GetHeightAt(predictedPosition.x, predictedPosition.z); // Add inaccuracy based on spread. - let distanceModifiedSpread = ApplyValueModificationsToEntity("Attack/" + type + "/Spread", +this.template[type].Projectile.Spread, this.entity) * + let distanceModifiedSpread = ApplyValueModificationsToEntity("Attack/" + type + "Projectile/Spread", +this.template[type].Projectile.Spread, this.entity) * predictedPosition.horizDistanceTo(selfPosition) / 100; let randNorm = randomNormal2D(); Index: binaries/data/mods/public/simulation/data/technologies/unit_advanced.json =================================================================== --- binaries/data/mods/public/simulation/data/technologies/unit_advanced.json +++ binaries/data/mods/public/simulation/data/technologies/unit_advanced.json @@ -7,7 +7,7 @@ { "value": "Attack/Melee/Damage/Hack", "multiply": 1.2, "affects": "Melee" }, { "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2, "affects": "Melee" }, { "value": "Attack/Melee/Damage/Crush", "multiply": 1.2, "affects": "Melee" }, - { "value": "Attack/Ranged/Spread", "multiply": 0.8, "affects": "Ranged" }, + { "value": "Attack/Ranged/Projectile/Spread", "multiply": 0.8, "affects": "Ranged" }, { "value": "Cost/BuildTime", "multiply": 1.2 }, { "value": "Health/Max", "multiply": 1.25 }, { "value": "Heal/Range", "add": 3, "affects": "Healer" }, Index: binaries/data/mods/public/simulation/data/technologies/unit_elite.json =================================================================== --- binaries/data/mods/public/simulation/data/technologies/unit_elite.json +++ binaries/data/mods/public/simulation/data/technologies/unit_elite.json @@ -7,7 +7,7 @@ { "value": "Attack/Melee/Damage/Hack", "multiply": 1.2, "affects": "Melee" }, { "value": "Attack/Melee/Damage/Pierce", "multiply": 1.2, "affects": "Melee" }, { "value": "Attack/Melee/Damage/Crush", "multiply": 1.2, "affects": "Melee" }, - { "value": "Attack/Ranged/Spread", "multiply": 0.8, "affects": "Ranged" }, + { "value": "Attack/Ranged/Projectile/Spread", "multiply": 0.8, "affects": "Ranged" }, { "value": "Cost/BuildTime", "multiply": 1.2 }, { "value": "Health/Max", "multiply": 1.25 }, { "value": "Heal/Range", "add": 3, "affects": "Healer" },