Doubled up entry in improvements.xml

Why some city hubs have duplicated entries, is it a trick or a leftover?:

 

<GameModifier>
<ModType>CityDefenseSummon</ModType>
<Attribute>SummonUnitByClass</Attribute>
<Value>1</Value>
<Provides>+1 City Archer Party</Provides>
<UnitClass>CityArcher_Party</UnitClass>
</GameModifier>
<GameModifier>
<ModType>CityDefenseSummon</ModType>
<Attribute>SummonUnitByClass</Attribute>
<Value>1</Value>
<Provides>+1 City Archer Party</Provides>
<UnitClass>CityArcher_Party</UnitClass>
</GameModifier>

2,812 views 3 replies
Reply #1 Top

I think it's just a copy paste thing, and it's the "hard way" of summoning a city archer party twice.

Reply #2 Top

Because the function is bugged and you can't summon more than one from one modifier. Easier to copy xml than fix function.

Reply #3 Top

Not sure I get your explanation HF, we got that too

 

<GameModifier>
<ModType>CityDefenseSummon</ModType>
<Attribute>SummonUnitByClass</Attribute>
<Value>2</Value>
<Provides>+2 City Archer Party's</Provides>
<UnitClass>CityArcher_Party</UnitClass>
</GameModifier>

 

In some others buildings, are you saying that only 1 of the 2 requested archers will pop up?