守军出击
行动

守军出击

garrison_sortiein_game/common/generic_actions/siege.txt:1

使用驻守在要塞中的守军进攻攻城部队。
如果战斗失败,围攻也将立即以要塞沦陷告终。

定义in_game/common/generic_actions/siege.txt:1

2type = owncountry
4select_trigger = {
5looking_for_a = siege
6source = actor
7source_flags = only_defending_sieges
8target_flag = target
9enabled = {
10location ?= {
11garrison_percentage > 0.5
}
}
}
17ai_tick = daily
18ai_tick_frequency = 35
20automation_tick = daily
21automation_tick_frequency = 20
23effect = {
24if = {
25limit = {
26exists = scope:target
}
28scope:target = {
29garrison_sortie = {
}
}
}
}
34ai_will_do = {
35scope:target = {
36location ?= {
37add = {
38if = {
40limit = {
41has_combat = yes
42strength_ratio_for_garrison_sortie > 1.0
43strength_ratio_for_garrison_sortie < 2.0
}
45add = 50
}
}
48add = {
50if = {
51limit = {
52has_combat = no
53strength_ratio_for_garrison_sortie > 5.0
}
55add = {
56value = strength_ratio_for_garrison_sortie
57multiply = 20
}
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明