From de4adca0f0cf42c8feaa8471d73333f8f74325b8 Mon Sep 17 00:00:00 2001 From: Mythos_Ruler Date: Sat, 8 Dec 2012 18:21:11 +0000 Subject: [PATCH] Heroes only trainable in City Phase. This was SVN commit r12958. --- .../technologies/hellenes/civbonus_athen_delian_league.json | 3 --- .../mods/public/simulation/templates/template_unit_hero.xml | 1 + .../public/simulation/templates/template_unit_hero_cavalry.xml | 1 + .../simulation/templates/template_unit_hero_cavalry_archer.xml | 1 + .../templates/template_unit_hero_cavalry_javelinist.xml | 1 + .../templates/template_unit_hero_cavalry_spearman.xml | 1 + .../templates/template_unit_hero_cavalry_swordsman.xml | 1 + .../simulation/templates/template_unit_hero_infantry.xml | 1 + .../templates/template_unit_hero_infantry_archer.xml | 1 + .../templates/template_unit_hero_infantry_javelinist.xml | 1 + .../templates/template_unit_hero_infantry_pikeman.xml | 3 ++- .../templates/template_unit_hero_infantry_spearman.xml | 1 + .../templates/template_unit_hero_infantry_swordsman.xml | 1 + .../public/simulation/templates/template_unit_hero_ranged.xml | 1 + 14 files changed, 14 insertions(+), 4 deletions(-) diff --git a/binaries/data/mods/public/simulation/data/technologies/hellenes/civbonus_athen_delian_league.json b/binaries/data/mods/public/simulation/data/technologies/hellenes/civbonus_athen_delian_league.json index 336ee1fcb8..6e51347d2e 100644 --- a/binaries/data/mods/public/simulation/data/technologies/hellenes/civbonus_athen_delian_league.json +++ b/binaries/data/mods/public/simulation/data/technologies/hellenes/civbonus_athen_delian_league.json @@ -1,8 +1,5 @@ { "genericName": "Delian League", - "specificName": { - "maur": "Delian League" - }, "autoResearch": true, "description": "Shortly after the great naval victories at Salamis and Mycale, the Greek city-states instituted the so-called Delian League in 478 BC, whose purpose was to push the Persians out of the Aegean region. The allied states contributed ships and money, while the Athenians offered their entire navy.", "requirements": {"civ": "athen"}, diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero.xml index 5e312d2201..960c1abaf9 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero.xml @@ -36,6 +36,7 @@ Hero Hero Organic + phase_city 400 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry.xml index c0d5bdf571..cdfe74f058 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry.xml @@ -40,6 +40,7 @@ Hero Cavalry Hero Cavalry + phase_city 500 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml index eb194c7547..b0aa31aec2 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml @@ -49,6 +49,7 @@ Hero Cavalry Archer Hero Aura: n/a. Ranged attack 2x vs. spearmen. Ranged attack 1.5x vs. Swordsmen. + phase_city 450 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_javelinist.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_javelinist.xml index a3d3b4c940..93b5c438db 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_javelinist.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_javelinist.xml @@ -39,6 +39,7 @@ Hero Hero Cavalry Skirmisher + phase_city 450 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml index 8c9e4459d0..e3d71e28a4 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_spearman.xml @@ -64,6 +64,7 @@ Melee Spear Hero Cavalry Spearman + phase_city 500 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml index f8105218e4..9a72ee26e2 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml @@ -51,5 +51,6 @@ Sword Hero Cavalry Swordsman + phase_city diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry.xml index c1d592fd20..ec8cc7dbbf 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry.xml @@ -38,6 +38,7 @@ Hero Infantry Hero + phase_city 400 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml index 6fc76b5ff6..4b39f5489e 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml @@ -41,6 +41,7 @@ Hero Hero Archer. Counters Swordsmen and Cavalry Spearmen. Countered by Skirmishers and other Cavalry types. + phase_city 350 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_javelinist.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_javelinist.xml index 5b9b98d582..c4e2784b27 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_javelinist.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_javelinist.xml @@ -45,6 +45,7 @@ Hero Hero Skirmisher + phase_city 350 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml index d015b1fe75..b09e5ae336 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml @@ -31,8 +31,9 @@ - Melee Spear + Melee Spear Pike Hero Pikeman + phase_city 10 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman.xml index 8de3eb6887..c2e7766415 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_spearman.xml @@ -26,6 +26,7 @@ Melee Spear Hero Spearman + phase_city 10 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml index 548441b41c..95e3e44713 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml @@ -51,6 +51,7 @@ Melee Sword Hero Swordsman + phase_city diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_ranged.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_ranged.xml index 20e93fb1fb..87d392229b 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_ranged.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_ranged.xml @@ -31,6 +31,7 @@ Hero Hero Infantry Ranged + phase_city 200