Chronicle 4 branch.

This commit is contained in:
MobiusDev
2017-07-19 21:24:06 +00:00
parent 9a69bec286
commit 3a0bf3539a
13496 changed files with 641683 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
-- ----------------------------
-- Table structure for custom_armor
-- ----------------------------
DROP TABLE IF EXISTS custom_armor;
CREATE TABLE `custom_armor` (
`item_id` int(11) NOT NULL DEFAULT '0',
`name` varchar(70) DEFAULT NULL,
`bodypart` varchar(15) NOT NULL DEFAULT '',
`crystallizable` varchar(5) NOT NULL DEFAULT '',
`armor_type` varchar(5) NOT NULL DEFAULT '',
`weight` int(5) NOT NULL DEFAULT '0',
`material` varchar(15) NOT NULL DEFAULT '',
`crystal_type` varchar(4) NOT NULL DEFAULT '',
`avoid_modify` int(1) NOT NULL DEFAULT '0',
`p_def` int(3) NOT NULL DEFAULT '0',
`m_def` int(2) NOT NULL DEFAULT '0',
`mp_bonus` int(3) NOT NULL DEFAULT '0',
`price` int(11) NOT NULL DEFAULT '0',
`crystal_count` int(4) DEFAULT NULL,
`sellable` varchar(5) DEFAULT 'true',
`dropable` varchar(5) DEFAULT 'true',
`destroyable` varchar(5) DEFAULT 'true',
`tradeable` varchar(5) DEFAULT 'true',
`item_skill_id` decimal(11,0) NOT NULL DEFAULT '0',
`item_skill_lvl` decimal(11,0) NOT NULL DEFAULT '0',
PRIMARY KEY (`item_id`)
);

View File

@@ -0,0 +1,17 @@
--
-- Table structure for table `custom_armorsets`
--
DROP TABLE IF EXISTS custom_armorsets;
CREATE TABLE custom_armorsets (
id int(3) NOT NULL auto_increment,
chest decimal(11,0) NOT NULL default '0',
legs decimal(11,0) NOT NULL default '0',
head decimal(11,0) NOT NULL default '0',
gloves decimal(11,0) NOT NULL default '0',
feet decimal(11,0) NOT NULL default '0',
skill_id decimal(11,0) NOT NULL default '0',
shield decimal(11,0) NOT NULL default '0',
shield_skill_id decimal(11,0) NOT NULL default '0',
PRIMARY KEY (id,chest)
);

View File

@@ -0,0 +1,14 @@
-- ----------------------------
-- Table structure for custom_droplist
-- ----------------------------
DROP TABLE IF EXISTS `custom_droplist`;
CREATE TABLE `custom_droplist` (
`mobId` int(11) NOT NULL DEFAULT '0',
`itemId` int(11) NOT NULL DEFAULT '0',
`min` int(11) NOT NULL DEFAULT '0',
`max` int(11) NOT NULL DEFAULT '0',
`category` int(11) NOT NULL DEFAULT '0',
`chance` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`mobId`,`itemId`,`category`),
KEY `key_mobId` (`mobId`)
);

View File

@@ -0,0 +1,23 @@
-- ----------------------------
-- Table structure for custom_etcitem
-- ----------------------------
DROP TABLE IF EXISTS `custom_etcitem`;
CREATE TABLE `custom_etcitem` (
`item_id` decimal(11,0) NOT NULL DEFAULT '0',
`name` varchar(100) DEFAULT NULL,
`crystallizable` varchar(5) DEFAULT NULL,
`item_type` varchar(14) DEFAULT NULL,
`weight` decimal(4,0) DEFAULT NULL,
`consume_type` varchar(9) DEFAULT NULL,
`material` varchar(11) DEFAULT NULL,
`crystal_type` varchar(4) NOT NULL DEFAULT 'none',
`price` decimal(11,0) DEFAULT NULL,
`crystal_count` int(4) DEFAULT NULL,
`sellable` varchar(5) DEFAULT 'true',
`dropable` varchar(5) DEFAULT 'true',
`destroyable` varchar(5) DEFAULT 'true',
`tradeable` varchar(5) DEFAULT 'true',
`oldname` varchar(100) NOT NULL DEFAULT '',
`oldtype` varchar(100) NOT NULL DEFAULT '',
PRIMARY KEY (`item_id`)
);

View File

