骑马与砍杀中文站论坛

用户名  找回密码
 注册(Register!)

QQ登录

只需一步,快速开始

帖子
购买CDKEY 衣谷三国
查看: 2906|回复: 2

[分享] 针对战利品结算机制的txt修改

[复制链接]

3

主题

11

回帖

4

积分

平民

Rank: 1

UID
3203188
第纳尔
56
精华
0
互助
0
荣誉
0
贡献
0
魅力
0
注册时间
2020-10-8
鲜花(0) 鸡蛋(0)
发表于 2025-1-18 17:38:51 | 显示全部楼层 |阅读模式
起因是我在逛贴吧的时候看到了这个贴子:https://tieba.baidu.com/p/8691393592
这个贴子对战利品结算机制进行了总结。
然后我在看潘德英文wiki时偶然间看到了一个专门针对战利品结算机制的txt修改,这个修改将原来的战利品结算机制改成了按照被击杀兵种的等级从高到低进行战利品结算。因此决定分享给各位_(:з」∠)_
修改方法如下:
1.找到scripts.txt
2.在里面搜索party_calculate_loot,其下面的代码的第一个数字+23(我这边是372,因此+23后为395)
然后再搜索下列代码:
1224979098644774932 0 1650 2 1224979098644774933 1224979098644774912
将其替换为:
1224979098644774932 0 1650 2 1224979098644774933 1224979098644774912 2133 2 1224979098644774960 1224979098644774933 6 3 1224979098644774961 0 1224979098644774933 2133 2 1224979098644774962 -1 2133 2 1224979098644774963 -1 6 3 1224979098644774964 0 1224979098644774960 1652 3 1224979098644774965 1224979098644774912 1224979098644774964 2147485155 1 1224979098644774965 2171 2 1224979098644774966 1224979098644774965 32 2 1224979098644774966 1224979098644774963 2133 2 1224979098644774963 1224979098644774966 2133 2 1224979098644774962 1224979098644774964 3 0 4 0 32 2 1224979098644774962 -1 1652 3 1224979098644774967 1224979098644774912 1224979098644774962 1653 3 1224979098644774968 1224979098644774912 1224979098644774962 1654 3 1224979098644774969 1224979098644774912 1224979098644774962 1615 3 1224979098644774912 1224979098644774967 1224979098644774968 1610 3 1224979098644774912 1224979098644774967 1224979098644774968 1618 3 1224979098644774912 1224979098644774967 1224979098644774969 2106 2 1224979098644774960 1 3 0 3 0
若玩的是她城子MOD版本,则还需要再搜索party_calculate_loot_new,然后按照上述步骤修改即可。
经过测试,我在安排打100决死剑士100克拉尔卫士300农民的情况下,在未修改的情况下先杀一次农民再杀一次克拉尔卫士、一次决死剑士,然后Ctrl+Alt+F4,结算战利品时所爆的装备 全 TM 都 是 农 民 装 备,连一丁点决死剑士的装备都没有。
而在使用上述修改的情况下,仍然按照农民-克拉尔卫士-决死剑士的顺序击杀再Ctrl+Alt+F4,结算战利品时仍然有爆出决死剑士的装备。



顺便发一下该修改的英文原文介绍:
The problem happens when you fight against bigger parties, or when your own party is rather small. For example, the enemy has 100 knights and 900 peasants. If you kill the peasants first, then they will be the first to get looted, and the knights will come next. When the sharing of loot begins, the peasants will be processed first and the loot buffer will quickly get filled up with their low-tier items. And then there will be no more spaces left in the loot buffer to get items from the knights too. This tweak fixes the problem by making the order of looting defeated troops get sorted out by their level (highest level troops will be processed first).

13

主题

82

回帖

29

积分

扈从

Rank: 2Rank: 2

UID
1480871
第纳尔
401
精华
0
互助
0
荣誉
0
贡献
0
魅力
0
注册时间
2013-8-9

战团正版勋章

鲜花(0) 鸡蛋(0)
发表于 2025-1-27 22:40:44 | 显示全部楼层
1224979098644774932 0 1650 2 1224979098644774933 1224979098644774912这段数字有两段全部改吗 子mod怎么改

3

主题

11

回帖

4

积分

平民

Rank: 1

UID
3203188
第纳尔
56
精华
0
互助
0
荣誉
0
贡献
0
魅力
0
注册时间
2020-10-8
鲜花(0) 鸡蛋(0)
 楼主| 发表于 2025-1-28 10:05:22 | 显示全部楼层
大水虎 发表于 2025-1-27 22:40
1224979098644774932 0 1650 2 1224979098644774933 1224979098644774912这段数字有两段全部改吗 子mod怎么 ...

这两段都改,子MOD下这两段分别对应party_calculate_loot和party_calculate_loot_new,都改了才能保证无论是否有开新战利品机制,其战利品结算机制都会按照上述说明进行结算
您需要登录后才可以回帖 登录 | 注册(Register!)

本版积分规则

Archiver|手机版|小黑屋|骑马与砍杀中文站

GMT+8, 2025-3-14 19:37 , Processed in 0.079860 second(s), 21 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表