钢铁雄心4吧 关注:470,508贴子:8,583,651
  • 8回复贴,共1

来帮我看看。波兰怎么样才能吞南斯拉夫

只看楼主收藏回复

country_event = {
id = NSB_poland_monarchist_events.6
title = NSB_poland_monarchist_events.6.t
desc = NSB_poland_monarchist_events.6.desc
picture = GFX_report_event_poland_rejects
is_triggered_only = yes
fire_only_once = yes
option = { #Sure!
name = NSB_poland_monarchist_events.6.a
ai_chance = {
base = 30
modifier = {
add = -25
POL = { has_army_size = { size < 40 } }
}
modifier = {
add = -25
strength_ratio = {
tag = POL
ratio < 0.75
} #They can't beat me up
}
modifier = {
add = 100
strength_ratio = {
tag = POL
ratio > 1.5
} #They can beat me up
}
modifier = {
add = 20
is_in_faction_with = POL
}
modifier = {
factor = 0.1
is_in_faction = yes
}
}
POL = {
country_event = { hours = 2 id = NSB_poland_monarchist_events.601 }
}
custom_effect_tooltip = GAME_OVER_TT
}
option = { #No thank you
name = NSB_poland_monarchist_events.6.b
ai_chance = {
base = 10
modifier = {
POL = { has_army_size = { size > 39 } }
factor = 0.5
}
modifier = {
add = 20
POL = { has_army_size = { size < 30 } }
}
modifier = {
factor = 2
strength_ratio = {
tag = POL
ratio < 0.75
} #They can't beat me up
}
modifier = {
factor = 2
is_in_faction = yes
NOT = { is_in_faction_with = POL }
}
modifier = {
any_other_country = {
has_guaranteed = YUG
}
factor = 5 #i've got friends
}
modifier = {
any_other_country = {
is_major = yes
has_guaranteed = YUG
}
factor = 5 #i've got big friends
}
}
POL = {
add_opinion_modifier = { target = PREV modifier = POL_annexation_refused }
country_event = { hours = 2 id = NSB_poland_monarchist_events.602 }
if = { limit = { is_in_faction_with = YUG }
remove_from_faction = YUG
}
}
}
}


IP属地:广东1楼2022-06-08 10:40回复
    annex 南斯拉夫的代码


    IP属地:湖南2楼2022-06-08 10:44
    回复
      2026-01-16 03:38:17
      广告
      不感兴趣
      开通SVIP免广告
      AI同意的基础权重为30
      波兰小于40个师时-25
      双方实力比小于0.75时-25
      实力比大于1.5时+100
      同阵营+20
      处于阵营中时*0.1
      拒绝的基础权重10
      波兰师数大于39时乘0.5
      波兰师数小于30时+20
      实力比小于0.75时乘2
      处于阵营中(但不和波兰同阵营)乘2
      有人保独乘5
      有主要国家保独乘5
      最后实际概率是两个权重值的比值


      来自iPhone客户端4楼2022-06-08 10:49
      收起回复
        吞并给核心吗?


        IP属地:山东来自Android客户端8楼2024-11-18 21:12
        回复