@@ -0,0 +1,15 @@
-- ----------------------------
-- Table structure for `custom_merchant_buylists`
-- ----------------------------
DROP TABLE IF EXISTS `custom_merchant_buylists`;
CREATE TABLE `custom_merchant_buylists` (
`item_id` decimal(9,0) NOT NULL DEFAULT '0',
`price` decimal(11,0) NOT NULL DEFAULT '0',
`shop_id` decimal(9,0) NOT NULL DEFAULT '0',
`order` decimal(4,0) NOT NULL DEFAULT '0',
`count` INT( 11 ) NOT NULL DEFAULT '-1',
`currentCount` INT( 11 ) NOT NULL DEFAULT '-1',
time INT NOT NULL DEFAULT '0',
savetimer DECIMAL(20,0) NOT NULL DEFAULT '0',
PRIMARY KEY (`shop_id`,`order`)
);

View File

@@ -0,0 +1,9 @@
-- ----------------------------
-- Table structure for `custom_merchant_shopids`
-- ----------------------------
DROP TABLE IF EXISTS `custom_merchant_shopids`;
CREATE TABLE `custom_merchant_shopids` (
`shop_id` decimal(9,0) NOT NULL DEFAULT '0',
`npc_id` varchar(9) DEFAULT NULL,
PRIMARY KEY (`shop_id`)
);

View File

@@ -0,0 +1,52 @@
-- ----------------------------
-- Table structure for `custom_npc`
-- ----------------------------
DROP TABLE IF EXISTS `custom_npc`;
CREATE TABLE `custom_npc` (
`id` decimal(11,0) NOT NULL DEFAULT '0',
`idTemplate` int(11) NOT NULL DEFAULT '0',
`name` varchar(200) DEFAULT NULL,
`serverSideName` int(1) DEFAULT '0',
`title` varchar(45) DEFAULT '',
`serverSideTitle` int(1) DEFAULT '0',
`class` varchar(200) DEFAULT NULL,
`collision_radius` decimal(5,2) DEFAULT NULL,
`collision_height` decimal(5,2) DEFAULT NULL,
`level` decimal(2,0) DEFAULT NULL,
`sex` varchar(6) DEFAULT NULL,
`type` varchar(20) DEFAULT NULL,
`attackrange` int(11) DEFAULT NULL,
`hp` decimal(8,0) DEFAULT NULL,
`mp` decimal(5,0) DEFAULT NULL,
`hpreg` decimal(8,2) DEFAULT NULL,
`mpreg` decimal(5,2) DEFAULT NULL,
`str` decimal(7,0) DEFAULT NULL,
`con` decimal(7,0) DEFAULT NULL,
`dex` decimal(7,0) DEFAULT NULL,
`int` decimal(7,0) DEFAULT NULL,
`wit` decimal(7,0) DEFAULT NULL,
`men` decimal(7,0) DEFAULT NULL,
`exp` decimal(9,0) DEFAULT NULL,
`sp` decimal(8,0) DEFAULT NULL,
`patk` decimal(5,0) DEFAULT NULL,
`pdef` decimal(5,0) DEFAULT NULL,
`matk` decimal(5,0) DEFAULT NULL,
`mdef` decimal(5,0) DEFAULT NULL,
`atkspd` decimal(3,0) DEFAULT NULL,
`aggro` decimal(6,0) DEFAULT NULL,
`matkspd` decimal(4,0) DEFAULT NULL,
`rhand` decimal(4,0) DEFAULT NULL,
`lhand` decimal(4,0) DEFAULT NULL,
`armor` decimal(1,0) DEFAULT NULL,
`walkspd` decimal(3,0) DEFAULT NULL,
`runspd` decimal(3,0) DEFAULT NULL,
`faction_id` varchar(40) DEFAULT NULL,
`faction_range` decimal(4,0) DEFAULT NULL,
`isUndead` int(11) DEFAULT '0',
`absorb_level` decimal(2,0) DEFAULT '0',
`ss` int(4) DEFAULT '0',
`bss` int(4) DEFAULT '0',
`ss_rate` int(3) DEFAULT '0',
`AI` varchar(8) DEFAULT "fighter",
PRIMARY KEY (`id`)
);

View File

@@ -0,0 +1,10 @@
--
-- Table structure for table `custom_npcskills`
--
DROP TABLE IF EXISTS custom_npcskills;
CREATE TABLE custom_npcskills (
npcid int(11) NOT NULL default '0',
skillid int(11) NOT NULL default '0',
level int(11) NOT NULL default '0',
PRIMARY KEY (npcid,skillid,level)
);

