标签:
杂谈 |
分类: 游戏相关 |
|
1.堆叠数类: UPDATE `item_template` SET stackable = 999 where stackable > 1 ; #所有堆叠数大于1的改为999 UPDATE `item_template` SET `stackable`='999' WHERE (`entry`='6265') ; #灵魂碎片堆叠数改为999 2.价格类: UPDATE `item_template` SET buyprice = buyprice*10 ; #所有购入价为原价的10倍 3.产量类: UPDATE `skinning_loot_template` SET `maxcount` = 20 ; #剥皮最大产量为20单位 UPDATE `fishing_loot_template` SET `maxcount` = 20 ; #钓鱼 UPDATE `gameobject_loot_template` SET `maxcount` = 20 ;草、矿、宝箱 UPDATE `prospecting_loot_template` SET `maxcount` = 20 ;采矿附产品(孔雀石、虎眼石、等)最大产量为20单位 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='2589' ;亚麻布最大产量为20 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='2592' ;毛料 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='4306' ;丝绸 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='4338' ;魔纹布 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='14047' ;符文布 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='14256' ;恶魔布 UPDATE `creature_loot_template` SET `maxcount`='20' WHERE `item`='21877' ;灵纹布 4.刷新时间类: UPDATE `gameobject` SET `spawntimesecs` = 5 ;草、矿、宝箱等刷新时间为5秒 UPDATE `creature` SET `spawntimesecs` = 5 ;怪物刷新时间为5秒,BOSS的虽超过5秒,但也绝不会让你等很久 5.冷却时间类: UPDATE `item_template` SET spellcategorycooldown_1 = 5000 where spellcategorycooldown_1 = 120000 and class = 0 ;#将药水的冷却时间设为5秒 6.趣味类: UPDATE `item_template` SET randomsuffix = 222 where randomsuffix = 0 and Quality > 1 and class = 2 ;为绿色及以上的无随机附魔的武器加上221的随机附魔 UPDATE `item_template` SET randomsuffix = 221 where randomsuffix = 0 and Quality > 1 and class = 4 ;为绿色及以上的无随机附魔的防具加上221的随机附魔 这里我选的是221的随机附魔,有加物攻的,有加法伤的,有加敏捷的。。。所有职业都会有适合的,如果集齐一套“心灵之XXX”,加的法伤将有6百多, 当然你也可以选择其它的,只要是randomsuffix字段出现的,都可以用,提示下:222最适合战士用。你也可以把命令中的and Quality > 1去掉,这样连灰色装备也会有随机附魔效果,虽然鼠标行色移到装备上时所加的都是0,但在插件框里是有显示的。 7.BB类: UPDATE `pet_levelstats` SET `hp` = `hp`*2 ; UPDATE `pet_levelstats` SET `mana` = `mana`*2 ; UPDATE `pet_levelstats` SET `armor` = `armor`*10 ; UPDATE `pet_levelstats` SET `str` = `str`*5 ; UPDATE `pet_levelstats` SET `agi` = `agi`*5 ; UPDATE `pet_levelstats` SET `sta` = `sta`*5 ; UPDATE `pet_levelstats` SET `int` = `int`*5 ; UPDATE `pet_levelstats` SET `spi` = `spi`*5 ; 8.给990006的NPC加上各种卷轴: INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','3013','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','954','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','3012','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','1180','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','955','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','1181','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','1478','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','2289','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','1477','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','1711','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','2290','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','1712','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','4421','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','4426','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','4425','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','4422','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','4419','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','4424','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','10305','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','10310','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','10309','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','10307','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','10308','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','10306','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','27500','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','27503','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','27498','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','27502','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','27499','0'); INSERT INTO `npc_vendor` (`entry`,`item`,`maxcount`) VALUES ('990006','27501','0'); update player_levelstats set str=str*3/2,agi=agi*3/2,sta=sta*3/2,inte=inte*3/2,spi=spi*3/2; #人物属性1.5倍 不能再高了 数据库限制255是上限 1.5倍70人物主要属性都是200多了 UPDATE player_classlevelstats SET basehp = basehp*3 ; UPDATE player_classlevelstats SET basemana=basemana*3 where basemana<>0; #人物基础血量蓝 3倍 这两个不知道别人发过没 是不是太简单了 随机附魔221 加个RandomProperty=0 这样没有属性的装备少了好多 至于222没试呢 注意修橙色以上的物品(即quality>4)不起作用 附魔属性为零 另外物品等级越高附魔越好但是itemlevel<=255级 UPDATE item_template SET randomsuffix = 221 where randomsuffix = 0 and RandomProperty=0 and class = 2 and Quality > 1 and quality<5; #为绿色及以上的无随机附魔的武器加上221的随机附魔 UPDATE item_template SET randomsuffix = 221 where randomsuffix = 0 and RandomProperty=0 and class = 4 and Quality > 1 and quality<5; #为绿色及以上的无随机附魔的防具加上221的随机附魔 UPDATE item_template SET stackable = 255 where stackable=20 or stackable=10 or stackable=5 or stackable=100 or stackable=200; #物品叠加的设置上限 好像也是255 设999服务器红字 #stat_type:(1=生命值、2=法力值、3=敏捷、4=力量、5=智力、6=精神 # 7=耐力、12=防御等级、13=躲闪等级、14=招架等级、15=盾牌格挡 # 16=近战命中、17=远程命中、18=法术命中、19=近战暴击、20=远程暴击 # 21=法术暴击、22=近战躲闪、23=远程躲闪、24=法术躲闪、25=近战暴击躲闪、 # 26=远程暴击躲闪、27=法术暴击躲闪、28=近战攻击速度、29=远程攻击速度、 # 30=法术攻击速度、31=命中等级、32暴击等级、33=命中躲闪、34=暴击躲闪、 # 35=韧性、36=急速攻击速度) # 发现好多帖子里没有这个37=专项武器技能或者是精准(没有验证呢 我做得武器有一个是精准) |

加载中…