Home
last modified time | relevance | path

Searched refs:combatDiff (Results 1 – 1 of 1) sorted by relevance

/dports/games/7kaa/7kaa-2.15.4p1/src/
H A DOF_CAMP2.cpp382 int combatDiff; in think_recruit() local
386 combatDiff = 1000; in think_recruit()
390 combatDiff = 1000; // recruit as many as possible in think_recruit()
396 combatDiff = combatLevelNeeded - total_combat_level(); in think_recruit()
399 if( combatDiff > 0 ) in think_recruit()
401 ai_recruit(combatDiff); in think_recruit()
800 int combatDiff = defenseCombatLevel * (150+nationPtr->pref_force_projection/2) / 100 in ai_capture_independent_town() local
803 if( combatDiff > 0 ) in ai_capture_independent_town()
805 …if( ai_recruit(combatDiff) ) // try to recruit new soldiers to increase the combat ability of … in ai_capture_independent_town()
809 combatDiff = defenseCombatLevel * (200-nationPtr->pref_military_courage/2) / 100 in ai_capture_independent_town()