開啟Navicat 打開要修改的資料庫後
按F6
出現
mysql>
無限大賽 普通怪物出現量 除以10
update spawnlist_ub set count = (count/10) where group_id<4;
無限大賽 普通怪物出現量*2
update spawnlist_ub set count = (count*2) where group_id<4;
要把地圖編號666(地獄)的怪物改成兩倍
update spawnlist set count = (count*2) where mapid = 666 && count > 1;
update spawnlist set count = 2 where mapid = 666 && count = 1;
(2倍的怪 全地圖)
update spawnlist set count = 2 where count = 1;
update spawnlist set count = (count*2) where count > 1;
掉落指定的物品(40733) 機率增加10倍
update droplist set chance =(chance*10) where itemId = 40733;
(把所有怪物重生時間變成原來2倍)
UPDATE spawnlist SET max_respawn_delay =(max_respawn_delay*2);
UPDATE spawnlist SET min_respawn_delay =(min_respawn_delay*2);
(定所有怪物重生時間)
UPDATE `spawnlist` SET `respawn_delay`='秒數';
是不是很簡單阿!? 大家可以試試看!! 因版本不同小弟也不敢保證能夠修改完成。
在這隻是分享我學到的經驗
以程式碼來說*=乘
/=除 所以倍數可以自改
|