Board logo

标题: [原创] map里面的状态监视器光环代码 [打印本页]

作者: swood    时间: 2018-6-23 13:13     标题: map里面的状态监视器光环代码

用map的朋友知道,会在右下角,显示部分buff的状态,比如中毒、狂热光环、救助等。 但是并不详细,或者不完整,比如kb时候所中的各种莫名其妙的诅咒、德鲁伊的变身时间、冥思光环、反抗光环等。
在网上查阅了很多的资料,终于找到详细的各种buff代码,并作一些细微修改,加入到map里面,使之更加方便好用,状态更加清晰,相对准确知晓光环距离,当前自己享受到哪几种光环。

闲话不说,上代码了,修改map文件夹里面的 d2hackmap.cfg 用记事本打开,如果没有状态监视器,直接插入下面代码,如果已经有状态监视器,则酌情修改,或者以前全部删除,插入以下代码

//State Monitor[状态编号]: 颜色 , 英文描述 , 中文描述
//英文注意不要和VCB中存在的字符串一样,不然会被替换(前面加个空格就行了)
State Monitor[2]: 1, " Poison", "【中毒】"
State Monitor[11]: 1, " ColdSlow", "【冰减速】"
State Monitor[21]: 1, " Stunned", "【眩晕】"
State Monitor[9]: 1, " Amplify Damage", "【伤害加深诅咒】"
State Monitor[61]: 1, " Lower Resist", "【降低抵抗诅咒】"
State Monitor[28]: 4, " Convicted", "【审判光环】"
State Monitor[55]: 1, " Iron Maiden", "【攻击反噬诅咒】"
State Monitor[62]: 1, " OpenWound", "【出血】"
State Monitor[60]: 1, " Decrepify", "【衰老诅咒】"
State Monitor[1]: 1, " Freeze", "【冻结】"
State Monitor[14]: 2, " Bone Armor", "【白骨装甲】"
State Monitor[31]: 2, " Venom", "【毒牙附魔】"
State Monitor[157]: 2, " Burst of Speed", "【速度爆发】"
State Monitor[158]: 2, " Blade Shield", "【刀刃之盾】"
State Monitor[159]: 2, " Fade", "【能量消解】"
State Monitor[151]: 2, " Cyclone Armor", "【飓风装甲】"
State Monitor[149]: 8, " OakSage", "【德鲁伊Oak灵加血】"
State Monitor[16]: 2, " QH", "【火焰强化】"
State Monitor[10]: 2, " Frozen Armor", "【冰封装甲】"
State Monitor[20]: 2, " Chilling Armor", "【寒冰装甲】"
State Monitor[88]: 2, " Shiver Armor", "【碎冰甲】"
State Monitor[30]: 2, " Energy Shield", "【能量盾】"
State Monitor[32]: 2, " Battle Orders", "【BO血和蓝】"
State Monitor[51]: 2, " Battle Command", "【BO技能】"
State Monitor[26]: 2, " Shout", "【BO防】"
State Monitor[134]: 9, " Shrine_Skill", "【技能树】"
State Monitor[137]: 9, " Shrine_Exp", "【经验树】"
State Monitor[101]:11, " Holy Shield", "【圣盾】"
State Monitor[8]: 8, " Salvation", "【救助光环】"
State Monitor[42]: 8, " Conversion", "【专注光环】"
State Monitor[49]: 8, " Fanaticism", "【狂热光环】"
State Monitor[50]: 8, " redemption", "【救赎光环】"
State Monitor[34]: 8, " prayer", "【祈祷光环】"
State Monitor[45]: 8, " cleansing", "【净化光环】"
State Monitor[40]: 8, " blessedaim", "【瞄准光环】"
State Monitor[148]: 8, " wolverine", "【狼灌灵】"
State Monitor[33]: 8, " might", "【力量光环】"
State Monitor[37]: 8, " Defiance", "【反抗光环】"
State Monitor[48]: 8, " Meditation", "【冥思光环回蓝】"
State Monitor[41]: 8, " Vigor" , "【活力光环】"
State Monitor[47]: 4, " Sanctuary" , "【庇护所光环】"
State Monitor[35]: 4, " Holy Fire" , "【圣火光环】"
State Monitor[36]: 4, " Thorns" , "【荆棘光环】"
State Monitor[43]: 4, " Holy Freeze" , "【圣冰光环】"
State Monitor[46]: 4, " Holy Shock" , "【圣雷光环】"
State Monitor[3]: 8, " Resist Fire" , "【抗火光环】"
State Monitor[4]: 8, " Resist Cold" , "【抗冰光环】"
State Monitor[5]: 8, " Resist Lightning" , "【抗电光环】"
State Monitor[19]: 1, " Weaken" , "【削弱诅咒】"
State Monitor[58]: 1, " Life Tap" , "【偷取生命诅咒】"
State Monitor[38]: 4, " Thunder Storm" , "【神雷天罚】"
State Monitor[22]: 1, " Web" , "【蛛网减速】"
State Monitor[29]: 1, " Ruling" , "【审判光环降抗】"
State Monitor[57]: 1, " Attract" , "【吸引】"
State Monitor[139]:11, " Wearwolf" , "【变狼】"
State Monitor[140]:11, " Wearbear" , "【变熊】"
State Monitor[177]:11, " Dirilemu" , "【迪瑞勒姆变身】"
State Monitor[147]: 8, " Spirit of Barbs" , "【荆棘灵】"

状态监视器代码到此结束。整个文件这里就不提供下载了,直接论坛官方有的,编辑 游戏内 113map 文件夹里面的 d2hackmap.cfg 文件即可。如果不想要某些buff显示,直接删除那段代码即可,或者前面该行前面加//这个符号。

[ 本帖最后由 swood 于 2018-6-27 19:04 编辑 ]
作者: a07789179    时间: 2018-6-23 13:49

厉害了。
作者: rutianyi1986    时间: 2018-6-23 16:54

好贴,顶
作者: 920363104    时间: 2018-6-23 17:07

好帖子        楼主辛苦
作者: yuriwing    时间: 2018-6-23 21:27

有血诅咒,这个代码吗?
作者: swood    时间: 2018-6-26 00:37

血诅咒是什么意思,偷取生命吗,这个上面已经有了
作者: ShadowKnight    时间: 2018-6-26 08:21

搞太多看着也不爽,我喜欢简洁一点的
作者: logxiao    时间: 2018-6-27 10:42

厉害 ~~~~~~~~~~~~~~~~~~·
作者: charlcamel    时间: 2020-9-15 17:48

来挖个坟,这个是倒计时还是正计时?




欢迎光临 anhei3战网 (http://bbs.anhei2.com/) Powered by Discuz! 6.0.0