魔兽世界改模型代码,如何修改?
我们现在总结下截止到《魔兽世界巫妖王之怒》3.35版中 所有的常规红瓶蓝瓶和大紫瓶!
以及这些物品所触发的技能ID[初级治疗药水](魔兽世界)
.additem 118
439
[次级治疗药水](魔兽世界)
.additem 858
440
[治疗药水](魔兽世界)
.additem 929
441
[强效治疗药水](魔兽世界)
.additem 1710
2024
[超强治疗药水](魔兽世界)
.additem 3928
4042
[极效治疗药水](魔兽世界)
.additem 13446
17534
[超强效治疗药水](燃烧的远征)
.additem 22829
28495
[符刻治疗药水](巫妖王之怒)
.additem 33447
43185
[奇效治疗药水](大地的裂变)
.additem 57191
未知
------------------------------------------------
[初级法力药水](魔兽世界)
.additem 2455
437
[次级法力药水](魔兽世界)
.additem 3385
438
[法力药水](魔兽世界)
.additem 3827
2023
[强效法力药水](魔兽世界)
.additem 6149
11903
[超强法力药水](魔兽世界)
.additem 13443
17530
[极效法力药水](魔兽世界)
.additem 13444
17531
[超强效法力药水](燃烧的远征)
.additem 22832
28499
[符刻法力药水](巫妖王之怒)
.additem 33448
43186
[奇效法力药水](大地的裂变)
.additem 57192
未知
------------------------------------------------
[初级活力药水](魔兽世界)
.additem 2456
2370
[特效活力药水](魔兽世界)
.additem 18253
22729
[超级活力药水](燃烧的远征)
.additem 22850
28517
[强效活力药水](巫妖王之怒)
.additem 40087
53761
[强力活力药水](大地的裂变)
.additem 57193
未知
------------------------------------------------
我们首先用navicat.exe软件把所有常规药水的冷却时间 物品类型 类型冷却时间 都修改下
红瓶 改为食物类型11
蓝瓶 紫瓶 改为饮料类型59
这样做可用食物与饮料的类型让药水在战斗中重复使用
我们在navicat.exe中选择查询——新建查询 复制以下药水代码后点击左上角的绿色运行按钮
navicat.exe具体导入命令如下(包含了大灾变的新药水 无视就好)
UPDATE item_template SET spellcooldown_1 = -1 where entry = 118;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 858;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 929;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 1710;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 3928;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 13446;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 22829;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 33447;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 57191;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 2455;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 3385;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 3827;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 6149;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 13443;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 13444;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 22832;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 33448;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 57192;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 2456;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 18253;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 22850;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 40087;
UPDATE item_template SET spellcooldown_1 = -1 where entry = 57193;
UPDATE item_template SET spellcategory_1 = 11 where entry = 118;
UPDATE item_template SET spellcategory_1 = 11 where entry = 858;
UPDATE item_template SET spellcategory_1 = 11 where entry = 929;
UPDATE item_template SET spellcategory_1 = 11 where entry = 1710;
UPDATE item_template SET spellcategory_1 = 11 where entry = 3928;
UPDATE item_template SET spellcategory_1 = 11 where entry = 13446;
UPDATE item_template SET spellcategory_1 = 11 where entry = 22829;
UPDATE item_template SET spellcategory_1 = 11 where entry = 33447;
UPDATE item_template SET spellcategory_1 = 11 where entry = 57191;
UPDATE item_template SET spellcategory_1 = 59 where entry = 2455;
UPDATE item_template SET spellcategory_1 = 59 where entry = 3385;
UPDATE item_template SET spellcategory_1 = 59 where entry = 3827;
UPDATE item_template SET spellcategory_1 = 59 where entry = 6149;
UPDATE item_template SET spellcategory_1 = 59 where entry = 13443;
UPDATE item_template SET spellcategory_1 = 59 where entry = 13444;
UPDATE item_template SET spellcategory_1 = 59 where entry = 22832;
UPDATE item_template SET spellcategory_1 = 59 where entry = 33448;
UPDATE item_template SET spellcategory_1 = 59 where entry = 57192;
UPDATE item_template SET spellcategory_1 = 59 where entry = 2456;
UPDATE item_template SET spellcategory_1 = 59 where entry = 18253;
UPDATE item_template SET spellcategory_1 = 59 where entry = 22850;
UPDATE item_template SET spellcategory_1 = 59 where entry = 40087;
UPDATE item_template SET spellcategory_1 = 59 where entry = 57193;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 118;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 858;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 929;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 1710;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 3928;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 13446;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 22829;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 33447;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 57191;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 2455;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 3385;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 3827;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 6149;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 13443;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 13444;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 22832;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 33448;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 57192;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 2456;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 18253;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 22850;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 40087;
UPDATE item_template SET spellcategorycooldown_1 = -1 where entry = 57193;
完成后再打开MyDbcEditor.exe
用该程序打开 游戏服务端 里 Core文件夹/dbc文件夹/Spell.dbc文件 查找药水物品触发的技能 并逐一修改
比如
[初级治疗药水]118号 它所发挥的技能ID为439
找到后把439号魔法后看上方的横向项目提示格
第2项(默认为4)第31项(默认为10000)第32项(默认为8)
其中
2项为技能种类分配
31项为技能冷却时间
32项为m_interruptFlags 打断标记
把这些项目都改为0后玩家将可在游戏中自由使用相应修改后的药水 而且修改后的药水之间不会相互关联冷却