脚本效果

set_character_erratic_behavior

set_character_erratic_behaviorin_game/common/scripted_effects/character_effects.txt:168
需要has_erratic_modifier变量hidden effect

定义in_game/common/scripted_effects/character_effects.txt:168

169add_character_modifier = {
170modifier = erratic
171years = -1
172mode = add_and_extend
}
174custom_tooltip = erratic_tooltip 当此修正生效时,Character会定期改变his/her的行为……
175hidden_effect = {
176if = {
177limit = {
178OR = {
179is_ruler = yes
180is_regent = yes
}
182NOT = {
182has_variable = has_erratic_modifier
}
}
184owner = {
185trigger_event_silently = character_events.1
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明