本帖最后由 快乐风猫 于 2022-4-1 16:26 编辑
- (12,
- [(try_for_range,":center",towns_begin,villages_begin),#循环所有中心
- (store_faction_of_party, ":faction", ":center"),#获取中心阵营
- (faction_get_slot, ":faction_troop", ":faction", slot_faction_tier_3_troop),#获取阵营的3号兵种
- (party_slot_eq, ":center", slot_town_lord, -1),#是没有领主的
- (party_get_num_companions,":shoujun",":center"),#获取城堡守军数量
- (le,":shoujun",10),#如果守军人数小于25
- (try_begin),
- (party_slot_eq, ":center", slot_party_type, spt_town),#如果中心是城市 增加60预备兵
- (party_add_members,":center",":faction_troop",60),
- (else_try),
- (party_slot_eq, ":center", slot_party_type, spt_castle),#如果中心是城堡 增加30预备兵
- (party_add_members,":center",":faction_troop",30),
- (try_end),
- (try_end),
- ]),
复制代码 |