
Originally Posted by
soulson
Im trying to understand the AI and their decisions regarding who to attack. The danes don't border me and in the ai_db I have reduced invade priority for non_neighbors with decent relations. The entry shows an IP of -401 but they still attacked. How is this possible?
18:42:51.642 [ai.ltgd] [info] <4> military: frontline_balance 1, military_balance 1.06569, military_balance_plus_enemies 1.06569, alliance_military_balance 1.06569, free_strength_balance 0.789734
18:42:51.642 [ai.ltgd] [info] <4> faction standing: faction_standing -0.0508958, target_faction_standing 0.0356732, global_standing 0.00123756, target_global_standing 0.014572
18:42:51.642 [ai.ltgd] [info] <4> diplomacy: stance Neutral, num_enemies 0, target_num_enemies 0, has_alliance_against 0, num_turns_allied 0, num_turns_ceasefire -1
18:42:51.642 [ai.ltgd] [info] <4> trusted_allies: trusted_ally 0, trusted_ally_enemy 0, trusted_ally_protectorate 0
18:42:51.642 [ai.ltgd] [info] <4> protectorate: is_protectorate 0, is_protectorate_of_catholic 0
18:42:51.643 [ai.ltgd] [info] <4> papal: excommunicated 0, enemy_excommunicated 0, has_ceasehostilities 0
18:42:51.643 [ai.ltgd] [info] <4> neighbour: is_neighbour 0, target_weakest_neighbour 0, strongest_neighbour 0, borders_all_our_regions 0
18:42:51.643 [ai.ltgd] [info] <4> win conditions: is_faction_to_outlive_target 0, is_target_faction_to_outlive 0
18:42:51.643 [ai.ltgd] [info] <4> misc: production_balance 0.98713, target_religion 0, target_faction poland, num_settlements 5
18:42:51.643 [ai.ltgd] [info] <4> rand 0.746269, difficulty very_hard, turn_number 5
18:42:51.643 [ai.ltgd] [info] <4> most_desirable 0, target_human 1, target_is_shadow 0
18:42:51.643 [ai.ltgd] [info] <4> LTGD: (catholic) invade decision: invade = invade_buildup, invade_priority = -401, want_offer_protect = 0, alliance_against = 0, can_force_invade = 1