スクリプトエフェクト

set_to_limited_random_stats

set_to_limited_random_statsin_game/common/scripted_effects/character_effects.txt:2

For character scope

定義in_game/common/scripted_effects/character_effects.txt:2

3hidden_effect = {
4owner ?= {
5if = {
6limit = {
6num_locations > 0
}
7random_owned_location = {
7save_scope_as = second_variable_input
}
}
9else = {
9save_scope_as = second_variable_input
}
10if = {
11limit = {
12num_locations > 1
13any_owned_location = {
13NOT = {
13this = scope:second_variable_input
}
}
}
15random_owned_location = {
16limit = {
16NOT = {
16this = scope:second_variable_input
}
}
17save_scope_as = third_variable_input
}
}
20else = {
20random_primary_or_accepted_culture = {
20save_scope_as = third_variable_input
}
}
}
22set_to_limited_random_stat = {
23ability = adm
24min = $min_adm$
25max = $max_adm$
}
27set_to_limited_random_stat = {
28ability = dip
29min = $min_dip$
30max = $max_dip$
}
32set_to_limited_random_stat = {
33ability = mil
34min = $min_mil$
35max = $max_mil$
}
}
© 2026 Soft Santa Cruz, S.L.U.。無断転載を禁じます。本サイトは非公式のファンプロジェクトであり、Paradox Interactiveとは関係ありません。ゲームコンテンツ © Paradox Interactive。 概要 · プライバシー · 法的情報