mirror of
https://github.com/HerculesWS/Hercules
synced 2026-08-15 12:23:13 -04:00
SQL Re-Organization.
Signed-off-by: KeiKun <the.keikun@gmail.com>
This commit is contained in:
parent
e98e18ff62
commit
3ecf877ba3
8 changed files with 1080 additions and 1051 deletions
|
|
@ -1,128 +1,157 @@
|
|||
#PickLog types (M)onsters Drop, (P)layers Drop/Take, Mobs Drop (L)oot Drop/Take,
|
||||
# Players (T)rade Give/Take, Players (V)ending Sell/Take, (S)hop Sell/Take, (N)PC Give/Take,
|
||||
# (C)onsumable Items, (A)dministrators Create/Delete, Sto(R)age, (G)uild Storage,
|
||||
# (E)mail attachment,(B)uying Store, Pr(O)duced Items/Ingredients, Auct(I)oned Items,
|
||||
# (X) Other, (D) Stolen from mobs, (U) MVP Prizes
|
||||
-- PickLog Types
|
||||
-- (M)onsters Drop
|
||||
-- (P)layers Drop/Take
|
||||
-- Mobs Drop (L)oot Drop/Take
|
||||
-- Players (T)rade Give/Take
|
||||
-- Players (V)ending Sell/Take
|
||||
-- (S)hop Sell/Take
|
||||
-- (N)PC Give/Take
|
||||
-- (C)onsumable Items
|
||||
-- (A)dministrators Create/Delete
|
||||
-- Sto(R)age
|
||||
-- (G)uild Storage
|
||||
-- (E)mail attachment
|
||||
-- (B)uying Store
|
||||
-- Pr(O)duced Items/Ingredients
|
||||
-- Auct(I)oned Items
|
||||
-- (X) Other
|
||||
-- (D) Stolen from mobs
|
||||
-- (U) MVP Prizes
|
||||
|
||||
#Database: ragnarok
|
||||
#Table: picklog
|
||||
CREATE TABLE `picklog` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`time` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`char_id` int(11) NOT NULL default '0',
|
||||
`type` enum('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL default 'P',
|
||||
`nameid` int(11) NOT NULL default '0',
|
||||
`amount` int(11) NOT NULL default '1',
|
||||
`refine` tinyint(3) unsigned NOT NULL default '0',
|
||||
`card0` int(11) NOT NULL default '0',
|
||||
`card1` int(11) NOT NULL default '0',
|
||||
`card2` int(11) NOT NULL default '0',
|
||||
`card3` int(11) NOT NULL default '0',
|
||||
`unique_id` bigint(20) unsigned NOT NULL default '0',
|
||||
`map` varchar(11) NOT NULL default '',
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX (`type`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
--
|
||||
-- Table structure for table `atcommandlog`
|
||||
--
|
||||
|
||||
#ZenyLog types (M)onsters,(T)rade,(V)ending Sell/Buy,(S)hop Sell/Buy,(N)PC Change amount,(A)dministrators,(E)Mail,(B)uying Store
|
||||
#Database: ragnarok
|
||||
#Table: zenylog
|
||||
CREATE TABLE `zenylog` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`time` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`char_id` int(11) NOT NULL default '0',
|
||||
`src_id` int(11) NOT NULL default '0',
|
||||
`type` enum('T','V','P','M','S','N','D','C','A','E','I','B') NOT NULL default 'S',
|
||||
`amount` int(11) NOT NULL default '0',
|
||||
`map` varchar(11) NOT NULL default '',
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX (`type`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
|
||||
#Database: ragnarok
|
||||
#Table: branchlog
|
||||
CREATE TABLE `branchlog` (
|
||||
`branch_id` mediumint(9) unsigned NOT NULL auto_increment,
|
||||
`branch_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`account_id` int(11) NOT NULL default '0',
|
||||
`char_id` int(11) NOT NULL default '0',
|
||||
`char_name` varchar(25) NOT NULL default '',
|
||||
`map` varchar(11) NOT NULL default '',
|
||||
PRIMARY KEY (`branch_id`),
|
||||
CREATE TABLE IF NOT EXISTS `atcommandlog` (
|
||||
`atcommand_id` MEDIUMINT(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`atcommand_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`char_name` VARCHAR(25) NOT NULL DEFAULT '',
|
||||
`map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
`command` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`atcommand_id`),
|
||||
INDEX (`account_id`),
|
||||
INDEX (`char_id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
|
||||
#Database: ragnarok
|
||||
#Table: mvplog
|
||||
CREATE TABLE `mvplog` (
|
||||
`mvp_id` mediumint(9) unsigned NOT NULL auto_increment,
|
||||
`mvp_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`kill_char_id` int(11) NOT NULL default '0',
|
||||
`monster_id` smallint(6) NOT NULL default '0',
|
||||
`prize` int(11) NOT NULL default '0',
|
||||
`mvpexp` mediumint(9) NOT NULL default '0',
|
||||
`map` varchar(11) NOT NULL default '',
|
||||
PRIMARY KEY (`mvp_id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
--
|
||||
-- Table structure for table `branchlog`
|
||||
--
|
||||
|
||||
#Database: ragnarok
|
||||
#Table: atcommandlog
|
||||
CREATE TABLE `atcommandlog` (
|
||||
`atcommand_id` mediumint(9) unsigned NOT NULL auto_increment,
|
||||
`atcommand_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`account_id` int(11) unsigned NOT NULL default '0',
|
||||
`char_id` int(11) unsigned NOT NULL default '0',
|
||||
`char_name` varchar(25) NOT NULL default '',
|
||||
`map` varchar(11) NOT NULL default '',
|
||||
`command` varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (`atcommand_id`),
|
||||
CREATE TABLE IF NOT EXISTS `branchlog` (
|
||||
`branch_id` MEDIUMINT(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`branch_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`account_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`char_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`char_name` VARCHAR(25) NOT NULL DEFAULT '',
|
||||
`map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY(`branch_id`),
|
||||
INDEX (`account_id`),
|
||||
INDEX (`char_id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1;
|
||||
|
||||
#Database: ragnarok
|
||||
#Table: npclog
|
||||
CREATE TABLE `npclog` (
|
||||
`npc_id` mediumint(9) unsigned NOT NULL auto_increment,
|
||||
`npc_date` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`account_id` int(11) unsigned NOT NULL default '0',
|
||||
`char_id` int(11) unsigned NOT NULL default '0',
|
||||
`char_name` varchar(25) NOT NULL default '',
|
||||
`map` varchar(11) NOT NULL default '',
|
||||
`mes` varchar(255) NOT NULL default '',
|
||||
PRIMARY KEY (`npc_id`),
|
||||
INDEX (`account_id`),
|
||||
INDEX (`char_id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
--
|
||||
-- Table structure for table `chatlog`
|
||||
--
|
||||
|
||||
#ChatLog types Gl(O)bal,(W)hisper,(P)arty,(G)uild,(M)ain chat
|
||||
#Database: ragnarok
|
||||
#Table: chatlog
|
||||
CREATE TABLE `chatlog` (
|
||||
`id` bigint(20) NOT NULL auto_increment,
|
||||
`time` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`type` enum('O','W','P','G','M') NOT NULL default 'O',
|
||||
`type_id` int(11) NOT NULL default '0',
|
||||
`src_charid` int(11) NOT NULL default '0',
|
||||
`src_accountid` int(11) NOT NULL default '0',
|
||||
`src_map` varchar(11) NOT NULL default '',
|
||||
`src_map_x` smallint(4) NOT NULL default '0',
|
||||
`src_map_y` smallint(4) NOT NULL default '0',
|
||||
`dst_charname` varchar(25) NOT NULL default '',
|
||||
`message` varchar(150) NOT NULL default '',
|
||||
PRIMARY KEY (`id`),
|
||||
CREATE TABLE IF NOT EXISTS `chatlog` (
|
||||
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
|
||||
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`type` ENUM('O','W','P','G','M') NOT NULL DEFAULT 'O',
|
||||
`type_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`src_charid` INT(11) NOT NULL DEFAULT '0',
|
||||
`src_accountid` INT(11) NOT NULL DEFAULT '0',
|
||||
`src_map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
`src_map_x` SMALLINT(4) NOT NULL DEFAULT '0',
|
||||
`src_map_y` SMALLINT(4) NOT NULL DEFAULT '0',
|
||||
`dst_charname` VARCHAR(25) NOT NULL DEFAULT '',
|
||||
`message` VARCHAR(150) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX (`src_accountid`),
|
||||
INDEX (`src_charid`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1 ;
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1;
|
||||
|
||||
#Database: ragnarok
|
||||
#Table: loginlog
|
||||
CREATE TABLE `loginlog` (
|
||||
`time` datetime NOT NULL default '0000-00-00 00:00:00',
|
||||
`ip` varchar(15) NOT NULL default '',
|
||||
`user` varchar(23) NOT NULL default '',
|
||||
`rcode` tinyint(4) NOT NULL default '0',
|
||||
`log` varchar(255) NOT NULL default '',
|
||||
--
|
||||
-- Table structure for table `loginlog`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `loginlog` (
|
||||
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`ip` VARCHAR(15) NOT NULL DEFAULT '',
|
||||
`user` VARCHAR(23) NOT NULL DEFAULT '',
|
||||
`rcode` TINYINT(4) NOT NULL DEFAULT '0',
|
||||
`log` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
INDEX (`ip`)
|
||||
) ENGINE=MyISAM ;
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
--
|
||||
-- Table structure for table `mvplog`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `mvplog` (
|
||||
`mvp_id` MEDIUMINT(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`mvp_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`kill_char_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`monster_id` SMALLINT(6) NOT NULL DEFAULT '0',
|
||||
`prize` INT(11) NOT NULL DEFAULT '0',
|
||||
`mvpexp` MEDIUMINT(9) NOT NULL DEFAULT '0',
|
||||
`map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`mvp_id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1;
|
||||
|
||||
--
|
||||
-- Table structure for table `npclog`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `npclog` (
|
||||
`npc_id` MEDIUMINT(9) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`npc_date` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`char_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`char_name` VARCHAR(25) NOT NULL DEFAULT '',
|
||||
`map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
`mes` VARCHAR(255) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`npc_id`),
|
||||
INDEX (`account_id`),
|
||||
INDEX (`char_id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1;
|
||||
|
||||
--
|
||||
-- Table structure for table `picklog`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `picklog` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`char_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`type` ENUM('M','P','L','T','V','S','N','C','A','R','G','E','B','O','I','X','D','U') NOT NULL DEFAULT 'P',
|
||||
`nameid` INT(11) NOT NULL DEFAULT '0',
|
||||
`amount` INT(11) NOT NULL DEFAULT '1',
|
||||
`refine` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`card0` INT(11) NOT NULL DEFAULT '0',
|
||||
`card1` INT(11) NOT NULL DEFAULT '0',
|
||||
`card2` INT(11) NOT NULL DEFAULT '0',
|
||||
`card3` INT(11) NOT NULL DEFAULT '0',
|
||||
`unique_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX (`type`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1;
|
||||
|
||||
--
|
||||
-- Table structure for table `zenylog`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `zenylog` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||
`char_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`src_id` INT(11) NOT NULL DEFAULT '0',
|
||||
`type` ENUM('T','V','P','M','S','N','D','C','A','E','I','B') NOT NULL DEFAULT 'S',
|
||||
`amount` INT(11) NOT NULL DEFAULT '0',
|
||||
`map` VARCHAR(11) NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX (`type`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=1;
|
||||
|
||||
|
|
|
|||
1080
sql-files/main.sql
1080
sql-files/main.sql
File diff suppressed because it is too large
Load diff
|
|
@ -1,74 +1,74 @@
|
|||
#
|
||||
# Table structure for table `mob_db`
|
||||
#
|
||||
--
|
||||
-- Table structure for table `mob_db`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_db`;
|
||||
CREATE TABLE `mob_db` (
|
||||
`ID` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Sprite` text NOT NULL,
|
||||
`kName` text NOT NULL,
|
||||
`iName` text NOT NULL,
|
||||
`LV` tinyint(6) unsigned NOT NULL default '0',
|
||||
`HP` int(9) unsigned NOT NULL default '0',
|
||||
`SP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`EXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`JEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Range1` tinyint(4) unsigned NOT NULL default '0',
|
||||
`ATK1` smallint(6) unsigned NOT NULL default '0',
|
||||
`ATK2` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`MDEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`STR` smallint(6) unsigned NOT NULL default '0',
|
||||
`AGI` smallint(6) unsigned NOT NULL default '0',
|
||||
`VIT` smallint(6) unsigned NOT NULL default '0',
|
||||
`INT` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEX` smallint(6) unsigned NOT NULL default '0',
|
||||
`LUK` smallint(6) unsigned NOT NULL default '0',
|
||||
`Range2` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range3` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Scale` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Race` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Element` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Mode` smallint(6) unsigned NOT NULL default '0',
|
||||
`Speed` smallint(6) unsigned NOT NULL default '0',
|
||||
`aDelay` smallint(6) unsigned NOT NULL default '0',
|
||||
`aMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`dMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`MEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`MVP1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9per` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardid` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardper` smallint(9) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
`ID` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Sprite` TEXT NOT NULL,
|
||||
`kName` TEXT NOT NULL,
|
||||
`iName` TEXT NOT NULL,
|
||||
`LV` TINYINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`HP` INT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`SP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`EXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`JEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range1` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`ATK1` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`ATK2` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MDEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`STR` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`AGI` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`VIT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`INT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DEX` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`LUK` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range2` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range3` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Scale` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Race` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Element` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Mode` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Speed` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`aDelay` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`aMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`dMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop4id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop4per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop5id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop5per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop6id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop6per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop7id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop7per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop8id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop8per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop9id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop9per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DropCardid` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DropCardper` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
# Monster Database
|
||||
#
|
||||
# Structure of Database :
|
||||
# REPLACE INTO `mob_db` VALUES ( ID,'Sprite_Name','kROName','iROName',LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper);
|
||||
# Note: Keep the Sprite_Name field as it is in the game client.
|
||||
-- Monster Database
|
||||
--
|
||||
-- Structure of Database :
|
||||
-- REPLACE INTO `mob_db` VALUES (ID,'Sprite_Name','kROName','iROName',LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper);
|
||||
-- Note: Keep the Sprite_Name field as it is in the game client.
|
||||
REPLACE INTO `mob_db` VALUES (1001,'SCORPION','Scorpion','Scorpion',24,1109,0,287,176,1,80,135,30,0,1,24,24,5,52,5,10,12,0,4,23,0x3195,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,1);
|
||||
REPLACE INTO `mob_db` VALUES (1002,'PORING','Poring','Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1);
|
||||
# REPLACE INTO `mob_db` VALUES (1003,'TESTEGG','Test Egg','Test Egg',2,100000,0,10,10,0,3,9,99,0,1,99,1,1,1,1,10,12,0,4,22,0x0,512,0,512,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
|
|
|||
|
|
@ -1,88 +1,88 @@
|
|||
#
|
||||
# Table structure for table `mob_db2`
|
||||
#
|
||||
--
|
||||
-- Table structure for table `mob_db2`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_db2`;
|
||||
CREATE TABLE `mob_db2` (
|
||||
`ID` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Sprite` text NOT NULL,
|
||||
`kName` text NOT NULL,
|
||||
`iName` text NOT NULL,
|
||||
`LV` tinyint(6) unsigned NOT NULL default '0',
|
||||
`HP` int(9) unsigned NOT NULL default '0',
|
||||
`SP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`EXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`JEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Range1` tinyint(4) unsigned NOT NULL default '0',
|
||||
`ATK1` smallint(6) unsigned NOT NULL default '0',
|
||||
`ATK2` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`MDEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`STR` smallint(6) unsigned NOT NULL default '0',
|
||||
`AGI` smallint(6) unsigned NOT NULL default '0',
|
||||
`VIT` smallint(6) unsigned NOT NULL default '0',
|
||||
`INT` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEX` smallint(6) unsigned NOT NULL default '0',
|
||||
`LUK` smallint(6) unsigned NOT NULL default '0',
|
||||
`Range2` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range3` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Scale` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Race` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Element` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Mode` smallint(6) unsigned NOT NULL default '0',
|
||||
`Speed` smallint(6) unsigned NOT NULL default '0',
|
||||
`aDelay` smallint(6) unsigned NOT NULL default '0',
|
||||
`aMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`dMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`MEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`MVP1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9per` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardid` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardper` smallint(9) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
`ID` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Sprite` TEXT NOT NULL,
|
||||
`kName` TEXT NOT NULL,
|
||||
`iName` TEXT NOT NULL,
|
||||
`LV` TINYINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`HP` INT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`SP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`EXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`JEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range1` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`ATK1` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`ATK2` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MDEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`STR` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`AGI` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`VIT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`INT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DEX` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`LUK` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range2` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range3` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Scale` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Race` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Element` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Mode` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Speed` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`aDelay` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`aMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`dMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop4id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop4per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop5id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop5per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop6id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop6per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop7id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop7per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop8id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop8per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop9id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop9per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DropCardid` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DropCardper` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
# Monsters Additional Database
|
||||
#
|
||||
# Structure of Database :
|
||||
# REPLACE INTO `mob_db2` VALUES ( ID,'Sprite_Name','kROName','iROName',LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper);
|
||||
-- Monsters Additional Database
|
||||
--
|
||||
-- Structure of Database :
|
||||
-- REPLACE INTO `mob_db2` VALUES (ID,'Sprite_Name','kROName','iROName',LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper);
|
||||
|
||||
# rAthena Dev Team
|
||||
-- rAthena Dev Team
|
||||
#REPLACE INTO `mob_db2` VALUES (1900,'VALARIS','Valaris','Valaris',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,0x1973,100,1068,768,576,13000,608,1000,750,400,923,3800,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1);
|
||||
#REPLACE INTO `mob_db2` VALUES (1901,'VALARIS_WORSHIPPER','Valaris\'s Worshipper','Valaris\'s Worshipper',50,8578,0,2706,1480,1,487,590,15,25,1,75,55,1,93,45,10,12,0,6,27,0x1685,100,868,480,120,0,0,0,0,0,0,0,923,500,984,63,1464,2,607,50,610,100,503,300,2405,50,0,0,0,0,4129,1);
|
||||
#REPLACE INTO `mob_db2` VALUES (1902,'MC_CAMERI','MC Cameri','MC Cameri',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,0x1973,100,1068,768,576,13000,608,1000,750,400,923,3800,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1);
|
||||
#REPLACE INTO `mob_db2` VALUES (1903,'POKI','Poki#3','Poki#3',99,1349000,0,4093000,1526000,9,4892,9113,22,35,1,180,39,67,193,130,10,12,1,7,64,0x1973,120,500,672,480,92100,603,5500,617,3000,1723,1000,1228,100,1236,500,617,2500,1234,75,1237,125,1722,250,1724,100,1720,50,0,0,0,0);
|
||||
#REPLACE INTO `mob_db2` VALUES (1904,'SENTRY','Sentry','Sentry',99,668000,0,107250,37895,2,3220,4040,35,45,1,152,96,85,120,95,10,10,2,6,67,0x1973,100,1068,768,576,13000,608,1000,750,400,923,3800,1466,200,2256,200,2607,800,714,500,617,3000,984,4300,985,5600,0,0,0,0,4147,1);
|
||||
|
||||
# Custom Hollow Poring (overrrides/collides with META_ANDRE)
|
||||
-- Custom Hollow Poring (overrrides/collides with META_ANDRE)
|
||||
#REPLACE INTO `mob_db2` VALUES (1237,'HOLLOW_PORING','Hollow Poring','Hollow Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,10);
|
||||
# Custom Fire Poring. Warning, Colides with META_DENIRO
|
||||
-- Custom Fire Poring. Warning, Colides with META_DENIRO
|
||||
#REPLACE INTO `mob_db2` VALUES (1239,'FIRE_PORING','Fire Poring','Fire Poring',1,50,0,2,1,1,7,10,0,5,1,1,1,1,6,30,10,12,1,3,21,0x131,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,741,5,619,20,0,0,0,0,4001,20);
|
||||
|
||||
# Lunar New Year 2008 Event Monster overrides
|
||||
# Uncomment if event is enabled, as these drops modifications are nessecary.
|
||||
-- Lunar New Year 2008 Event Monster overrides
|
||||
-- Uncomment if event is enabled, as these drops modifications are nessecary.
|
||||
#REPLACE INTO `mob_db2` VALUES (1145,'MARTIN','Martin','Martin',18,1109,0,134,86,1,52,63,0,5,12,18,30,15,15,5,10,12,0,2,42,0x81,300,1480,480,480,0,0,0,0,0,0,0,1017,9000,1018,500,1251,10,2225,5,5009,1,10010,10,2224,15,7869,1500,0,0,4046,1);
|
||||
#REPLACE INTO `mob_db2` VALUES (1175,'TAROU','Tarou','Tarou',11,284,0,57,28,1,34,45,0,0,1,20,11,10,24,5,10,12,0,2,27,0x91,150,1744,1044,684,0,0,0,0,0,0,0,1016,9000,919,3000,949,800,528,1000,701,2,7869,2500,0,0,0,0,0,0,4028,1);
|
||||
#REPLACE INTO `mob_db2` VALUES (1209,'CRAMP','Cramp','Cramp',56,4720,0,2300,1513,1,395,465,0,5,1,85,35,5,65,60,10,12,0,2,45,0x3095,100,1000,500,1000,0,0,0,0,0,0,0,7007,4656,528,1000,726,80,746,110,568,250,510,70,984,95,7869,1500,0,0,4296,1);
|
||||
|
|
|
|||
|
|
@ -1,74 +1,74 @@
|
|||
#
|
||||
# Table structure for table `mob_db`
|
||||
#
|
||||
--
|
||||
-- Table structure for table `mob_db`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_db`;
|
||||
CREATE TABLE `mob_db` (
|
||||
`ID` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Sprite` text NOT NULL,
|
||||
`kName` text NOT NULL,
|
||||
`iName` text NOT NULL,
|
||||
`LV` tinyint(6) unsigned NOT NULL default '0',
|
||||
`HP` int(9) unsigned NOT NULL default '0',
|
||||
`SP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`EXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`JEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`Range1` tinyint(4) unsigned NOT NULL default '0',
|
||||
`ATK1` smallint(6) unsigned NOT NULL default '0',
|
||||
`ATK2` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`MDEF` smallint(6) unsigned NOT NULL default '0',
|
||||
`STR` smallint(6) unsigned NOT NULL default '0',
|
||||
`AGI` smallint(6) unsigned NOT NULL default '0',
|
||||
`VIT` smallint(6) unsigned NOT NULL default '0',
|
||||
`INT` smallint(6) unsigned NOT NULL default '0',
|
||||
`DEX` smallint(6) unsigned NOT NULL default '0',
|
||||
`LUK` smallint(6) unsigned NOT NULL default '0',
|
||||
`Range2` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Range3` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Scale` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Race` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Element` tinyint(4) unsigned NOT NULL default '0',
|
||||
`Mode` smallint(6) unsigned NOT NULL default '0',
|
||||
`Speed` smallint(6) unsigned NOT NULL default '0',
|
||||
`aDelay` smallint(6) unsigned NOT NULL default '0',
|
||||
`aMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`dMotion` smallint(6) unsigned NOT NULL default '0',
|
||||
`MEXP` mediumint(9) unsigned NOT NULL default '0',
|
||||
`MVP1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`MVP3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop1per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop2per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop3per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop4per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop5per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop6per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop7per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop8per` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9id` smallint(9) unsigned NOT NULL default '0',
|
||||
`Drop9per` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardid` smallint(9) unsigned NOT NULL default '0',
|
||||
`DropCardper` smallint(9) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
`ID` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Sprite` TEXT NOT NULL,
|
||||
`kName` TEXT NOT NULL,
|
||||
`iName` TEXT NOT NULL,
|
||||
`LV` TINYINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`HP` int(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`SP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`EXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`JEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range1` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`ATK1` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`ATK2` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MDEF` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`STR` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`AGI` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`VIT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`INT` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DEX` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`LUK` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range2` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Range3` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Scale` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Race` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Element` TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Mode` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Speed` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`aDelay` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`aMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`dMotion` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MEXP` MEDIUMINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`MVP3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop1id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop1per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop2id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop2per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop3id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop3per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop4id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop4per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop5id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop5per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop6id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop6per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop7id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop7per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop8id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop8per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop9id` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`Drop9per` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DropCardid` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`DropCardper` SMALLINT(9) UNSIGNED NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
# Monster Database
|
||||
#
|
||||
# Structure of Database :
|
||||
# REPLACE INTO `mob_db` VALUES ( ID,'Sprite_Name','kROName','iROName',LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper);
|
||||
# Note: Keep the Sprite_Name field as it is in the game client.
|
||||
-- Monster Database
|
||||
--
|
||||
-- Structure of Database :
|
||||
-- REPLACE INTO `mob_db` VALUES (ID,'Sprite_Name','kROName','iROName',LV,HP,SP,EXP,JEXP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Mode,Speed,aDelay,aMotion,dMotion,MEXP,MVP1id,MVP1per,MVP2id,MVP2per,MVP3id,MVP3per,Drop1id,Drop1per,Drop2id,Drop2per,Drop3id,Drop3per,Drop4id,Drop4per,Drop5id,Drop5per,Drop6id,Drop6per,Drop7id,Drop7per,Drop8id,Drop8per,Drop9id,Drop9per,DropCardid,DropCardper);
|
||||
-- Note: Keep the Sprite_Name field as it is in the game client.
|
||||
REPLACE INTO `mob_db` VALUES (1001,'SCORPION','Scorpion','Scorpion',16,153,1,108,81,1,33,40,16,5,12,15,10,5,19,5,10,12,0,4,23,0x3191,200,1564,864,576,0,0,0,0,0,0,0,990,70,904,5500,757,57,943,210,7041,100,508,200,625,20,0,0,0,0,4068,1);
|
||||
REPLACE INTO `mob_db` VALUES (1002,'PORING','Poring','Poring',1,60,1,27,20,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1);
|
||||
# REPLACE INTO `mob_db` VALUES (1003,'TESTEGG','Test Egg','Test Egg',2,100000,0,10,10,0,3,9,99,0,1,99,1,1,1,1,10,12,0,4,22,0x0,512,0,512,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
|
||||
|
|
|
|||
|
|
@ -1,93 +1,93 @@
|
|||
#
|
||||
# Table structure for table `mob_skill_db`
|
||||
#
|
||||
--
|
||||
-- Table structure for table `mob_skill_db`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_skill_db`;
|
||||
CREATE TABLE IF NOT EXISTS `mob_skill_db` (
|
||||
`MOB_ID` smallint(6) NOT NULL,
|
||||
`INFO` text NOT NULL,
|
||||
`STATE` text NOT NULL,
|
||||
`SKILL_ID` smallint(6) NOT NULL,
|
||||
`SKILL_LV` tinyint(4) NOT NULL,
|
||||
`RATE` smallint(4) NOT NULL,
|
||||
`CASTTIME` mediumint(9) NOT NULL,
|
||||
`DELAY` int(9) NOT NULL,
|
||||
`CANCELABLE` text NOT NULL,
|
||||
`TARGET` text NOT NULL,
|
||||
`CONDITION` text NOT NULL,
|
||||
`CONDITION_VALUE` text,
|
||||
`VAL1` mediumint(9) DEFAULT NULL,
|
||||
`VAL2` mediumint(9) DEFAULT NULL,
|
||||
`VAL3` mediumint(9) DEFAULT NULL,
|
||||
`VAL4` mediumint(9) DEFAULT NULL,
|
||||
`VAL5` mediumint(9) DEFAULT NULL,
|
||||
`EMOTION` text,
|
||||
`CHAT` text
|
||||
`MOB_ID` SMALLINT(6) NOT NULL,
|
||||
`INFO` TEXT NOT NULL,
|
||||
`STATE` TEXT NOT NULL,
|
||||
`SKILL_ID` SMALLINT(6) NOT NULL,
|
||||
`SKILL_LV` TINYINT(4) NOT NULL,
|
||||
`RATE` SMALLINT(4) NOT NULL,
|
||||
`CASTTIME` MEDIUMINT(9) NOT NULL,
|
||||
`DELAY` INT(9) NOT NULL,
|
||||
`CANCELABLE` TEXT NOT NULL,
|
||||
`TARGET` TEXT NOT NULL,
|
||||
`CONDITION` TEXT NOT NULL,
|
||||
`CONDITION_VALUE` TEXT,
|
||||
`VAL1` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL2` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL3` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL4` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL5` MEDIUMINT(9) DEFAULT NULL,
|
||||
`EMOTION` TEXT,
|
||||
`CHAT` TEXT
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
# Based on Aegis Episode 11.3
|
||||
#
|
||||
# REPLACE INTO `mob_skill_db` VALUES (MOB_ID,'dummy value (info only)','STATE',SKILL_ID,SKILL_LV,rate (10000 = 100%),casttime,delay,'cancelable','target','condition type','condition value',val1,val2,val3,val4,val5,'emotion','chat');
|
||||
#Example
|
||||
#1001,Poring@TF_POISON,attack,52,3,100,1500,10000,no,target,always,0,,,,,7,
|
||||
#
|
||||
#rate refers to the chance of the skill being casted when the condition is fulfilled.
|
||||
#delay is the time in milliseconds that has to be pass before recasting the same skill.
|
||||
#
|
||||
#STATE:
|
||||
# any (except dead) / idle (in standby) / walk (in movement) / dead (on killed) /
|
||||
# loot /attack / angry (like attack, except player has not attacked mob yet) /
|
||||
# chase (following target, after being attacked) / follow (following
|
||||
# target, without being attacked)
|
||||
# anytarget (attack+angry+chase+follow)
|
||||
#
|
||||
#target: The target of the skill can be: target (current target) / self / friend /
|
||||
# master / randomtarget (any enemy within skill's range)
|
||||
# (the following are for ground-skills, a random target tile is selected from
|
||||
# the specified area):
|
||||
# around1 (3x3 area around self) / around2 (5x5 area around self) /
|
||||
# around3 (7x7 area around self) / around4 (9x9 area around self) /
|
||||
# around5 (3x3 area around target) / around6 (5x5 area around target) /
|
||||
# around7 (7x7 area around target) / around8 (9x9 area around target) /
|
||||
# around = around4
|
||||
#
|
||||
#conditions: (condition type) (value which specifies a condition value)
|
||||
# always unconditional
|
||||
# onspawn when the mob spawns/respawns.
|
||||
# myhpltmaxrate when the mob's hp drops to a certain %
|
||||
# myhpinrate when the mob's hp is in a certain % range ('a condition value'
|
||||
# is the lower cap, while 'a value 1' is the upper cap).
|
||||
# mystatuson If the mob has any abnormalities in status (condition value)
|
||||
# mystatusoff If the mob has ended any abnormalities in status (condition value)
|
||||
# friendhpltmaxrate when the mob's friend's hp drops to a certain %
|
||||
# friendhpinrate when the mob's friend's hp is in a certain % range (range
|
||||
# defined the same way as in myhpinrate)
|
||||
# friendstatuson If the friend has any abnormalities in status (condition value)
|
||||
# friendstatusoff If the friend has ended any abnormalities in status (condition value)
|
||||
# attackpcgt Attack PC becomes more than the number of specification
|
||||
# attackpcge Attack PC becomes equal or more than the number of specification.
|
||||
# slavelt when the number of slaves is lower than the original number of specification.
|
||||
# slavele when the number of slaves is lower or equal than the original number of specification.
|
||||
# closedattacked when melee attacked (close range attack)
|
||||
# longrangeattacked when long ranged attacked (like bows and far range weapons)
|
||||
# skillused when a skill is used on the mob
|
||||
# afterskill after the mob used certain skill.
|
||||
# casttargeted when a target is in cast range.
|
||||
# rudeattacked when a target is rude attacked
|
||||
#
|
||||
# The character's state which can be specified to be a condition value by the statuson/statusoff system
|
||||
# anybad any type of state change
|
||||
# stone condition of being in stone state
|
||||
# freeze condition of being in frozen state
|
||||
# stun condition of being in stunned state
|
||||
# sleep condition of being in sleep state
|
||||
# poison condition of being in poisoned state
|
||||
# curse condition of being in cursed state
|
||||
# silence condition of being in silenced state
|
||||
# confusion condition of being in confusion state
|
||||
# blind condition of being in blind state
|
||||
# hiding condition of being in hidden state
|
||||
# sight condition of being in unhidden state
|
||||
-- Based on Aegis Episode 11.3
|
||||
--
|
||||
-- REPLACE INTO `mob_skill_db` VALUES (MOB_ID,'dummy value (info only)','STATE',SKILL_ID,SKILL_LV,rate (10000 = 100%),casttime,delay,'cancelable','target','condition type','condition value',val1,val2,val3,val4,val5,'emotion','chat');
|
||||
-- Example
|
||||
-- 1001,Poring@TF_POISON,attack,52,3,100,1500,10000,no,target,always,0,,,,,7,
|
||||
--
|
||||
-- rate refers to the chance of the skill being casted when the condition is fulfilled.
|
||||
-- delay is the time in milliseconds that has to be pass before recasting the same skill.
|
||||
--
|
||||
-- STATE:
|
||||
-- any (except dead) / idle (in standby) / walk (in movement) / dead (on killed) /
|
||||
-- loot /attack / angry (like attack, except player has not attacked mob yet) /
|
||||
-- chase (following target, after being attacked) / follow (following
|
||||
-- target, without being attacked)
|
||||
-- anytarget (attack+angry+chase+follow)
|
||||
--
|
||||
-- target: The target of the skill can be: target (current target) / self / friend /
|
||||
-- master / randomtarget (any enemy within skill's range)
|
||||
-- (the following are for ground-skills, a random target tile is selected from
|
||||
-- the specified area):
|
||||
-- around1 (3x3 area around self) / around2 (5x5 area around self) /
|
||||
-- around3 (7x7 area around self) / around4 (9x9 area around self) /
|
||||
-- around5 (3x3 area around target) / around6 (5x5 area around target) /
|
||||
-- around7 (7x7 area around target) / around8 (9x9 area around target) /
|
||||
-- around = around4
|
||||
--
|
||||
-- conditions: (condition type) (value which specifies a condition value)
|
||||
-- always unconditional
|
||||
-- onspawn when the mob spawns/respawns.
|
||||
-- myhpltmaxrate when the mob's hp drops to a certain %
|
||||
-- myhpinrate when the mob's hp is in a certain % range ('a condition value'
|
||||
-- is the lower cap, while 'a value 1' is the upper cap).
|
||||
-- mystatuson If the mob has any abnormalities in status (condition value)
|
||||
-- mystatusoff If the mob has ended any abnormalities in status (condition value)
|
||||
-- friendhpltmaxrate when the mob's friend's hp drops to a certain %
|
||||
-- friendhpinrate when the mob's friend's hp is in a certain % range (range
|
||||
-- defined the same way as in myhpinrate)
|
||||
-- friendstatuson If the friend has any abnormalities in status (condition value)
|
||||
-- friendstatusoff If the friend has ended any abnormalities in status (condition value)
|
||||
-- attackpcgt Attack PC becomes more than the number of specification
|
||||
-- attackpcge Attack PC becomes equal or more than the number of specification.
|
||||
-- slavelt when the number of slaves is lower than the original number of specification.
|
||||
-- slavele when the number of slaves is lower or equal than the original number of specification.
|
||||
-- closedattacked when melee attacked (close range attack)
|
||||
-- longrangeattacked when long ranged attacked (like bows and far range weapons)
|
||||
-- skillused when a skill is used on the mob
|
||||
-- afterskill after the mob used certain skill.
|
||||
-- casttargeted when a target is in cast range.
|
||||
-- rudeattacked when a target is rude attacked
|
||||
--
|
||||
-- The character's state which can be specified to be a condition value by the statuson/statusoff system
|
||||
-- anybad any type of state change
|
||||
-- stone condition of being in stone state
|
||||
-- freeze condition of being in frozen state
|
||||
-- stun condition of being in stunned state
|
||||
-- sleep condition of being in sleep state
|
||||
-- poison condition of being in poisoned state
|
||||
-- curse condition of being in cursed state
|
||||
-- silence condition of being in silenced state
|
||||
-- confusion condition of being in confusion state
|
||||
-- blind condition of being in blind state
|
||||
-- hiding condition of being in hidden state
|
||||
-- sight condition of being in unhidden state
|
||||
|
||||
REPLACE INTO `mob_skill_db` VALUES (1001,'Scorpion@NPC_FIREATTACK','attack',186,1,2000,0,5000,'yes','target','always',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
REPLACE INTO `mob_skill_db` VALUES (1001,'Scorpion@NPC_POISON','attack',176,3,500,800,5000,'no','target','always',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
|
|
|
|||
|
|
@ -1,35 +1,35 @@
|
|||
#
|
||||
# Table structure for table `mob_skill_db2`
|
||||
#
|
||||
--
|
||||
-- Table structure for table `mob_skill_db2`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_skill_db2`;
|
||||
CREATE TABLE IF NOT EXISTS `mob_skill_db2` (
|
||||
`MOB_ID` smallint(6) NOT NULL,
|
||||
`INFO` text NOT NULL,
|
||||
`STATE` text NOT NULL,
|
||||
`SKILL_ID` smallint(6) NOT NULL,
|
||||
`MOB_ID` SMALLINT(6) NOT NULL,
|
||||
`INFO` TEXT NOT NULL,
|
||||
`STATE` TEXT NOT NULL,
|
||||
`SKILL_ID` SMALLINT(6) NOT NULL,
|
||||
`SKILL_LV` tinyint(4) NOT NULL,
|
||||
`RATE` smallint(4) NOT NULL,
|
||||
`CASTTIME` mediumint(9) NOT NULL,
|
||||
`DELAY` int(9) NOT NULL,
|
||||
`CANCELABLE` text NOT NULL,
|
||||
`TARGET` text NOT NULL,
|
||||
`CONDITION` text NOT NULL,
|
||||
`CONDITION_VALUE` text,
|
||||
`VAL1` mediumint(9) DEFAULT NULL,
|
||||
`VAL2` mediumint(9) DEFAULT NULL,
|
||||
`VAL3` mediumint(9) DEFAULT NULL,
|
||||
`VAL4` mediumint(9) DEFAULT NULL,
|
||||
`VAL5` mediumint(9) DEFAULT NULL,
|
||||
`EMOTION` text,
|
||||
`CHAT` text
|
||||
`RATE` SMALLINT(4) NOT NULL,
|
||||
`CASTTIME` MEDIUMINT(9) NOT NULL,
|
||||
`DELAY` INT(9) NOT NULL,
|
||||
`CANCELABLE` TEXT NOT NULL,
|
||||
`TARGET` TEXT NOT NULL,
|
||||
`CONDITION` TEXT NOT NULL,
|
||||
`CONDITION_VALUE` TEXT,
|
||||
`VAL1` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL2` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL3` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL4` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL5` MEDIUMINT(9) DEFAULT NULL,
|
||||
`EMOTION` TEXT,
|
||||
`CHAT` TEXT
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
# Mob Skill Database
|
||||
#
|
||||
# Structure of Database:
|
||||
# INSERT INTO `mob_skill_db2` (`MOB_ID`, `INFO`, `STATE`, `SKILL_ID`, `SKILL_LV`, `RATE`, `CASTTIME`, `DELAY`, `CANCELABLE`, `TARGET`, `CONDITION`, `CONDITION_VALUE`, `VAL1`, `VAL2`, `VAL3`, `VAL4`, `VAL5`, `EMOTION`, `CHAT`);
|
||||
#
|
||||
-- Mob Skill Database
|
||||
--
|
||||
-- Structure of Database:
|
||||
-- INSERT INTO `mob_skill_db2` (`MOB_ID`, `INFO`, `STATE`, `SKILL_ID`, `SKILL_LV`, `RATE`, `CASTTIME`, `DELAY`, `CANCELABLE`, `TARGET`, `CONDITION`, `CONDITION_VALUE`, `VAL1`, `VAL2`, `VAL3`, `VAL4`, `VAL5`, `EMOTION`, `CHAT`);
|
||||
|
||||
# REPLACE INTO mob_skill_db2 VALUES(1900, "Valaris@AL_TELEPORT", "idle", 26, 1, 10000, 0, 0, "yes", "self", "rudeattacked", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
# REPLACE INTO mob_skill_db2 VALUES(1900, "Valaris@AL_TELEPORT", "walk", 26, 1, 500, 0, 5000, "yes", "self", "rudeattacked", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
# REPLACE INTO mob_skill_db2 VALUES(1900, "Valaris@KN_BRANDISHSPEAR", "attack", 57, 10, 2000, 500, 5000, "no", "target", "always", 0, NULL, NULL, NULL, NULL, NULL, 29, NULL);
|
||||
|
|
|
|||
|
|
@ -1,93 +1,93 @@
|
|||
#
|
||||
# Table structure for table `mob_skill_db`
|
||||
#
|
||||
--
|
||||
-- Table structure for table `mob_skill_db`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `mob_skill_db`;
|
||||
CREATE TABLE IF NOT EXISTS `mob_skill_db` (
|
||||
`MOB_ID` smallint(6) NOT NULL,
|
||||
`INFO` text NOT NULL,
|
||||
`STATE` text NOT NULL,
|
||||
`SKILL_ID` smallint(6) NOT NULL,
|
||||
`SKILL_LV` tinyint(4) NOT NULL,
|
||||
`RATE` smallint(4) NOT NULL,
|
||||
`CASTTIME` mediumint(9) NOT NULL,
|
||||
`DELAY` int(9) NOT NULL,
|
||||
`CANCELABLE` text NOT NULL,
|
||||
`TARGET` text NOT NULL,
|
||||
`CONDITION` text NOT NULL,
|
||||
`CONDITION_VALUE` text,
|
||||
`VAL1` mediumint(9) DEFAULT NULL,
|
||||
`VAL2` mediumint(9) DEFAULT NULL,
|
||||
`VAL3` mediumint(9) DEFAULT NULL,
|
||||
`VAL4` mediumint(9) DEFAULT NULL,
|
||||
`VAL5` mediumint(9) DEFAULT NULL,
|
||||
`EMOTION` text,
|
||||
`CHAT` text
|
||||
`MOB_ID` SMALLINT(6) NOT NULL,
|
||||
`INFO` TEXT NOT NULL,
|
||||
`STATE` TEXT NOT NULL,
|
||||
`SKILL_ID` SMALLINT(6) NOT NULL,
|
||||
`SKILL_LV` TINYINT(4) NOT NULL,
|
||||
`RATE` SMALLINT(4) NOT NULL,
|
||||
`CASTTIME` MEDIUMINT(9) NOT NULL,
|
||||
`DELAY` INT(9) NOT NULL,
|
||||
`CANCELABLE` TEXT NOT NULL,
|
||||
`TARGET` TEXT NOT NULL,
|
||||
`CONDITION` TEXT NOT NULL,
|
||||
`CONDITION_VALUE` TEXT,
|
||||
`VAL1` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL2` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL3` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL4` MEDIUMINT(9) DEFAULT NULL,
|
||||
`VAL5` MEDIUMINT(9) DEFAULT NULL,
|
||||
`EMOTION` TEXT,
|
||||
`CHAT` TEXT
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
# Based on Aegis Episode 11.3
|
||||
#
|
||||
# REPLACE INTO `mob_skill_db` VALUES (MOB_ID,'dummy value (info only)','STATE',SKILL_ID,SKILL_LV,rate (10000 = 100%),casttime,delay,'cancelable','target','condition type','condition value',val1,val2,val3,val4,val5,'emotion','chat');
|
||||
#Example
|
||||
#1001,Poring@TF_POISON,attack,52,3,100,1500,10000,no,target,always,0,,,,,7,
|
||||
#
|
||||
#rate refers to the chance of the skill being casted when the condition is fulfilled.
|
||||
#delay is the time in milliseconds that has to be pass before recasting the same skill.
|
||||
#
|
||||
#STATE:
|
||||
# any (except dead) / idle (in standby) / walk (in movement) / dead (on killed) /
|
||||
# loot /attack / angry (like attack, except player has not attacked mob yet) /
|
||||
# chase (following target, after being attacked) / follow (following
|
||||
# target, without being attacked)
|
||||
# anytarget (attack+angry+chase+follow)
|
||||
#
|
||||
#target: The target of the skill can be: target (current target) / self / friend /
|
||||
# master / randomtarget (any enemy within skill's range)
|
||||
# (the following are for ground-skills, a random target tile is selected from
|
||||
# the specified area):
|
||||
# around1 (3x3 area around self) / around2 (5x5 area around self) /
|
||||
# around3 (7x7 area around self) / around4 (9x9 area around self) /
|
||||
# around5 (3x3 area around target) / around6 (5x5 area around target) /
|
||||
# around7 (7x7 area around target) / around8 (9x9 area around target) /
|
||||
# around = around4
|
||||
#
|
||||
#conditions: (condition type) (value which specifies a condition value)
|
||||
# always unconditional
|
||||
# onspawn when the mob spawns/respawns.
|
||||
# myhpltmaxrate when the mob's hp drops to a certain %
|
||||
# myhpinrate when the mob's hp is in a certain % range ('a condition value'
|
||||
# is the lower cap, while 'a value 1' is the upper cap).
|
||||
# mystatuson If the mob has any abnormalities in status (condition value)
|
||||
# mystatusoff If the mob has ended any abnormalities in status (condition value)
|
||||
# friendhpltmaxrate when the mob's friend's hp drops to a certain %
|
||||
# friendhpinrate when the mob's friend's hp is in a certain % range (range
|
||||
# defined the same way as in myhpinrate)
|
||||
# friendstatuson If the friend has any abnormalities in status (condition value)
|
||||
# friendstatusoff If the friend has ended any abnormalities in status (condition value)
|
||||
# attackpcgt Attack PC becomes more than the number of specification
|
||||
# attackpcge Attack PC becomes equal or more than the number of specification.
|
||||
# slavelt when the number of slaves is lower than the original number of specification.
|
||||
# slavele when the number of slaves is lower or equal than the original number of specification.
|
||||
# closedattacked when melee attacked (close range attack)
|
||||
# longrangeattacked when long ranged attacked (like bows and far range weapons)
|
||||
# skillused when a skill is used on the mob
|
||||
# afterskill after the mob used certain skill.
|
||||
# casttargeted when a target is in cast range.
|
||||
# rudeattacked when a target is rude attacked
|
||||
#
|
||||
# The character's state which can be specified to be a condition value by the statuson/statusoff system
|
||||
# anybad any type of state change
|
||||
# stone condition of being in stone state
|
||||
# freeze condition of being in frozen state
|
||||
# stun condition of being in stunned state
|
||||
# sleep condition of being in sleep state
|
||||
# poison condition of being in poisoned state
|
||||
# curse condition of being in cursed state
|
||||
# silence condition of being in silenced state
|
||||
# confusion condition of being in confusion state
|
||||
# blind condition of being in blind state
|
||||
# hiding condition of being in hidden state
|
||||
# sight condition of being in unhidden state
|
||||
-- Based on Aegis Episode 11.3
|
||||
--
|
||||
-- REPLACE INTO `mob_skill_db` VALUES (MOB_ID,'dummy value (info only)','STATE',SKILL_ID,SKILL_LV,rate (10000 = 100%),casttime,delay,'cancelable','target','condition type','condition value',val1,val2,val3,val4,val5,'emotion','chat');
|
||||
-- Example
|
||||
-- 1001,Poring@TF_POISON,attack,52,3,100,1500,10000,no,target,always,0,,,,,7,
|
||||
--
|
||||
-- rate refers to the chance of the skill being casted when the condition is fulfilled.
|
||||
-- delay is the time in milliseconds that has to be pass before recasting the same skill.
|
||||
--
|
||||
-- STATE:
|
||||
-- any (except dead) / idle (in standby) / walk (in movement) / dead (on killed) /
|
||||
-- loot /attack / angry (like attack, except player has not attacked mob yet) /
|
||||
-- chase (following target, after being attacked) / follow (following
|
||||
-- target, without being attacked)
|
||||
-- anytarget (attack+angry+chase+follow)
|
||||
--
|
||||
-- target: The target of the skill can be: target (current target) / self / friend /
|
||||
-- master / randomtarget (any enemy within skill's range)
|
||||
-- (the following are for ground-skills, a random target tile is selected from
|
||||
-- the specified area):
|
||||
-- around1 (3x3 area around self) / around2 (5x5 area around self) /
|
||||
-- around3 (7x7 area around self) / around4 (9x9 area around self) /
|
||||
-- around5 (3x3 area around target) / around6 (5x5 area around target) /
|
||||
-- around7 (7x7 area around target) / around8 (9x9 area around target) /
|
||||
-- around = around4
|
||||
--
|
||||
-- conditions: (condition type) (value which specifies a condition value)
|
||||
-- always unconditional
|
||||
-- onspawn when the mob spawns/respawns.
|
||||
-- myhpltmaxrate when the mob's hp drops to a certain %
|
||||
-- myhpinrate when the mob's hp is in a certain % range ('a condition value'
|
||||
-- is the lower cap, while 'a value 1' is the upper cap).
|
||||
-- mystatuson If the mob has any abnormalities in status (condition value)
|
||||
-- mystatusoff If the mob has ended any abnormalities in status (condition value)
|
||||
-- friendhpltmaxrate when the mob's friend's hp drops to a certain %
|
||||
-- friendhpinrate when the mob's friend's hp is in a certain % range (range
|
||||
-- defined the same way as in myhpinrate)
|
||||
-- friendstatuson If the friend has any abnormalities in status (condition value)
|
||||
-- friendstatusoff If the friend has ended any abnormalities in status (condition value)
|
||||
-- attackpcgt Attack PC becomes more than the number of specification
|
||||
-- attackpcge Attack PC becomes equal or more than the number of specification.
|
||||
-- slavelt when the number of slaves is lower than the original number of specification.
|
||||
-- slavele when the number of slaves is lower or equal than the original number of specification.
|
||||
-- closedattacked when melee attacked (close range attack)
|
||||
-- longrangeattacked when long ranged attacked (like bows and far range weapons)
|
||||
-- skillused when a skill is used on the mob
|
||||
-- afterskill after the mob used certain skill.
|
||||
-- casttargeted when a target is in cast range.
|
||||
-- rudeattacked when a target is rude attacked
|
||||
--
|
||||
-- The character's state which can be specified to be a condition value by the statuson/statusoff system
|
||||
-- anybad any type of state change
|
||||
-- stone condition of being in stone state
|
||||
-- freeze condition of being in frozen state
|
||||
-- stun condition of being in stunned state
|
||||
-- sleep condition of being in sleep state
|
||||
-- poison condition of being in poisoned state
|
||||
-- curse condition of being in cursed state
|
||||
-- silence condition of being in silenced state
|
||||
-- confusion condition of being in confusion state
|
||||
-- blind condition of being in blind state
|
||||
-- hiding condition of being in hidden state
|
||||
-- sight condition of being in unhidden state
|
||||
|
||||
REPLACE INTO `mob_skill_db` VALUES (1001,'Scorpion@NPC_FIREATTACK','attack',186,1,2000,0,5000,'yes','target','always',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
REPLACE INTO `mob_skill_db` VALUES (1001,'Scorpion@NPC_POISON','attack',176,3,500,800,5000,'no','target','always',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue