如何把注册账号设置成GM,可以继续输入下列代码 account set gmlevel 账号 3 -1 回车即可! 如下图 注意:设置完GM权限以后 重启worldsever核心GM权限才生效例如:account set gmlevel 1 3 -1,有些端指令可能会有所不同,不过大致是一样的,主要看你最终获得权限是不是3,如果不是三的话,那就后面3 -1换成 3,再或者-1 3。
比如account set gmlevel 1 3
account set gmlevel 1 -1 3
如果前面输入的指令获得权限不是3,后面找到权限3的了就多输入几次,覆盖下。然后重启服务端,重启服务端时候不要直接点X,要用ctrl+c关闭,不然你前面操作的数据可能不会被保存。
下面开始说说装备属性批量修改的问题。
风林火山这个端里的所有职业都有属性伤害加成,物理系就不用多说了,和官方是一样的。而法系的属性伤害加成就是精神。风林火山端精神是100%加成法术强度的。
那么要批量修改五维属性其实也很简单,这里需要借助一个工具——[url=链接:https://pan.baidu.com/s/1-JnfdNvWvdbUFrQe8ZgbGQ?pwd=8888]Navicat for MySQL[/url]下载解压
1:打开服务端
2:打开Navicat for MySQL,点左上链接,在弹出窗密码栏输入root(必须小写)
3左边栏左键双击,然后右键mysql>console左键,然后在弹出窗里粘贴代码然后回车
装备属性代码
力敏耐智精的代码就是3.4.5.6.7 下面就是我修改的原倍率数据,力量和敏捷我设置的是10倍,耐力和智力是20倍,由于官方属性里的精神属性比较低所以我设置的稍微高了一点是30倍。
UPDATE item_template SET stat_value1 = stat_value1*10 where stat_type1 = 3;
UPDATE item_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_value8 = stat_value8*10 where stat_type8 = 3;
UPDATE item_template SET stat_value9 = stat_value9*10 where stat_type9 = 3;
UPDATE item_template SET stat_value10 = stat_value10*10 where stat_type10 = 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_value8 = stat_value8*10 where stat_type8 = 4;
UPDATE item_template SET stat_value9 = stat_value9*10 where stat_type9 = 4;
UPDATE item_template SET stat_value10 = stat_value10*10 where stat_type10 = 4;
UPDATE item_template SET stat_value1 = stat_value1*20 where stat_type1 = 5;
UPDATE item_template SET stat_value2 = stat_value2*20 where stat_type2 = 5;
UPDATE item_template SET stat_value3 = stat_value3*20 where stat_type3 = 5;
UPDATE item_template SET stat_value4 = stat_value4*20 where stat_type4 = 5;
UPDATE item_template SET stat_value5 = stat_value5*20 where stat_type5 = 5;
UPDATE item_template SET stat_value6 = stat_value6*20 where stat_type6 = 5;
UPDATE item_template SET stat_value7 = stat_value7*20 where stat_type7 = 5;
UPDATE item_template SET stat_value8 = stat_value8*20 where stat_type8 = 5;
UPDATE item_template SET stat_value9 = stat_value9*20 where stat_type9 = 5;
UPDATE item_template SET stat_value10 = stat_value10*20 where stat_type10 = 5;
UPDATE item_template SET stat_value1 = stat_value1*20 where stat_type1 = 6;
UPDATE item_template SET stat_value2 = stat_value2*20 where stat_type2 = 6;
UPDATE item_template SET stat_value3 = stat_value3*20 where stat_type3 = 6;
UPDATE item_template SET stat_value4 = stat_value4*20 where stat_type4 = 6;
UPDATE item_template SET stat_value5 = stat_value5*20 where stat_type5 = 6;
UPDATE item_template SET stat_value6 = stat_value6*20 where stat_type6 = 6;
UPDATE item_template SET stat_value7 = stat_value7*20 where stat_type7 = 6;
UPDATE item_template SET stat_value8 = stat_value8*20 where stat_type8 = 6;
UPDATE item_template SET stat_value9 = stat_value9*20 where stat_type9 = 6;
UPDATE item_template SET stat_value10 = stat_value10*20 where stat_type10 = 6;
UPDATE item_template SET stat_value1 = stat_value1*30 where stat_type1 = 7;
UPDATE item_template SET stat_value2 = stat_value2*30 where stat_type2 = 7;
UPDATE item_template SET stat_value3 = stat_value3*30 where stat_type3 = 7;
UPDATE item_template SET stat_value4 = stat_value4*30 where stat_type4 = 7;
UPDATE item_template SET stat_value5 = stat_value5*30 where stat_type5 = 7;
UPDATE item_template SET stat_value6 = stat_value6*30 where stat_type6 = 7;
UPDATE item_template SET stat_value7 = stat_value7*30 where stat_type7 = 7;
UPDATE item_template SET stat_value8 = stat_value8*30 where stat_type8 = 7;
UPDATE item_template SET stat_value9 = stat_value9*30 where stat_type9 = 7;
UPDATE item_template SET stat_value10 = stat_value10*30 where stat_type10 = 7;
然后是武器秒伤修改,我设置的是两倍,
UPDATE item_template SET dmg_min1 = dmg_min1*2;
UPDATE item_template SET dmg_max1 = dmg_max1*2;