- 好友
- 12
- 在线时间
- 774 小时
- 最后登录
- 2024-8-5
贵族[MOD作者]
- UID
- 2743526
- 第纳尔
- 2451
- 精华
- 0
- 互助
- 18
- 荣誉
- 3
- 贡献
- 10
- 魅力
- 252
- 注册时间
- 2016-5-3
鲜花( 201) 鸡蛋( 0)
|
发表于 2021-10-6 12:09:48
|
显示全部楼层
1、修改每个问题答案的属性加成,你可以翻翻header operation文件里,关于troop属性点、技能点、熟练度等操作函数,你就知道怎么修改了;大体就是这些:
store_attribute_level = 2172 # (store_attribute_level, <destination>, <troop_id>, <attribute_id>),
# Stores current value of troop attribute. See ca_* constants in header_troops.py for reference.
troop_raise_attribute = 1520 # (troop_raise_attribute, <troop_id>, <attribute_id>, <value>),
# Increases troop attribute by the specified amount. See ca_* constants in header_troops.py for reference. Use negative values to reduce attributes. When used on non-hero troop, will affect all instances of that troop.
store_skill_level = 2170 # (store_skill_level, <destination>, <skill_id>, [troop_id]),
# Stores current value of troop skill. See header_skills.py for reference.
troop_raise_skill = 1521 # (troop_raise_skill, <troop_id>, <skill_id>, <value>),
# Increases troop skill by the specified value. Value can be negative. See header_skills.py for reference. When used on non-hero troop, will affect all instances of that troop.
store_proficiency_level = 2176 # (store_proficiency_level, <destination>, <troop_id>, <attribute_id>),
# Stores current value of troop weapon proficiency. See wpt_* constants in header_troops.py for reference.
troop_raise_proficiency = 1522 # (troop_raise_proficiency, <troop_id>, <proficiency_no>, <value>),
# Increases troop weapon proficiency by the specified value. Value can be negative. Increase is subject to limits defined by Weapon Master skill. When used on non-hero troop, will affect all instances of that troop.
troop_raise_proficiency_linear = 1523 # (troop_raise_proficiency, <troop_id>, <proficiency_no>, <value>),
# Same as (troop_raise_proficiency), but does not take Weapon Master skill into account (i.e. can increase proficiencies indefinitely).
troop_add_proficiency_points = 1525 # (troop_add_proficiency_points, <troop_id>, <value>),
# Adds some proficiency points to a hero troop which can later be distributed by player.
2、怎么添加新一页的问题呢,这个你就用menu吧,有个操作,是jump_to_menu = 2060 # (jump_to_menu, <menu_id>), # Opens the specified game menu. Note this only happens after the current block of code completes execution.
|
评分
-
查看全部评分
鲜花鸡蛋tiannvanan 在2021-10-6 19:30 送朵鲜花 并说:我非常同意你的观点,送朵鲜花鼓励一下
|