[1.0.2.13] CIV5AIMilitaryStrategies: Ranged Bug

Barathor

Emperor
Joined
May 7, 2011
Messages
1,202
v 1.0.2.13

I was just messing around and running some more comparisons to see what was tweaked in the latest patch versus the one prior to it and I think I stumbled upon a silly bug within Civ5AIMilitaryStrategies.

Code:
		<Row>
			<AIMilitaryStrategyType>MILITARYAISTRATEGY_[COLOR="red"]NEED_RANGED[/COLOR]</AIMilitaryStrategyType>
			<FlavorType>FLAVOR_RANGED</FlavorType>
			<Flavor>[COLOR="Red"]-15[/COLOR]</Flavor>
		</Row>
		<Row>
			<AIMilitaryStrategyType>MILITARYAISTRATEGY_[COLOR="red"]ENOUGH_RANGED[/COLOR]</AIMilitaryStrategyType>
			<FlavorType>FLAVOR_RANGED</FlavorType>
			<Flavor>[COLOR="red"]15[/COLOR]</Flavor>
		</Row>

It looks like whoever was fixing the values of the "need" and "enough" strategies from the version before the patch, and correctly assigning negative values to the "enoughs", they accidentally mixed-up the ones for the Ranged flavor.
 
v 1.0.3.18

This bug still seems to be present in Brave New World.

Line 525 and 530 in CIV5AIMilitaryStrategies should be switched.
 
Back
Top Bottom