战网中国

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

暗黑破坏神2(diablo2)—kolbot进阶设置(符文之语)图文教程

已有 1295 次阅读2023-2-8 00:50 |个人分类:game

前面的博文,已经教大家把自己的bot跑起来了,相信来看这篇博文的,一定都是已经跑起来了而又想更加丰富自己bot的朋友。好,这次我们谈谈怎么设置让bot自己动手做合成(cube)和符文之语(runewords)。

一、合成

合成(cube)包括的内容很多,这里只讲一点常用的。在kolbot的角色设定自带的文本中,大约320行的地方,如下图的样子:


图中做了“蓝色”标记的地方,就是告诉bot做不做cube合成事的。要做,就要把Config.Cubing = true;而原始设定里默认设置是不做的(false)。

图中另外三个地方的合成任务一看也就清楚了,而最下面两行是洗权冠和技能板的。上图中,反正你想做的事,就要把这行话的最前面//(双斜杆)去掉,bot才会做。(//是注释的意思,注释了这句话,说明这句话不是给bot看的,是给你看的)。


二、符文之语


符文之语的设置位置在大约370行的地方,如下图所示。



图中标记1的地方就是控制做不做符文之语的,要做就要将其改成true。

接着看到2行是做Insight(眼光)的,上面一行是用锐利之斧(Thresher)做,下面一行是用神秘之斧(CA)做。做好符文之语后,要让bot保留它呀,否则做了符文之语而bot不存起来,做了有什么用呢?图中标记3的地方就是让bot把做好的“眼光”保存到箱子里。这里要注意4这个地方的那个17的数字,查眼光的符文之语就知道,它的冥想光环(meditationaura)等级是变化的,变化范围是12-17。图中17的意思是只保留冥想光环等级为17的眼光。那如果你想所有的保存该怎么办呢?只要把图中== 17,改成>= 12即可。

从上面的说明可以看出,做符文之语以及保存下来,包括3个方面的信息:(1)做什么符文之语;(2)用什么材料做;(3)保存符文之语。

具体对照上图:

(1)做什么符文之语是由这个决定的:Runeword.Insight,这个就是“眼光”

(2)用什么材料:“Thresher”就是“锐利之斧”

(3)保存:Config.KeepRunewords这句话决定的

明白这些,下面就可以自己建立自己想做的符文之语了。当然,我已经做了一些我觉得常用的,下面我把它贴出来,你想要,直接把它复制下来,贴到你的角色设定文件中就行了。


三、一些常用的符文之语


1、眼光

 //insight

 Config.Runewords.push([Runeword.Insight, "bill"]);

 Config.Runewords.push([Runeword.Insight, "partizan"]);

 Config.Runewords.push([Runeword.Insight, "becdecorbin"]);

 Config.Runewords.push([Runeword.Insight, "thresher"]);

 Config.Runewords.push([Runeword.Insight, "crypticaxe"]);

 Config.Runewords.push([Runeword.Insight, "greatpoleaxe"]);

 Config.Runewords.push([Runeword.Insight, "colossusvoulge"]);

 Config.KeepRunewords.push("[type] == polearm # [meditationaura] <= 17");


2、烟雾

 //smoke

 Config.Runewords.push([Runeword.Smoke, "lightplate"]);

 Config.Runewords.push([Runeword.Smoke, "ghostarmor"]);

 Config.Runewords.push([Runeword.Smoke, "serpentskinarmor"]);

 Config.Runewords.push([Runeword.Smoke, "demonhidearmor"]);

 Config.Runewords.push([Runeword.Smoke, "cuirass"]);

 Config.Runewords.push([Runeword.Smoke, "mageplate"]);

 Config.Runewords.push([Runeword.Smoke, "duskShroud"]);

 Config.Runewords.push([Runeword.Smoke, "wyrmhide"]);

 Config.Runewords.push([Runeword.Smoke, "scarabHusk"]);

 Config.Runewords.push([Runeword.Smoke, "wireFleece"]);

 Config.Runewords.push([Runeword.Smoke, "greatHauberk"]);

 Config.Runewords.push([Runeword.Smoke, "boneweave"]);

 Config.Runewords.push([Runeword.Smoke, "balrogSkin"]);

 Config.Runewords.push([Runeword.Smoke, "archonPlate"]);   

 Config.KeepRunewords.push("[type] == armor # [FireResist] == 50 && [LightResist] == 50 "); 


3、石块

 //Stone

 Config.Runewords.push([Runeword.Stone, "duskShroud"]);

 Config.Runewords.push([Runeword.Stone, "wyrmhide"]);

 Config.Runewords.push([Runeword.Stone, "scarabHusk"]);

 Config.Runewords.push([Runeword.Stone, "wireFleece"]);

 Config.Runewords.push([Runeword.Stone, "greatHauberk"]);

 Config.Runewords.push([Runeword.Stone, "boneweave"]);

 Config.Runewords.push([Runeword.Stone, "balrogSkin"]);

 Config.Runewords.push([Runeword.Stone, "archonPlate"]);  

 Config.KeepRunewords.push("[type] == armor # [FireResist] == 15 && [LightResist] == 15 "); 


