- 好友
- 1
- 在线时间
- 0 小时
- 最后登录
- 2024-10-27
见习骑士
- UID
- 3209025
- 第纳尔
- 1316
- 精华
- 0
- 互助
- 2
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 20
- 注册时间
- 2020-11-30
鲜花( 3) 鸡蛋( 0)
|
楼主 |
发表于 2021-11-6 11:39:52
|
显示全部楼层
本帖最后由 fmn 于 2021-11-6 11:42 编辑
请问,
(1)如果我想将城堡、城镇的人数改的更少,只需在你修改那几处上,将对应数字再减少,是吗?
你注释中写道:城堡驻军上限20+繁荣度/10 城镇驻军上限40+繁荣度/5
我将20改成1,将10改成20,好像不对...
(2)如果我想将领主带兵人数再减少(比如永远要小于10人),也是再减少那些数字,是吗?
("party_get_ideal_size", ##YMR##领主部队上限
[
(store_script_param_1, ":party_no"),
#default limit is 30 for any party
(assign, ":limit", 3),//这里我改为1,初始为1,是吗?
(try_begin),
(party_slot_eq, ":party_no", slot_party_type, spt_kingdom_hero_party),
(party_stack_get_troop_id, ":party_leader", ":party_no", 0),
(store_faction_of_party, ":faction_id", ":party_no"),
#default limit is 10 for kingdom lords
# (assign, ":limit", 10),
#each (leadership level) gives 5 to limit
(store_skill_level, ":skill", "skl_leadership", ":party_leader"),
(store_attribute_level, ":charisma", ":party_leader", ca_charisma),
(val_mul, ":skill", 2),//这里改为2,每2点才加1个人
(val_add, ":limit", ":skill"),
#each (charisma level) gives 1 to limit
(val_div, ":charisma",10),//这里改为20,魅力20则加1
(val_add, ":limit", ":charisma"),
#each (25 renown) gives 1 to limit
(troop_get_slot, ":troop_renown", ":party_leader", slot_troop_renown),
(store_div, ":renown_bonus", ":troop_renown", 200),//这里改为500,大部分领主都是500-1000点的声望
(val_add, ":limit", ":renown_bonus"),
#if this party is faction leader it takes additional 100 limit
(try_begin),
(faction_slot_eq, ":faction_id", slot_faction_leader, ":party_leader"),
(val_add, ":limit", 5),//这里改为0
(try_end),
#if this party is faction marshall it takes additional 20 limit
(try_begin),
(faction_slot_eq, ":faction_id", slot_faction_marshall, ":party_leader"),
(val_add, ":limit", 2),//这里改为0
(try_end),
#party takes additional 20 limit per each castle it's party leader owns
(try_for_range, ":cur_center", castles_begin, castles_end),
(party_slot_eq, ":cur_center", slot_town_lord, ":party_leader"),
(val_add, ":limit", 2),//这里改为0
(try_end),
(try_end),
|
|