Script Value
strength_ratio_for_garrison_sortie
save_temporary_value_asnameattacker_strength- =0
save_temporary_value_asnamedefender_strength- =
garrison_strength
- IfHas an ongoing battle
combatcombat_defendersave_temporary_value_asnamedefender_strength- =
- =
scope:defender_strength - +
combat_side_strength
- =
combat_attackersave_temporary_value_asnameattacker_strength- =
- =
scope:attacker_strength - +
combat_side_strength
- =
- Otherwise
siegesave_temporary_value_asnameattacker_strength- =
- =
scope:attacker_strength - +
besieger_strength
- =
- =
scope:defender_strength - ÷
- =
scope:attacker_strength - ≥0.01
- =
Scripting 1
Weighed by the AI in 1
Garrison SortieAi will do
save_temporary_value_as = {
name = attacker_strength
value = 0
}
save_temporary_value_as = {
name = defender_strength
value = garrison_strength
}