4、强制

 //Duress

 Config.Runewords.push([Runeword.Duress, "greatHauberk"]);

 Config.Runewords.push([Runeword.Duress, "boneweave"]);

 Config.Runewords.push([Runeword.Duress, "balrogSkin"]);

 Config.Runewords.push([Runeword.Duress, "archonPlate"]);

 Config.KeepRunewords.push("[type] == armor # [ColdResist] == 45 && [LightResist] == 15 "); 


5、法师甲做谜团

 //Enigma

 Config.Runewords.push([Runeword.Enigma, "mageplate"]);

 Config.KeepRunewords.push("[type] == armor # [itemallskills] == 2");


6、古代誓约(盾牌)

 //AncientsPledge

 Config.Runewords.push([Runeword.AncientsPledge, "kiteshield"]);

 Config.Runewords.push([Runeword.AncientsPledge, "largeshield"]);

 Config.Runewords.push([Runeword.AncientsPledge, "targe"]);

 Config.Runewords.push([Runeword.AncientsPledge, "rondache"]);

 Config.Runewords.push([Runeword.AncientsPledge, "aerinshield"]);

 Config.Runewords.push([Runeword.AncientsPledge, "crownshield"]);

 Config.Runewords.push([Runeword.AncientsPledge, "royalshield"]);

 Config.KeepRunewords.push("[type] == shield # [FireResist] >= 40 && [LightResist] >= 40 ");


7、知识(头盔)

   //Lore

 Config.Runewords.push([Runeword.Lore, "skullcap"]);

 Config.Runewords.push([Runeword.Lore, "crown"]);

 Config.Runewords.push([Runeword.Lore, "mask"]);

 Config.KeepRunewords.push("[type] == helm # [LightResist] >= 25");


8、水晶剑做精神

   //Spirit Sword

 Config.Runewords.push([Runeword.Spirit, "crystalSword"]); 

 Config.KeepRunewords.push("[type] == sword # [itemallskills] == 2");


9、水晶剑做战争召唤

 //CTA Sword

 Config.Runewords.push([Runeword.CallToArms, "crystalSword"]); 

 Config.KeepRunewords.push("[type] == sword # [itemallskills] == 1 && [ItemMagicBonus] == 30");


10、连枷做橡树之心

 //HOTO flail

 Config.Runewords.push([Runeword.HeartoftheOak, "flail"]); 

 Config.KeepRunewords.push("[name] == flail # [itemallskills] == 3");


11、圣骑士盾牌做精神

 //Spirit Shield

 Config.Runewords.push([Runeword.Spirit, "targe"]);

 Config.Runewords.push([Runeword.Spirit, "rondache"]);

 Config.Runewords.push([Runeword.Spirit, "heraldicshield"]);

 Config.Runewords.push([Runeword.Spirit, "aerinshield"]);

 Config.Runewords.push([Runeword.Spirit, "crownshield"]);

 Config.Runewords.push([Runeword.Spirit, "akarantarge"]);

 Config.Runewords.push([Runeword.Spirit, "akaranrondache"]);

 Config.Runewords.push([Runeword.Spirit, "protectorshield"]);

 Config.Runewords.push([Runeword.Spirit, "gildedshield"]);

 Config.Runewords.push([Runeword.Spirit, "royalshield"]);

 Config.Runewords.push([Runeword.Spirit, "SacredTarge"]); 

 Config.Runewords.push([Runeword.Spirit, "sacredrondache"]);

 Config.Runewords.push([Runeword.Spirit, "kurastshield"]);

 Config.Runewords.push([Runeword.Spirit, "zakarumshield"]);

 Config.Runewords.push([Runeword.Spirit, "vortexshield"]);  

 Config.KeepRunewords.push("[type] == shield || [type] == auricshields # [fcr] <= 35");


12、长柄做无限

 //Infinity

 Config.Runewords.push([Runeword.Infinity, "thresher"]);

 Config.Runewords.push([Runeword.Infinity, "crypticaxe"]);

 Config.Runewords.push([Runeword.Infinity, "greatpoleaxe"]);

 Config.Runewords.push([Runeword.Infinity, "colossusvoulge"]);

 Config.KeepRunewords.push("[type] == polearm # [convictionaura] == 12");


13、强制甲

//Fortitude

 Config.Runewords.push([Runeword.Fortitude, "duskShroud"]);

 Config.Runewords.push([Runeword.Fortitude, "wyrmhide"]);

 Config.Runewords.push([Runeword.Fortitude, "scarabHusk"]);

 Config.Runewords.push([Runeword.Fortitude, "wireFleece"]);

 Config.Runewords.push([Runeword.Fortitude, "greatHauberk"]);

 Config.Runewords.push([Runeword.Fortitude, "boneweave"]);

 Config.Runewords.push([Runeword.Fortitude, "balrogSkin"]);

 Config.Runewords.push([Runeword.Fortitude, "archonPlate"]);  

 Config.KeepRunewords.push("[type] == armor # [FireResist] >= 25 "); 


路过

鸡蛋

鲜花

握手

雷人

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 立即注册

Archiver|手机版|小黑屋|BattleCN ( 陕ICP备05006600号 )

GMT+8, 2024-4-20 09:28 , Processed in 0.021103 second(s), 16 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

返回顶部