Addition of Elemental Spirits.

Author: JoeAlisson
Source: https://github.com/JoeAlisson/L2jOrg
This commit is contained in:
MobiusDevelopment
2019-07-16 18:10:59 +00:00
parent 18e0a4c4cd
commit e97ef7dead
188 changed files with 9200 additions and 722 deletions

View File

@@ -0,0 +1,17 @@
DROP TABLE IF EXISTS `character_spirits`;
CREATE TABLE `character_spirits`
(
`charId` INT UNSIGNED NOT NULL,
`type` TINYINT NOT NULL,
`level` TINYINT NOT NULL DEFAULT 1,
`stage` TINYINT NOT NULL DEFAULT 0,
`experience` BIGINT NOT NULL DEFAULT 0,
`attack_points` TINYINT NOT NULL DEFAULT 0,
`defense_points` TINYINT NOT NULL DEFAULT 0,
`crit_rate_points` TINYINT NOT NULL DEFAULT 0,
`crit_damage_points` TINYINT NOT NULL DEFAULT 0,
`in_use` BOOLEAN NOT NULL DEFAULT FALSE,
PRIMARY KEY (`charId`, `type`),
FOREIGN KEY FK_CHARACTER_SPIRITS (`charId`) REFERENCES characters (`charId`) ON DELETE CASCADE
) ENGINE = InnoDB
DEFAULT CHARSET = utf8;