View File

@@ -0,0 +1,21 @@
-- ----------------------------
-- Table structure for custom_spawnlist
-- ----------------------------
DROP TABLE IF EXISTS `custom_spawnlist`;
CREATE TABLE `custom_spawnlist` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`location` varchar(40) NOT NULL DEFAULT '',
`count` int(9) NOT NULL DEFAULT '0',
`npc_templateid` int(9) NOT NULL DEFAULT '0',
`locx` int(9) NOT NULL DEFAULT '0',
`locy` int(9) NOT NULL DEFAULT '0',
`locz` int(9) NOT NULL DEFAULT '0',
`randomx` int(9) NOT NULL DEFAULT '0',
`randomy` int(9) NOT NULL DEFAULT '0',
`heading` int(9) NOT NULL DEFAULT '0',
`respawn_delay` int(9) NOT NULL DEFAULT '0',
`loc_id` int(9) NOT NULL DEFAULT '0',
`periodOfDay` decimal(2,0) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `key_npc_templateid` (`npc_templateid`)
);

View File

@@ -0,0 +1,14 @@
-- ----------------------------
-- Table structure for `custom_teleport`
-- ----------------------------
DROP TABLE IF EXISTS `custom_teleport`;
CREATE TABLE `custom_teleport` (
`Description` varchar(75) DEFAULT NULL,
`id` decimal(11,0) NOT NULL DEFAULT '0',
`loc_x` decimal(9,0) DEFAULT NULL,
`loc_y` decimal(9,0) DEFAULT NULL,
`loc_z` decimal(9,0) DEFAULT NULL,
`price` decimal(6,0) DEFAULT NULL,
`fornoble` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
);

View File

@@ -0,0 +1,41 @@
-- ----------------------------
-- Table structure for custom_weapon
-- ----------------------------
DROP TABLE IF EXISTS `custom_weapon`;
CREATE TABLE `custom_weapon` (
`item_id` decimal(11,0) NOT NULL DEFAULT '0',
`name` varchar(70) DEFAULT NULL,
`bodypart` varchar(15) DEFAULT NULL,
`crystallizable` varchar(5) DEFAULT NULL,
`weight` decimal(4,0) DEFAULT NULL,
`soulshots` decimal(2,0) DEFAULT NULL,
`spiritshots` decimal(1,0) DEFAULT NULL,
`material` varchar(11) DEFAULT NULL,
`crystal_type` varchar(4) DEFAULT NULL,
`p_dam` decimal(5,0) DEFAULT NULL,
`rnd_dam` decimal(2,0) DEFAULT NULL,
`weaponType` varchar(8) DEFAULT NULL,
`critical` decimal(2,0) DEFAULT NULL,
`hit_modify` decimal(6,5) DEFAULT NULL,
`avoid_modify` decimal(2,0) DEFAULT NULL,
`shield_def` decimal(3,0) DEFAULT NULL,
`shield_def_rate` decimal(2,0) DEFAULT NULL,
`atk_speed` decimal(3,0) DEFAULT NULL,
`mp_consume` decimal(2,0) DEFAULT NULL,
`m_dam` decimal(3,0) DEFAULT NULL,
`price` decimal(11,0) DEFAULT NULL,
`crystal_count` int(4) DEFAULT NULL,
`sellable` varchar(5) DEFAULT 'true',
`dropable` varchar(5) DEFAULT 'true',
`destroyable` varchar(5) DEFAULT 'true',
`tradeable` varchar(5) DEFAULT 'true',
`item_skill_id` decimal(11,0) NOT NULL DEFAULT '0',
`item_skill_lvl` decimal(11,0) NOT NULL DEFAULT '0',
`onCast_skill_id` decimal(11,0) NOT NULL DEFAULT '0',
`onCast_skill_lvl` decimal(11,0) NOT NULL DEFAULT '0',
`onCast_skill_chance` decimal(11,0) NOT NULL DEFAULT '0',
`onCrit_skill_id` decimal(11,0) NOT NULL DEFAULT '0',
`onCrit_skill_lvl` decimal(11,0) NOT NULL DEFAULT '0',
`onCrit_skill_chance` decimal(11,0) NOT NULL DEFAULT '0',
PRIMARY KEY (`item_id`)
);