effect · add_divisional_commander_xp
Definition
- Supported scope:(none)
- Supported target:
none
Description
add divisional commander xp to unit: add_divisional_commander_xp = 10
add_divisional_commander_xpnoneadd divisional commander xp to unit: add_divisional_commander_xp = 10
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
add_divisional_commander_xp 常用于自定义事件或决议系统中,让玩家或 AI 的师级指挥官通过特定行动(如完成训练任务、赢得战役)获得额外经验值,从而加速其成长为高级指挥官。也可用于新手引导 mod 中,在游戏开局时给予玩家一定的指挥官经验奖励以降低难度门槛。
# 在某个决议完成时,为师级指挥官奖励经验
country_event = {
id = my_mod.1
option = {
name = my_mod.1.a
add_divisional_commander_xp = 25
}
}
由于当前白名单中暂无同 scope 下列出的其他 effect 或 trigger 命令,无法提供符合规范的交叉引用条目。建议在实际使用时结合国家级事件触发逻辑与该 effect 搭配,以确保其在正确的执行块中被调用。
Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
add_divisional_commander_xp is commonly used in custom event or decision systems to grant divisional commanders additional experience points through specific actions (such as completing training missions or winning campaigns), thereby accelerating their progression to higher ranks. It can also be utilized in beginner tutorial mods to provide players with commander experience rewards at game start, lowering the difficulty threshold.
# Award experience to divisional commander upon decision completion
country_event = {
id = my_mod.1
option = {
name = my_mod.1.a
add_divisional_commander_xp = 25
}
}
As there are currently no other effects or triggers listed under the same scope in the whitelist, no cross-reference entries conforming to specifications can be provided. It is recommended to combine this effect with country-level event trigger logic during actual implementation to ensure it is invoked within the correct execution block.