脚本效果

grant_special_unit_experience

grant_special_unit_experiencein_game/common/scripted_effects/unit_effects.txt:2

root = unit

需要曼德卡鲁骑手单位类型if曼德卡鲁步兵单位类型ifmandekalu_exp变量if

定义in_game/common/scripted_effects/unit_effects.txt:2

3if = {
4limit = {
5any_sub_unit = {
6OR = {
}
}
}
12every_sub_unit = {
13limit = {
14OR = {
}
}
19owner = {
20if = {
21limit = {
21NOT = {
21has_variable = mandekalu_exp 曼德卡鲁总经验
}
}
22set_variable = {
23name = mandekalu_exp 曼德卡鲁总经验
24value = $value$
}
}
27else = {
28change_variable = {
29name = mandekalu_exp 曼德卡鲁总经验
30add = $value$
}
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.。保留所有权利。非官方粉丝项目,与Paradox Interactive无关。游戏内容 © Paradox Interactive。 关于 · 隐私 · 法律声明