源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.5 KiB

  1. -- 宠物
  2. -- tyl
  3. -- 宠物基础数据
  4. CREATE TABLE IF NOT EXISTS `role_pet` (
  5. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  6. `pet_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '宠物Id',
  7. `pet_stage` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '宠物阶级',
  8. `pet_star` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '宠物星级',
  9. `pet_lv` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '宠物培养等级',
  10. `pet_exp` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '宠物经验',
  11. `is_follow` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '跟随状态 0,非跟随 1,跟随',
  12. `adopt_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '领养时间',
  13. PRIMARY KEY (`role_id`,`pet_id`)
  14. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='宠物基础数据表';
  15. -- 宠物技能石
  16. CREATE TABLE IF NOT EXISTS `pet_skill_diamond` (
  17. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  18. `pet_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '宠物Id',
  19. `diamond_slot` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '技能石槽位',
  20. `diamond_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '技能石Id',
  21. PRIMARY KEY (`role_id`,`pet_id`,`diamond_slot`)
  22. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='宠物技能宝石栏数据表';
  23. ALTER TABLE `guild_merge`
  24. MODIFY COLUMN `target` bigint(20) UNSIGNED NOT NULL DEFAULT 0 COMMENT '对方公会' AFTER `identity`;