diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-17 00:15:33 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-17 00:15:33 +0000 |
commit | 7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b (patch) | |
tree | 34fb42eb5bf938c6c02b56e26931c6b1937e4c89 /sql-files/upgrade_svn7706.sql | |
parent | 5a064d5a6723601d08610082ab6c203bc94cdab0 (diff) | |
download | hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.gz hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.bz2 hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.tar.xz hercules-7b2f7c0503cb5be8bc45f57353d838a4dbf84d7b.zip |
Orn's and Albator's Homunculus system, finally, YAY!!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7706 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/upgrade_svn7706.sql')
-rw-r--r-- | sql-files/upgrade_svn7706.sql | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn7706.sql b/sql-files/upgrade_svn7706.sql new file mode 100644 index 000000000..afd91d220 --- /dev/null +++ b/sql-files/upgrade_svn7706.sql @@ -0,0 +1,36 @@ +ALTER TABLE `char` ADD `homun_id` int(11) unsigned NOT NULL default '0' AFTER `pet_id`;
+
+DROP TABLE IF EXISTS `homunculus`;
+CREATE TABLE `homunculus` (
+ `homun_id` int(11) NOT NULL auto_increment,
+ `char_id` int(11) NOT NULL,
+ `class` mediumint(9) unsigned NOT NULL default '0',
+ `name` varchar(24) NOT NULL default '',
+ `level` smallint(4) NOT NULL default '0',
+ `exp` int(12) NOT NULL default '0',
+ `intimacy` int(12) NOT NULL default '0',
+ `hunger` smallint(4) NOT NULL default '0',
+ `str` smallint(4) unsigned NOT NULL default '0',
+ `agi` smallint(4) unsigned NOT NULL default '0',
+ `vit` smallint(4) unsigned NOT NULL default '0',
+ `int` smallint(4) unsigned NOT NULL default '0',
+ `dex` smallint(4) unsigned NOT NULL default '0',
+ `luk` smallint(4) unsigned NOT NULL default '0',
+ `hp` int(12) NOT NULL default '1',
+ `max_hp` int(12) NOT NULL default '1',
+ `sp` int(12) NOT NULL default '1',
+ `max_sp` int(12) NOT NULL default '1',
+ `skill_point` smallint(4) unsigned NOT NULL default '0',
+ `alive` tinyint(2) NOT NULL default '1',
+ `rename_flag` tinyint(2) NOT NULL default '0',
+ `vaporize` tinyint(2) NOT NULL default '0',
+ PRIMARY KEY (`homun_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+
+
+CREATE TABLE `skill_homunculus` (
+ `homun_id` int(11) NOT NULL,
+ `id` int(11) NOT NULL,
+ `lv` smallint(6) NOT NULL,
+ PRIMARY KEY (`homun_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|