- 好友
- 0
- 在线时间
- 2 小时
- 最后登录
- 2024-8-19
扈从
- UID
- 3055178
- 第纳尔
- 862
- 精华
- 0
- 互助
- 3
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 20
- 注册时间
- 2019-1-24
鲜花( 3) 鸡蛋( 0)
|
本帖最后由 梅川逸夫 于 2021-8-8 10:16 编辑
佩里斯诺是一个魔幻Mod,制作组为了平衡士兵属性,添加了坐镇值(这个坐镇值和潘德的不一样,潘德的制作者给了每名士兵都添加了单独的坐镇值计算方式;而佩里斯诺制作者机智点(或许偷懒更好,因为兵种数量太多了)单独写的话,或许还要考虑每名士兵的装备,强度什么的);
佩里斯诺兵种的强度 仅供参考,楼主曾经看到2000左右强度的奥斯卡残兵被1800强度的野怪击溃了;
强度计算基本上是按照该兵种的战术和等级来决定的;
第一个是原版的兵种坐镇值计算方式;- (try_for_range, ":var_0", "trp_npc1", "trp_knight_1_1_wife"),
- (store_character_level, ":var_1", ":var_0"),
- (assign, ":var_2", ":var_1"),
- (val_add, ":var_1", 4),
- (val_mul, ":var_1", ":var_1"),
- (val_div, ":var_2", 5),
- (val_add, ":var_2", 100),
- (store_attribute_level, ":var_3", ":var_0", ca_intelligence),
- (val_mul, ":var_3", 2),
- (val_add, ":var_2", ":var_3"),
- (store_skill_level, ":var_4", "skl_tactics", ":var_0"),
- (val_mul, ":var_4", 10),
- (val_add, ":var_2", ":var_4"),
- (val_mul, ":var_1", ":var_2"),
- (val_div, ":var_1", 100),
- (val_div, ":var_1", 80),
- (val_max, ":var_1", 1),
- (try_begin),
- (troop_get_slot, ":var_5", ":var_0", slot_troop_original_faction),
- (this_or_next|eq, ":var_5", "fac_kingdom_14"),
- (eq, ":var_5", "fac_kingdom_15"),
- (val_mul, ":var_1", 4),
- (val_div, ":var_1", 3),
- (try_end),
- (troop_set_slot, ":var_0", slot_lady_used_tournament, ":var_1"),
- (try_end),
- (try_for_range, ":var_0", "trp_siegfried", "trp_quick_battle_troops_end"),
- (store_character_level, ":var_1", ":var_0"),
- (assign, ":var_2", ":var_1"),
- (val_add, ":var_1", 4),
- (val_mul, ":var_1", ":var_1"),
- (val_div, ":var_2", 5),
- (val_add, ":var_2", 100),
- (store_attribute_level, ":var_3", ":var_0", ca_intelligence),
- (val_mul, ":var_3", 2),
- (val_add, ":var_2", ":var_3"),
- (store_skill_level, ":var_4", "skl_tactics", ":var_0"),
- (val_mul, ":var_4", 10),
- (val_add, ":var_2", ":var_4"),
- (val_mul, ":var_1", ":var_2"),
- (val_div, ":var_1", 100),
- (val_div, ":var_1", 80),
- (val_max, ":var_1", 1),
- (troop_set_slot, ":var_0", slot_lady_used_tournament, ":var_1"),
- (try_end),
- (try_begin),
- (store_character_level, ":var_1", "trp_player"),
- (assign, ":var_2", ":var_1"),
- (val_add, ":var_1", 4),
- (val_mul, ":var_1", ":var_1"),
- (val_div, ":var_2", 5),
- (val_add, ":var_2", 100),
- (store_attribute_level, ":var_3", "trp_player", ca_intelligence),
- (val_mul, ":var_3", 2),
- (val_add, ":var_2", ":var_3"),
- (store_skill_level, ":var_4", "skl_tactics", "trp_player"),
- (val_mul, ":var_4", 10),
- (val_add, ":var_2", ":var_4"),
- (val_mul, ":var_1", ":var_2"),
- (val_div, ":var_1", 100),
- (val_div, ":var_1", 80),
- (val_max, ":var_1", 1),
- (troop_set_slot, "trp_player", slot_lady_used_tournament, ":var_1"),
- (try_end),
- (try_begin),
- (neg|troop_slot_eq, "trp_globals_troop", slot_troop_occupation, 303),
- (try_for_range, ":var_0", "trp_farmer", "trp_quick_battle_6_player"),
- (store_character_level, ":var_1", ":var_0"),
- (assign, ":var_2", ":var_1"),
- (val_add, ":var_1", 4),
- (val_mul, ":var_1", ":var_1"),
- (val_div, ":var_2", 5),
- (val_add, ":var_2", 100),
- (store_attribute_level, ":var_3", ":var_0", ca_intelligence),
- (val_mul, ":var_3", 2),
- (val_add, ":var_2", ":var_3"),
- (store_skill_level, ":var_4", "skl_tactics", ":var_0"),
- (val_mul, ":var_4", 10),
- (val_add, ":var_2", ":var_4"),
- (val_mul, ":var_1", ":var_2"),
- (val_div, ":var_1", 100),
- (val_div, ":var_1", 100),
- (val_max, ":var_1", 1),
- (try_begin),
- (store_troop_faction, ":var_5", ":var_0"),
- (this_or_next|eq, ":var_5", "fac_kingdom_14"),
- (eq, ":var_5", "fac_kingdom_15"),
- (val_mul, ":var_1", 4),
- (val_div, ":var_1", 3),
- (try_end),
- (troop_set_slot, ":var_0", slot_lady_used_tournament, ":var_1"),
- (try_end),
- (troop_set_slot, "trp_globals_troop", slot_troop_occupation, 303),
- (try_end),
复制代码
第二个是添加兵种坐镇值的完整版(可能数字有所不同,但如果玩家和我一样,创建的是16个士兵的话,直接把本段给全部复制下来就行了)
party_calculate_regular_strength -1 120 6 3 1224979098644774912 360287970189641729 360287970189641746 2171 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774914 5 2105 2 1224979098644774914 100 2172 3 1224979098644774915 1224979098644774912 2 2107 2 1224979098644774915 2 2105 2 1224979098644774914 1224979098644774915 2170 3 1224979098644774916 1369094286720630799 1224979098644774912 2107 2 1224979098644774916 10 2105 2 1224979098644774914 1224979098644774916 2107 2 1224979098644774913 1224979098644774914 2108 2 1224979098644774913 100 2108 2 1224979098644774913 80 2111 2 1224979098644774913 1 4 0 520 3 1224979098644774917 1224979098644774912 14 1073741855 2 1224979098644774917 432345564227567656 31 2 1224979098644774917 432345564227567657 2107 2 1224979098644774913 4 2108 2 1224979098644774913 3 3 0 500 3 1224979098644774912 40 1224979098644774913 3 0 6 3 1224979098644774912 360287970189640605 360287970189640824 2171 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774914 5 2105 2 1224979098644774914 100 2172 3 1224979098644774915 1224979098644774912 2 2107 2 1224979098644774915 2 2105 2 1224979098644774914 1224979098644774915 2170 3 1224979098644774916 1369094286720630799 1224979098644774912 2107 2 1224979098644774916 10 2105 2 1224979098644774914 1224979098644774916 2107 2 1224979098644774913 1224979098644774914 2108 2 1224979098644774913 100 2108 2 1224979098644774913 80 2111 2 1224979098644774913 1 4 0 520 3 1224979098644774917 1224979098644774912 14 1073741855 2 1224979098644774917 432345564227567656 31 2 1224979098644774917 432345564227567657 2107 2 1224979098644774913 4 2108 2 1224979098644774913 3 3 0 500 3 1224979098644774912 40 1224979098644774913 3 0 6 3 1224979098644774912 360287970189640980 360287970189641013 2171 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774914 5 2105 2 1224979098644774914 100 2172 3 1224979098644774915 1224979098644774912 2 2107 2 1224979098644774915 2 2105 2 1224979098644774914 1224979098644774915 2170 3 1224979098644774916 1369094286720630799 1224979098644774912 2107 2 1224979098644774916 10 2105 2 1224979098644774914 1224979098644774916 2107 2 1224979098644774913 1224979098644774914 2108 2 1224979098644774913 100 2108 2 1224979098644774913 80 2111 2 1224979098644774913 1 500 3 1224979098644774912 40 1224979098644774913 3 0 4 0 2171 2 1224979098644774913 360287970189639680 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774914 5 2105 2 1224979098644774914 100 2172 3 1224979098644774915 360287970189639680 2 2107 2 1224979098644774915 2 2105 2 1224979098644774914 1224979098644774915 2170 3 1224979098644774916 1369094286720630799 360287970189639680 2107 2 1224979098644774916 10 2105 2 1224979098644774914 1224979098644774916 2107 2 1224979098644774913 1224979098644774914 2108 2 1224979098644774913 100 2108 2 1224979098644774913 80 2111 2 1224979098644774913 1 500 3 360287970189639680 40 1224979098644774913 3 0 4 0 2147484188 3 360287970189639685 2 303 6 3 1224979098644774912 360287970189639712 360287970189640459 2171 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774914 5 2105 2 1224979098644774914 100 2172 3 1224979098644774915 1224979098644774912 2 2107 2 1224979098644774915 2 2105 2 1224979098644774914 1224979098644774915 2170 3 1224979098644774916 1369094286720630799 1224979098644774912 2107 2 1224979098644774916 10 2105 2 1224979098644774914 1224979098644774916 2107 2 1224979098644774913 1224979098644774914 2108 2 1224979098644774913 100 2108 2 1224979098644774913 100 2111 2 1224979098644774913 1 4 0 2173 2 1224979098644774917 1224979098644774912 1073741855 2 1224979098644774917 432345564227567656 31 2 1224979098644774917 432345564227567657 2107 2 1224979098644774913 4 2108 2 1224979098644774913 3 3 0 500 3 1224979098644774912 40 1224979098644774913 3 0 500 3 360287970189639685 2 303 3 0 |
至于玩家从魔球创建的兵种为什么在世界地图上显示强度为0;很简单,因为你创建的兵种没有写在制作组设定的脚本(scripts)里,所以显示兵种强度为0;
(从魔球看更明白一些)
具体范围是(斯莱特到瑟琳娜女士)(大圣骑士齐格菲到trp_quick_battle_troops_end)(农民到trp_quick_battle_6_player)
为什么会包括 这些女士和一些英文开头的士兵呢?这就相当于数学中的区间了;
设定这个数为X,假设这个数大于等于1却小于5,就要用这个[1,5) 来表示;
同理,该脚本计算方式为大于等于农民但并不包括trp_quick_battle_6_player这个兵种,但是中间的兵种都
计算在内了;巨人在公式的基础上还有单独的一套计算方式;
所以如果玩家想加强兵种的话,用魔球增加该士兵的等级和战术要求即可,但适度修改;
魔球创建的士兵怎么增加强度,这就需要在公式的基础上再增加你创建的兵种范围了;
下面的这串数字是楼主额外给魔球创建的兵种,具体添加方式为把这串数字复制到scripts
文件夹里,搜索party_calculate_regular_strength -1 添加到开头 最开始的数字94这个修改
为120,之后空一格,把下面这串数字添加进去,至于原来的数字也不要动,我们只是添加,
并不是删改该计算脚本
6 3 1224979098644774912 360287970189641729 360287970189641746 2171 2 1224979098644774913 1224979098644774912 2133 2 1224979098644774914 1224979098644774913 2105 2 1224979098644774913 4 2107 2 1224979098644774913 1224979098644774913 2108 2 1224979098644774914 5 2105 2 1224979098644774914 100 2172 3 1224979098644774915 1224979098644774912 2 2107 2 1224979098644774915 2 2105 2 1224979098644774914 1224979098644774915 2170 3 1224979098644774916 1369094286720630799 1224979098644774912 2107 2 1224979098644774916 10 2105 2 1224979098644774914 1224979098644774916 2107 2 1224979098644774913 1224979098644774914 2108 2 1224979098644774913 100 2108 2 1224979098644774913 80 2111 2 1224979098644774913 1 4 0 520 3 1224979098644774917 1224979098644774912 14 1073741855 2 1224979098644774917 432345564227567656 31 2 1224979098644774917 432345564227567657 2107 2 1224979098644774913 4 2108 2 1224979098644774913 3 3 0 500 3 1224979098644774912 40 1224979098644774913 3 0 500 3 360287970189639685 2 303 3 0 |
这里的360287970189641729 360287970189641746是添加的兵种所代表的代码,楼主总共创建了16个有效士兵,和一个无效士兵;所以1729-1746之间间隔了17;因为是重新添加了兵种,而且脚本计算也是重新添加了;所以需要重新开档~
|
评分
-
查看全部评分
鲜花鸡蛋qeeeeeee 在2021-8-8 13:35 送朵鲜花 并说:我非常同意你的观点,送朵鲜花鼓励一下
|