Combat bonus vs. unit class?

Tomice

Passionate Smart-Ass
Joined
Oct 5, 2009
Messages
2,366
Location
Austria, EU, no kangaroos ;)
Can anyone please tell me where the bonus of anti-cav vs. cav and similar bonuses are defined?
I only found this in GlobalParameters.xml:

<Replace Name="COMBAT_RANGED_VS_DISTRICT_STRENGTH_MODIFIER" Value="17" />
<Replace Name="COMBAT_BOMBARD_VS_UNIT_STRENGTH_MODIFIER" Value="17" />
 
Nevermind, it's in UnitAbilities.xml

<Row>
<ModifierId>ANTI_SPEAR</ModifierId>
<Name>Amount</Name>
<Value>10</Value>
</Row>

<Row>
<ModifierId>ANTI_CAVALRY_COMBAT_BONUS</ModifierId>
<Name>Amount</Name>
<Value>10</Value>
</Row>

Searched for half an hour - It was clear I'd find it a minute after posting :crazyeye::lol:
Sorry for bothering you!
 
Back
Top Bottom