Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 水客版宠物forD4正式版

[复制链接]
dellnotebook 发表于 2006-1-14 17:53:18 | 显示全部楼层
数据库升级文件出错,WHY?
ALTER TABLE cdb_mypetitemdata MODIFY itemplus VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetpacket MODIFY itemplus VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetpacket ADD owner VARCHAR(15) NOT NULL default '';
ALTER TABLE cdb_mypetpacket ADD sellto VARCHAR(15) NOT NULL default '';
ALTER TABLE cdb_mypetpacket ADD price int(10) NOT NULL default '0';
ALTER TABLE cdb_mypetdata MODIFY armhead VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetdata MODIFY armleftear VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetdata MODIFY armrightear VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetdata MODIFY armleft VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetdata MODIFY armright VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetdata MODIFY armbody VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetdata MODIFY armfoot VARCHAR(255) NOT NULL default '';

ALTER TABLE cdb_mypetstore MODIFY armhead VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetstore MODIFY armleftear VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetstore MODIFY armrightear VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetstore MODIFY armleft VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetstore MODIFY armright VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetstore MODIFY armbody VARCHAR(255) NOT NULL default '';
ALTER TABLE cdb_mypetstore MODIFY armfoot VARCHAR(255) NOT NULL default '';

INSERT INTO `cdb_petshopdata` VALUES (7, '暗精灵球(精灵系)', 'dark', '拥有暗黑力量的喑精灵球,最终形态将是地狱守门者。', '暗');
INSERT INTO `cdb_petshopdata` VALUES (8, '光精灵球(精灵系)', 'light', '拥有光明力量的光精灵球,最终形态将是福音使者。', '光');
INSERT INTO `cdb_petshopdata` VALUES (9, '邪魂龙球(恶龙系)', 'evil', '拥有吸食灵魂力量的邪魂龙,最终形态将是狂暴邪魂龙。', '暗');
INSERT INTO `cdb_petshopdata` VALUES (10, '雷鸣伏特球(兽系)', 'ring', '生活在云雾中的雷鸣伏特,拥有谁也想不到的强大能力。', '光');
INSERT INTO `cdb_petshopdata` VALUES (11, '加尔多努球(冰龙系)', 'winter', '迷幻冰湖中的加尔多努,拥有冰结大地的强大力量。', '水');
INSERT INTO `cdb_petshopdata` VALUES (12, '影比特球(兽系)', 'sky', '拥有吸食影子力量的影比特, 最终形态将是月光比特。', '暗');
INSERT INTO `cdb_petshopdata` VALUES (13, '多洛球(恶魔系)', 'king', '拥有召唤力量的多洛球,最终形态是死灵法师。\r\n', '暗');
INSERT INTO `cdb_petshopdata` VALUES (14, '恐龙球(化石系)', 'fossil', '在石器时代长大的,最终形态是化骨龙。', '金');
INSERT INTO `cdb_petshopdata` VALUES (15, '狂暴球(机械系)', 'sys', '狂暴的机械一族,最终形态是机械王。\r\n', '金');
INSERT INTO `cdb_petshopdata` VALUES (16, '恶化球(兽人系)', 'moon', '热爱战争的兽人系,最终形态是死灵兽人。', '火');
INSERT INTO `cdb_petshopdata` VALUES (17, '霸权球(兽系)', 'east', '热爱自然的兽系,最终形态是霸权之魂。\r\n', '光');
INSERT INTO `cdb_petshopdata` VALUES (18, '妖巫球(恶魔系)', 'newkill', '栖居在黑暗之地的恶魔,最终形态是古代巫师。', '暗');
INSERT INTO `cdb_petshopdata` VALUES (19, '无明球(神秘系)', 'lqq', '热爱和平的神秘系,最终形态是封印使者。', '木');
INSERT INTO `cdb_petshopdata` VALUES (20, '裂空(神秘系)', 'pc', '传说中裂空的王者,操纵黑暗的破坏之王。', '暗');
INSERT INTO `cdb_petshopdata` VALUES (21, '小苗球(草系)', 'newplant', '黑暗的草木系,最终形态是枯树巨灵神。\r\n', '火');
INSERT INTO `cdb_petshopdata` VALUES (22, '虫虫球(草系)', 'hupo', '很奇怪的一种生物,终极形态不详。', '木');
INSERT INTO `cdb_petshopdata` VALUES (23, '战士(人族)', 'roboy', '仙境传说中的英雄,最终形态是骑士团长。', '木');





Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('alife,2','0','999','700,200','复活之羽2级','让死掉的宠物复活,并回复少量hp和sp','store,user,useable','','0','+dead,1,+hp,300,+sp,100') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('alife,3','0','999','900,200','复活之羽3级','让死掉的宠物复活,并回复大量hp和少量sp','store,user,useable','','0','+dead,1,+hp,500,+sp,200') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('potion,3','0','999','400,90','生命力回复药(400)','生命值回复约400点','store,user,useable','','0','+hp,400') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('potion,4','0','999','700,90','生命力回复药(700)','生命值回复约700点','store,user,useable','','0','+hp,700') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('cook,3','0','999','750,100','炒豆角','恢复魔力约400点','store,user,useable','','0','+sp,400') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('cook,4','0','999','900,100','三鲜伊面','恢复魔力约600点','store,user,useable','','0','+sp,600') ;


Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,1','1','999','10,2','水客坊的力量','来自水客坊的神秘宝石','store,user,useable','','0','+atk,1-2');
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,2','1','999','10,2','水客坊的坚强','来自水客坊的神秘宝石','store,user,useable','','0','+def,1-2');
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,3','1','999','10,2','水客坊的血液','来自水客坊的神秘宝石','store,user,useable','','0','+maxhp,1-2');
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,4','1','999','10,2','水客坊的魔力','来自水客坊的神秘宝石','store,user,useable','','0','+maxsp,1-2');

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,5','1','999','20,5','利刃的护持','来自水客坊的神秘能量球','store,user,useable','','0','+rebound,1-2') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,6','1','999','20,5','鲜血的召唤','来自水客坊的神秘能量球','store,user,useable','','0','+blood,1-2') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,7','1','999','20,5','魔法的力量','来自水客坊的神秘能量球','store,user,useable','','0','+magatk,1-2') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,8','1','999','20,5','生命的复苏','来自水客坊的神秘能量球','store,user,useable','','0','+restore,1-2') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,9','1','999','30,10','结晶的利刃的护持','来自水客坊的神秘能量宝石','store,user,useable','','0','+rebound,2-5') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,10','1','999','30,10','结晶的鲜血的召唤','来自水客坊的神秘能量宝石','store,user,useable','','0','+blood,2-5') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,11','1','999','30,10','结晶的魔法的力量','来自水客坊的神秘能量宝石','store,user,useable','','0','+magatk,2-5') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,12','1','999','30,10','结晶的生命的复苏','来自水客坊的神秘能量宝石','store,user,useable','','0','+restore,2-5') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,13','1','999','40,15','速度的源泉','来自水客坊的神秘能量宝石','store,user,useable','','0','+spd,1-5') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,14','1','999','40,15','魔法的技能','来自水客坊的神秘能量宝石','store,user,useable','','0','+mag,1-5') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('gem,15','1','999','80,20','天神的力量','来自水客坊的神秘能量宝石','store,user,useable','','0','+atk,3,+def,3,+maxhp,3,+maxsp,3,+rebound,3,+blood,3,+magatk,3,+restore,3,+spd,1-3,+mag,1-3') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('mine,1','1','999','10,2','铁块','水客坊出产的铁块','store,user,useable','','0','+durmax,1') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('mine,2','1','999','12,4','铜块','水客坊出产的铜块','store,user,useable','','0','+durmax,1-3') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('mine,3','1','999','15,6','银块','水客坊出产的银块','store,user,useable','','0','+durmax,2-5') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('mine,4','1','999','17,8','金块','水客坊出产的金块','store,user,useable','','0','+durmax,6-10') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('mine,5','1','999','20,9','水客坊的陨石','在水客坊发现的天外飞石','store,user,useable','','0','+durmax,11-15') ;



Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,12','15','1','17000,8000','嗜血的剑','传说中嗜血的剑,据说魔法高强者才能成为它真正的主人','store,user,armable,fixable','right','0','+atk,20-48,-spd,1-5,+blood,5-15,+dur,200-300') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,11','11','1','15000,5000','左手巨剑','倚天神剑左手版','store,user,armable,fixable','left','0','+atk,24-44,+magatk,1-5,-spd,5-7,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,13','11','1','15000,100','血色水晶剑','可以吸取对方生命的神秘宝剑','store,user,armable,fixable','right','0','+atk,20-24,+blood,5-10,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,14','11','1','15000,100','双刃巨剑','双刃巨剑','store,user,armable,fixable','right','0','+atk,20-30,+def,1-5,+magatk,5-10,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,15','11','1','15000,100','马刀','马刀','store,user,armable,fixable','right','0','+atk,20-24,+spd,1-5,+magatk,10-15,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,16','11','1','15000,200','短刀','短刀','store,user,armable,fixable','right','0','+atk,14-30,+spd,5-15,+magatk,5,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,17','11','1','15000,300','波状刃短剑','波状刃短剑','store,user,armable,fixable','right','0','+atk,35-70,+maxhp,80-100,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('sword,18','11','1','15000,500','幻影魔法剑','由水客坊管理员特别打造','store,user,armable,fixable','right','0','+atk,24-70,+mag,10-20,+magatk,20-30,+dur,400-500') ;


Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('axe,1','11','1','15000,500','双刃斧','双刃斧','store,user,armable,fixable','right','0','+atk,20-30,+spd,1-5,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('axe,2','11','1','15000,100','巨斧','巨斧','store,user,armable,fixable','right','0','+atk,44-50,-spd,5,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('axe,3','11','1','15000,150','巨人斧','巨人斧','store,user,armable,fixable','left','0','+atk,45-60,-spd,7,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('axe,4','11','1','15000,150','战斧','战斧','store,user,armable,fixable','left','0','+atk,50-70,-spd,5-7,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('axe,5','11','1','15000,200','战争斧','战争斧','store,user,armable,fixable','right','0','+atk,80-90,-spd,8-10,+dur,400-500') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('stave,1','11','1','15000,300','骨杖','骨杖','store,user,armable,fixable','right','0','+atk,1-7,+mag,5-10,+maxsp,40-50,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('stave,2','11','1','15000,400','紫杉木权杖','紫杉木权杖','store,user,armable,fixable','right','0','+atk,1-7,+mag,11-15,+maxsp,51-100,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('stave,3','11','1','15000,500','骷髅权杖','骷髅权杖','store,user,armable,fixable','right','0','+atk,1-8,+mag,16-20,+maxsp,100-150,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('stave,4','11','1','15000,600','王者权杖','王者权杖','store,user,armable,fixable','right','0','+atk,1-9,+mag,21-25,+maxsp,150-200,+dur,400-500') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('boots,11','11','1','15000,50','链靴','链靴','store,user,armable,fixable','foot','0','+def,5-10,+maxhp,10-50,+spd,1-5,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('boots,12','11','1','15000,100','轻甲靴','轻甲靴','store,user,armable,fixable','foot','0','+def,10-20,+maxhp,50-80,+spd,3-7,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('boots,13','11','1','15000,200','重型靴','重型靴','store,user,armable,fixable','foot','0','+def,20-30,+maxhp,60-120,+spd,7-10,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('boots,14','11','1','15000,300','战神的钢甲靴','传说中战神战斗时所穿的钢甲靴','store,user,armable,fixable','foot','0','+def,70-90,+maxhp,50-180,+spd,10-15,+dur,400-500') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,11','11','1','15000,50','鳞甲','鳞甲','store,user,armable,fixable','body','0','+def,30,+maxhp,5-20,-spd,1-5,+rebound,1-5,+restore,1-5,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,12','11','1','15000,80','胸甲','胸甲','store,user,armable,fixable','body','0','+def,40,+maxhp,10-40,-spd,1-5,+rebound,6-10,+restore,5-10,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,13','11','1','15000,100','环甲','环甲','store,user,armable,fixable','body','0','+def,60,+maxhp,20-50,+rebound,12,+restore,15-20,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,14','11','1','15000,150','轻板甲','轻板甲','store,user,armable,fixable','body','0','+def,70,+maxhp,40-60,+maxsp,50-60,+spd,1-5,+rebound,6-12,+restore,20-30,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,15','11','1','15000,200','哥特式盔甲','哥特式盔甲','store,user,armable,fixable','body','0','+def,50-70,+maxhp,70-90,+mag,1-6,+rebound,15-20,+restore,30-40,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,16','11','1','15000,250','野战板甲','野战板甲','store,user,armable,fixable','body','0','+def,60-85,+maxhp,100,+mag,5-10,+rebound,10-22,+restore,40-50,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,17','11','1','15000,300','全板甲','全板甲','store,user,armable,fixable','body','0','+def,70-100,+maxhp,40-110,+mag,11-15,+spd,5-10,+rebound,25-30,+restore,60-70,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('armor,18','11','1','15000,350','战神的战衣','传说中战神战斗时所穿的盔甲','store,user,armable,fixable','body','0','+def,80-150,+maxhp,70-120,+mag,5-20,+spd,5-10,+rebound,30-50,+restore,40-70,+dur,400-500') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('shield,11','25','1','70000,30000','尖刺盾牌','会刺伤对手的神秘盾牌','store,user,armable,fixable','left','0','+def,12-22,-spd,3-5,+rebound,5-10,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('shield,12','11','1','15000,50','小圆盾','小圆盾','store,user,armable,fixable','left','0','+def,20-30,-spd,3-4,+rebound,3-7,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('shield,13','11','1','15000,80','黄金小圆盾','黄金小圆盾','store,user,armable,fixable','left','0','+def,30-40,-spd,1-2,+rebound,5-10,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('shield,14','11','1','15000,100','死亡的盾牌','骷髅做成的盾牌','store,user,armable,fixable','left','0','+def,40-60,+rebound,10-20,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('shield,15','11','1','15000,120','神圣的盾牌','神圣的盾牌','store,user,armable,fixable','left','0','+def,60-100,+rebound,20-30,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('shield,16','11','1','15000,150','战神的盾牌','传说中战神战斗时所使用的盾牌','store,user,armable,fixable','left','0','+def,100-120,+restore,10-100,+rebound,40-50,+dur,400-500') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('helmet,11','30','1','60000,25000','阿修罗的头盔','具有魔法效果的古老头盔','store,user,armable,fixable','head','0','+magatk,5-20,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('helmet,12','11','1','15000,50','黑暗使者的头盔','来历不明的头盔','store,user,armable,fixable','head','0','+def,10-30,+maxhp,50,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('helmet,13','11','1','15000,80','魔法的面具','具有魔法力量的面具','store,user,armable,fixable','head','0','+def,20-70,+maxsp,30-60,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('helmet,14','11','1','15000,100','神圣的皇冠','神圣的皇冠','store,user,armable,fixable','head','0','+def,30-80,+maxsp,40-70,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('helmet,15','11','1','15000,150','战神的头盔','传说中战神战斗时所使用的头盔','store,user,armable,fixable','head','0','+def,60-100,+maxhp,50-100,+magatk,10-50,+dur,400-500') ;

Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('necklace,13','18','1','50000,20000','受祝福的耳环','一定几率恢复生命','store,user,armable,fixable','leftear','0','+restore,5-20,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('necklace,28','11','1','15000,50','生命的护身符','提高生命上限','store,user,armable,fixable','rightear','0','+maxhp,50-100,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('necklace,29','11','1','15000,50','精力的护身符','提高魔法值上限','store,user,armable,fixable','rightear','0','+maxsp,50-100,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('necklace,30','11','1','15000,50','魔法力量的指环','使攻击带有魔法效果','store,user,armable,fixable','leftear','0','+magatk,5-20,+dur,300-500') ;
Insert into cdb_mypetitemdata(itemtype,itemlevel,itemmaxnum,itemcost,itemname,itemtext,trade,armposition,createtime,itemplus) values('necklace,31','11','1','15000,50','偷生命的指环','攻击时吸取对方生命','store,user,armable,fixable','leftear','0','+blood,5-20,+dur,300-500') ;
回复

使用道具 举报

dikiy 发表于 2006-1-14 18:07:17 | 显示全部楼层
想问一下,压缩包里的“database.txt”这个里面的东东都要在后台进行数据库升级吗?那也太多了吧,而且我试了一下升级出错了,显示“升级错误,MySQL 提示: Table 'discuz.cdb_mypetitemdata' doesn't exist”
回复

使用道具 举报

离恨天 发表于 2006-1-14 18:21:10 | 显示全部楼层
181楼的仔细看看readme,按照上面步骤去做
回复

使用道具 举报

离恨天 发表于 2006-1-14 18:22:01 | 显示全部楼层
原帖由 dikiy 于 2006-1-14 18:07 发表
想问一下,压缩包里的“database.txt”这个里面的东东都要在后台进行数据库升级吗?那也太多了吧,而且我试了一下升级出错了,显示“升级错误,MySQL 提示: Table 'discuz.cdb_mypetitemdata' doesn't exist”

那个不是升级的。

个人觉得是个参考数据而已,具体是用pet_install.php安装操作的。
回复

使用道具 举报

阿狗狗 发表于 2006-1-14 18:40:15 | 显示全部楼层
教大家改一下 防止連續刷新升等刷錢有問題 不要罵我  我是好意 ><~

防惡意刷新升等刷錢 by 阿狗狗(貓仔)
改petpk.php


  1. $time2=$time-$pktime[pktime];
复制代码


上面加
  1. //防止惡意刷新 by 阿狗狗 (貓仔)
  2.         dsetcookie('lastrequest', time(), 0, 0);
  3.         if(time() - $_COOKIE['lastrequest'] < 5) {
  4. showmessage("不要惡意刷新,請 5 秒後再攻擊","pet.php?index=petpk");}
  5. //防止惡意刷新 by 阿狗狗 (貓仔)
复制代码


[ 本帖最后由 阿狗狗 于 2006-1-14 18:51 编辑 ]
回复

使用道具 举报

阿狗狗 发表于 2006-1-14 18:44:07 | 显示全部楼层
原帖由 shenstef 于 2006-1-14 13:00 发表
35楼的下拉菜单有个小错误

查找 pet_navbar.htm


替换成  
多謝提醒
我自己有修正了
附件忘了改
真不好意思
回复

使用道具 举报

dikiy 发表于 2006-1-14 19:12:10 | 显示全部楼层
升级数据库提示“升级错误,MySQL 提示: Duplicate entry '7' for key 1
”怎么办??
回复

使用道具 举报

离恨天 发表于 2006-1-14 19:56:57 | 显示全部楼层
原帖由 阿狗狗 于 2006-1-14 18:40 发表
教大家改一下 防止連續刷新升等刷錢有問題 不要罵我  我是好意 ><~

防惡意刷新升等刷錢 by 阿狗狗(貓仔)
改petpk.php


[code]$time2=$time-$pktime[pk ...


哈哈,好啊,支持啊

[ 本帖最后由 离恨天 于 2006-1-14 20:00 编辑 ]
回复

使用道具 举报

keisky 发表于 2006-1-14 20:15:01 | 显示全部楼层
最高等怎麼設定....
經驗值怎麼設定....
回复

使用道具 举报

阿狗狗 发表于 2006-1-14 20:18:35 | 显示全部楼层
原帖由 离恨天 于 2006-1-14 19:56 发表


哈哈,好啊,支持啊

謝謝~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-22 20:59 , Processed in 0.033675 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表