calmsolemn 发表于 2022-11-4 08:15:51

批量修改M端装备属性语句大全

使用前请安装Navicat 8.0.20 在工具下选中你的数据库` 然后按F6输入下面你想要的命令
NPC修改

NPC的攻击延迟 除于2
UPDATE creature_proto SET attacktime = attacktime/2;
NPC的最小和最大HP血量值 3倍
UPDATE creature_proto SET maxhealth = maxhealth*3;
UPDATE creature_proto SET minhealth = minhealth*3;
NPC的最小和最大伤害值 3倍
UPDATE creature_proto SET mindamage = mindamage*3;
UPDATE creature_proto SET maxdamage = maxdamage*3;
NPC掉落金钱 10倍
UPDATE creature_proto SET money = money*10;

修改自定义装备属性在游戏里显示不出来的语句

用navicat数据库导入

进navicat 在mangos的item_template导入

导成功后看item_template里的StatsCount栏下是不是都是10

UPDATE item_template SET StatsCount = 10;


装备批量精准属性修改

护甲值 3倍
UPDATE item_template SET armor = armor*3;
最小和最大武器伤害值 *30是30倍的意思
UPDATE item_template SET dmg_min1 = dmg_min1*30;
UPDATE item_template SET dmg_max1 = dmg_max1*30;
武器攻击速度延迟 /2是除2的意思
UPDATE item_template SET delay = delay/2;
装备的抵抗抗性 2倍
UPDATE item_template SET holy_res = holy_res*2;
UPDATE item_template SET fire_res = fire_res*2;
UPDATE item_template SET nature_res = nature_res*2;
UPDATE item_template SET frost_res = frost_res*2;
UPDATE item_template SET shadow_res = shadow_res*2;
UPDATE item_template SET arcane_res = arcane_res*2;
购买商品价钱 3倍
UPDATE item_template SET buyprice = buyprice*3;
卖出商品价钱 3倍
UPDATE item_template SET sellprice = sellprice*3;
修改敏捷
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=3;
UPDATE iitem_template SET stat_value2 = stat_value2*10 WHERE stat_type2=3;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=3;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=3;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=3;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=3;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=3;
修改力量
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=4;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=4;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=4;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=4;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=4;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=4;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=4;
修改智力
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=5;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=5;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=5;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=5;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=5;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=5;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=5;
修改精神
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=6;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=6;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=6;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=6;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=6;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=6;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=6;
修改耐力
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=7;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=7;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=7;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=7;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=7;
UPDATE item_template SET stat_value6 = stat_value3*10 WHERE stat_type6=7;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=7;
修改武器等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=11;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=11;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=11;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=11;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=11;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=11;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=11;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=11;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=11;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=11;
修改防御等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=12;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=12;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=12;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=12;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=12;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=12;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=12;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=12;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=12;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=12;
修改躲避等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=13;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=13;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=13;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=13;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=13;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=13;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=13;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=13;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=13;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=13;
修改招架等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=14;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=14;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=14;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=14;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=14;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=14;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=14;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=14;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=14;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=14;
修改盾格档等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=15;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=15;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=15;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=15;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=15;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=15;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=15;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=15;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=15;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=15;
修改命中等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=16;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=16;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=16;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=16;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=16;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=16;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=16;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=16;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=16;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=16;
修改远程命中等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=17;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=17;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=17;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=17;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=17;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=17;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=17;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=17;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=17;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=17;
修改法术命中等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=18;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=18;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=18;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=18;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=18;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=18;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=18;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=18;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=18;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=18;
修改法术暴击等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=21;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=21;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=21;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=21;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=21;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=21;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=21;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=21;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=21;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=21;
修改近战躲避等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=22;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=22;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=22;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=22;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=22;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=22;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=22;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=22;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=22;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=22;
修改远程躲避等级
UPDATE item_template SET stat_value1 = stat_value1*10 WHERE stat_type1=23;
UPDATE item_template SET stat_value2 = stat_value2*10 WHERE stat_type2=23;
UPDATE item_template SET stat_value3 = stat_value3*10 WHERE stat_type3=23;
UPDATE item_template SET stat_value4 = stat_value4*10 WHERE stat_type4=23;
UPDATE item_template SET stat_value5 = stat_value5*10 WHERE stat_type5=23;
UPDATE item_template SET stat_value6 = stat_value6*10 WHERE stat_type6=23;
UPDATE item_template SET stat_value7 = stat_value7*10 WHERE stat_type7=23;
UPDATE item_template SET stat_value8 = stat_value8*10 WHERE stat_type8=23;
UPDATE item_template SET stat_value9 = stat_value9*10 WHERE stat_type9=23;
UPDATE item_template SET stat_value10 = stat_value10*10 WHERE stat_type10=23;

mikeshinoda 发表于 2022-11-4 08:54:44

强烈支持楼主ing……

uid9yt5mnq 发表于 2022-11-6 09:20:00

看到这帖子真是高兴!

1728078718 发表于 2022-11-9 12:33:29

无回帖,不论坛,这才是人道。

13541998866 发表于 2022-11-10 02:05:37

看到这帖子真是高兴!

jdflfl87 发表于 2022-11-10 16:16:39

淡定,淡定,淡定……

411129362 发表于 2022-11-11 08:21:46

太生气了,无法HOLD啦 >_<......

sgsmd123 发表于 2022-11-11 14:31:15

看到这帖子真是高兴!

go_dxy 发表于 2022-11-13 00:08:41

楼主加油,我们都看好你哦。

kuake2002 发表于 2022-11-13 10:49:00

感恩无私的分享与奉献 :)
页: [1] 2
查看完整版本: 批量修改M端装备属性语句大全