From 6b7dfb005e13d1dc5c414289e10e681f38019e36 Mon Sep 17 00:00:00 2001 From: real_tabasco_sauce Date: Sat, 21 Dec 2024 13:10:33 -0800 Subject: [PATCH] Balance non-random arrows -Increase default arrow firepower for buildings, decrease garrisoned firepower. -Add a 20% building damage by by phase. -Give the fortress a minimum range. -Allow murder holes to be researched from the fort. -Sentries uses a multiplicative bonus instead of adding 1 arrow. -adds a new tech to the fort to increase its default arrows by 6. --- .../data/technologies/phase_city_athen.json | 3 ++- .../data/technologies/phase_city_generic.json | 3 ++- .../data/technologies/phase_city_pers.json | 3 ++- .../data/technologies/phase_town_athen.json | 3 ++- .../data/technologies/phase_town_generic.json | 3 ++- .../data/technologies/phase_town_pers.json | 3 ++- .../data/technologies/tower_garrison.json | 16 ++++++++++++++++ .../data/technologies/tower_health.json | 3 +-- .../data/technologies/tower_murderholes.json | 6 +++--- .../data/technologies/tower_watch.json | 4 ++-- .../structures/han/defense_tower_great.xml | 4 ++-- .../templates/structures/iber/defense_tower.xml | 2 +- .../template_structure_civic_civil_centre.xml | 12 ++++++------ .../template_structure_defensive_tower.xml | 10 +++++----- ...template_structure_defensive_tower_sentry.xml | 2 +- .../template_structure_defensive_tower_stone.xml | 3 +++ .../template_structure_military_fortress.xml | 11 +++++++---- 17 files changed, 59 insertions(+), 32 deletions(-) create mode 100644 binaries/data/mods/public/simulation/data/technologies/tower_garrison.json diff --git a/binaries/data/mods/public/simulation/data/technologies/phase_city_athen.json b/binaries/data/mods/public/simulation/data/technologies/phase_city_athen.json index 791d17c29b..f485766d8f 100644 --- a/binaries/data/mods/public/simulation/data/technologies/phase_city_athen.json +++ b/binaries/data/mods/public/simulation/data/technologies/phase_city_athen.json @@ -19,10 +19,11 @@ "replaces": ["phase_city"], "icon": "city_phase.png", "researchTime": 60, - "tooltip": "Advance to City Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +1 capture points regeneration rate for garrisoned units. Workers +10% metal gather rate.", + "tooltip": "Advance to City Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +20% damage and +1 capture points regeneration rate for garrisoned units. Workers +10% metal gather rate.", "modifications": [ { "value": "Capturable/GarrisonRegenRate", "add": 1, "affects": "Structure" }, { "value": "ResourceGatherer/Rates/metal.ore", "multiply": 1.1, "affects": "Worker" }, + { "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2, "affects": "Structure" }, { "value": "TerritoryInfluence/Radius", "multiply": 1.25, "affects": "CivCentre" } ], "soundComplete": "interface/alarm/alarm_phase.xml" diff --git a/binaries/data/mods/public/simulation/data/technologies/phase_city_generic.json b/binaries/data/mods/public/simulation/data/technologies/phase_city_generic.json index 38a378c4e0..2cfec6a0f1 100644 --- a/binaries/data/mods/public/simulation/data/technologies/phase_city_generic.json +++ b/binaries/data/mods/public/simulation/data/technologies/phase_city_generic.json @@ -30,9 +30,10 @@ "replaces": ["phase_city"], "icon": "city_phase.png", "researchTime": 60, - "tooltip": "Advance to City Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +1 capture points regeneration rate for garrisoned units.", + "tooltip": "Advance to City Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +20% damage and +1 capture points regeneration rate for garrisoned units.", "modifications": [ { "value": "Capturable/GarrisonRegenRate", "add": 1, "affects": "Structure" }, + { "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2, "affects": "Structure" }, { "value": "TerritoryInfluence/Radius", "multiply": 1.25, "affects": "CivCentre" } ], "soundComplete": "interface/alarm/alarm_phase.xml" diff --git a/binaries/data/mods/public/simulation/data/technologies/phase_city_pers.json b/binaries/data/mods/public/simulation/data/technologies/phase_city_pers.json index fd6378ea62..3190f939c9 100644 --- a/binaries/data/mods/public/simulation/data/technologies/phase_city_pers.json +++ b/binaries/data/mods/public/simulation/data/technologies/phase_city_pers.json @@ -17,10 +17,11 @@ "replaces": ["phase_city"], "icon": "city_phase.png", "researchTime": 60, - "tooltip": "Advance to City Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +1 capture points regeneration rate for garrisoned units. Decrease batch training time of units trained in Stables.", + "tooltip": "Advance to City Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +20% damage and +1 capture points regeneration rate for garrisoned units. Decrease batch training time of units trained in Stables.", "modifications": [ { "value": "Capturable/GarrisonRegenRate", "add": 1, "affects": "Structure" }, { "value": "Trainer/BatchTimeModifier", "add": -0.1, "affects": "Stable" }, + { "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2, "affects": "Structure" }, { "value": "TerritoryInfluence/Radius", "multiply": 1.25, "affects": "CivCentre" } ], "soundComplete": "interface/alarm/alarm_phase.xml" diff --git a/binaries/data/mods/public/simulation/data/technologies/phase_town_athen.json b/binaries/data/mods/public/simulation/data/technologies/phase_town_athen.json index 143a4aef6e..d5a8212569 100644 --- a/binaries/data/mods/public/simulation/data/technologies/phase_town_athen.json +++ b/binaries/data/mods/public/simulation/data/technologies/phase_town_athen.json @@ -19,10 +19,11 @@ "replaces": ["phase_town"], "icon": "town_phase.png", "researchTime": 30, - "tooltip": "Advance to Town Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +0.5 capture points regeneration rate for garrisoned units. Workers +10% metal gather rate.", + "tooltip": "Advance to Town Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +20% damage and +0.5 capture points regeneration rate for garrisoned units. Workers +10% metal gather rate.", "modifications": [ { "value": "Capturable/GarrisonRegenRate", "add": 0.5, "affects": "Structure" }, { "value": "ResourceGatherer/Rates/metal.ore", "multiply": 1.1, "affects": "Worker" }, + { "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2, "affects": "Structure" }, { "value": "TerritoryInfluence/Radius", "multiply": 1.25, "affects": "CivCentre" } ], "soundComplete": "interface/alarm/alarm_phase.xml" diff --git a/binaries/data/mods/public/simulation/data/technologies/phase_town_generic.json b/binaries/data/mods/public/simulation/data/technologies/phase_town_generic.json index 8fb9aa1dbe..e3d0377412 100644 --- a/binaries/data/mods/public/simulation/data/technologies/phase_town_generic.json +++ b/binaries/data/mods/public/simulation/data/technologies/phase_town_generic.json @@ -30,9 +30,10 @@ "replaces": ["phase_town"], "icon": "town_phase.png", "researchTime": 30, - "tooltip": "Advance to Town Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +0.5 capture points regeneration rate for garrisoned units.", + "tooltip": "Advance to Town Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +20% damage and +0.5 capture points regeneration rate for garrisoned units.", "modifications": [ { "value": "Capturable/GarrisonRegenRate", "add": 0.5, "affects": "Structure" }, + { "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2, "affects": "Structure" }, { "value": "TerritoryInfluence/Radius", "multiply": 1.25, "affects": "CivCentre" } ], "soundComplete": "interface/alarm/alarm_phase.xml" diff --git a/binaries/data/mods/public/simulation/data/technologies/phase_town_pers.json b/binaries/data/mods/public/simulation/data/technologies/phase_town_pers.json index 36d6dca918..0241b8ab43 100644 --- a/binaries/data/mods/public/simulation/data/technologies/phase_town_pers.json +++ b/binaries/data/mods/public/simulation/data/technologies/phase_town_pers.json @@ -17,10 +17,11 @@ "replaces": ["phase_town"], "icon": "town_phase.png", "researchTime": 30, - "tooltip": "Advance to Town Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +0.5 capture points regeneration rate for garrisoned units. Decrease batch training time of units trained in Stables.", + "tooltip": "Advance to Town Phase, which unlocks more entities and technologies. Civic Centers +25% territory influence radius. Structures +20% damage and +0.5 capture points regeneration rate for garrisoned units. Decrease batch training time of units trained in Stables.", "modifications": [ { "value": "Capturable/GarrisonRegenRate", "add": 0.5, "affects": "Structure" }, { "value": "Trainer/BatchTimeModifier", "add": -0.1, "affects": "Stable" }, + { "value": "Attack/Ranged/Damage/Pierce", "multiply": 1.2, "affects": "Structure" }, { "value": "TerritoryInfluence/Radius", "multiply": 1.25, "affects": "CivCentre" } ], "soundComplete": "interface/alarm/alarm_phase.xml" diff --git a/binaries/data/mods/public/simulation/data/technologies/tower_garrison.json b/binaries/data/mods/public/simulation/data/technologies/tower_garrison.json new file mode 100644 index 0000000000..9ccce87ad0 --- /dev/null +++ b/binaries/data/mods/public/simulation/data/technologies/tower_garrison.json @@ -0,0 +1,16 @@ +{ + "genericName": "Professional Garrisons", + "description": "Hire soldiers to hold defenses against enemies.", + "cost": { + "food": 400, + "metal": 200 + }, + "icon": "coinage.png", + "researchTime": 50, + "tooltip": "Fortresses +6 default arrows.", + "modifications": [ + { "value": "BuildingAI/DefaultArrowCount", "add": 6, "affects": "Fortress" } + ], + "affects": ["Fortress"], + "soundComplete": "interface/alarm/alarm_upgradearmory.xml" +} \ No newline at end of file diff --git a/binaries/data/mods/public/simulation/data/technologies/tower_health.json b/binaries/data/mods/public/simulation/data/technologies/tower_health.json index 0d1b7a0bf8..37ad967ffa 100644 --- a/binaries/data/mods/public/simulation/data/technologies/tower_health.json +++ b/binaries/data/mods/public/simulation/data/technologies/tower_health.json @@ -2,9 +2,8 @@ "genericName": "Sturdy Foundations", "description": "Reinforce the foundations in preparation of an attack.", "cost": { - "wood": 500, "stone": 500, - "metal": 500 + "metal": 100 }, "requirements": { "tech": "phase_city" }, "requirementsTooltip": "Unlocked in City Phase.", diff --git a/binaries/data/mods/public/simulation/data/technologies/tower_murderholes.json b/binaries/data/mods/public/simulation/data/technologies/tower_murderholes.json index 9a4175f586..1c21d88a7d 100644 --- a/binaries/data/mods/public/simulation/data/technologies/tower_murderholes.json +++ b/binaries/data/mods/public/simulation/data/technologies/tower_murderholes.json @@ -3,16 +3,16 @@ "description": "Murder holes allow hitting enemies at the foot of the tower.", "cost": { "wood": 250, - "stone": 100 + "stone": 150 }, "requirements": { "tech": "phase_city" }, "requirementsTooltip": "Unlocked in City Phase.", "icon": "murder_holes.png", "researchTime": 40, - "tooltip": "Sentry and Stone Towers have 0 minimum attack range.", + "tooltip": "Fortresses, Sentry Towers, and Stone Towers have 0 minimum attack range.", "modifications": [ { "value": "Attack/Ranged/MinRange", "replace": 0 } ], - "affects": ["SentryTower", "StoneTower", "GreatTower"], + "affects": ["SentryTower", "StoneTower", "GreatTower","Fortress"], "soundComplete": "interface/alarm/alarm_upgradearmory.xml" } diff --git a/binaries/data/mods/public/simulation/data/technologies/tower_watch.json b/binaries/data/mods/public/simulation/data/technologies/tower_watch.json index cd16ffdf62..1806d67d01 100644 --- a/binaries/data/mods/public/simulation/data/technologies/tower_watch.json +++ b/binaries/data/mods/public/simulation/data/technologies/tower_watch.json @@ -17,9 +17,9 @@ "requirementsTooltip": "Unlocked in Village Phase.", "icon": "helmet_corinthian_bronze.png", "researchTime": 40, - "tooltip": "Sentry and Stone Towers +1 default arrow count.", + "tooltip": "Sentry and Stone Towers +50% default arrow count.", "modifications": [ - { "value": "BuildingAI/DefaultArrowCount", "add": 1 } + { "value": "BuildingAI/DefaultArrowCount", "multiply": 1.5 } ], "affects": ["SentryTower", "StoneTower", "GreatTower"], "soundComplete": "interface/alarm/alarm_upgradearmory.xml" diff --git a/binaries/data/mods/public/simulation/templates/structures/han/defense_tower_great.xml b/binaries/data/mods/public/simulation/templates/structures/han/defense_tower_great.xml index 52dc60fae1..54a6e296b4 100644 --- a/binaries/data/mods/public/simulation/templates/structures/han/defense_tower_great.xml +++ b/binaries/data/mods/public/simulation/templates/structures/han/defense_tower_great.xml @@ -11,8 +11,8 @@ - 2 - 10 + 2 + 12 GreatTower diff --git a/binaries/data/mods/public/simulation/templates/structures/iber/defense_tower.xml b/binaries/data/mods/public/simulation/templates/structures/iber/defense_tower.xml index 603c30d7d9..af4f82688b 100644 --- a/binaries/data/mods/public/simulation/templates/structures/iber/defense_tower.xml +++ b/binaries/data/mods/public/simulation/templates/structures/iber/defense_tower.xml @@ -6,7 +6,7 @@ - 2 + 1 200 diff --git a/binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml b/binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml index 7bcec5bc21..f612ee00cd 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_civic_civil_centre.xml @@ -10,17 +10,17 @@ Bow - 10 + 8 60 - 1200 - 2000 + 400 + 4000 100 - 1.5 + 2 50 false - + Human @@ -39,7 +39,7 @@ - 3 + 6 1 Soldier diff --git a/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower.xml b/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower.xml index fe703aaca3..86a985dc9b 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower.xml @@ -4,15 +4,15 @@ Bow - 11 + 8 60 10 - 1200 - 2000 + 400 + 3500 100 - 1.5 + 1.0 50 false @@ -26,7 +26,7 @@ - 1 + 2 1 Infantry diff --git a/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_sentry.xml b/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_sentry.xml index 606790af56..daebf71f14 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_sentry.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_sentry.xml @@ -10,7 +10,7 @@ - 4 + 6 40 diff --git a/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_stone.xml b/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_stone.xml index 2b26e1d372..07406cacf6 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_stone.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_defensive_tower_stone.xml @@ -9,6 +9,9 @@ + + 2 + 150 diff --git a/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml b/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml index 10afac6094..cde24c4d1d 100644 --- a/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml +++ b/binaries/data/mods/public/simulation/templates/template_structure_military_fortress.xml @@ -7,11 +7,12 @@ 10 60 - 1200 - 2000 + 10 + 400 + 3500 100 - 1.5 + 2.0 50 false @@ -32,7 +33,7 @@ - 4 + 10 1 Soldier @@ -83,6 +84,8 @@ attack_soldiers_will + tower_murderholes + tower_garrison art_of_war poison_arrows poison_blades