whoward69
DLL Minion
This looks like a bug in the AI strategy XML to me
MILITARYAISTRATEGY_NEED_RANGED_EARLY maps to IsTestStrategy_NeedRangedDueToEarlySneakAttack in the C++ code and that is commented as
so surely the strategy should be switched on at TECH_ARCHERY and not off, ie it should be
Any AI coding strategy experts out there with an opinion
Code:
<Row>
<Type>MILITARYAISTRATEGY_NEED_RANGED_EARLY</Type>
<CheckTriggerTurnCount>5</CheckTriggerTurnCount>
<NoMinorCivs>true</NoMinorCivs>
[B][COLOR="Red"]<TechObsolete>TECH_ARCHERY</TechObsolete>[/COLOR][/B]
<UpdateCitySpecializations>true</UpdateCitySpecializations>
</Row>
MILITARYAISTRATEGY_NEED_RANGED_EARLY maps to IsTestStrategy_NeedRangedDueToEarlySneakAttack in the C++ code and that is commented as
Code:
"Need Ranged Early" Player Strategy: If a player is planning a early sneak attack
we need to make sure that ranged are built since this will block this
Code:
<Row>
<Type>MILITARYAISTRATEGY_NEED_RANGED_EARLY</Type>
<CheckTriggerTurnCount>5</CheckTriggerTurnCount>
<NoMinorCivs>true</NoMinorCivs>
[COLOR="Green"][B]<TechPrereq>TECH_ARCHERY</TechPrereq>[/B][/COLOR]
<UpdateCitySpecializations>true</UpdateCitySpecializations>
</Row>
Any AI coding strategy experts out there with an opinion