Originally posted by Blaupanzer
Worth downloading? Of course it's worth downloading! Dates would help us know if we are up to date.
Worth downloading? Of course it's worth downloading! Dates would help us know if we are up to date.
void CvCityAI::AI_chooseProduction()
if (AI_chooseUnit(UNITAI_ATTACK_SEA)) { return; } if (AI_chooseUnit(UNITAI_PIRATE_SEA)) { return; } if (AI_chooseUnit(UNITAI_RESERVE_SEA)) { return; }
if (kPlayer.AI_getNumAIUnits(UNITAI_ATTACK_SEA) + kPlayer.AI_getNumAIUnits(UNITAI_PIRATE_SEA) + kPlayer.AI_getNumAIUnits(UNITAI_RESERVE_SEA) < (kPlayer.AI_getWaterDanger(plot(), 4) * 3)) { if (AI_chooseUnit(UNITAI_ATTACK_SEA)) { return; } if (AI_chooseUnit(UNITAI_PIRATE_SEA)) { return; } if (AI_chooseUnit(UNITAI_RESERVE_SEA)) { return; } }
Comment