-Reworked Raid Points system (ranking system deleted in Valiance update).

-Raidpoints moved to characters.sql
-Fixed calls to unexistent skill levels.

Contributed by NviX.
This commit is contained in:
MobiusDev
2015-07-01 18:50:01 +00:00
parent 167efe6abf
commit 190a0e1c95
22 changed files with 171 additions and 502 deletions

View File

@@ -1,6 +0,0 @@
CREATE TABLE IF NOT EXISTS `character_raid_points` (
`charId` INT UNSIGNED NOT NULL DEFAULT 0,
`boss_id` INT UNSIGNED NOT NULL DEFAULT 0,
`points` INT UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`charId`,`boss_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@@ -23,6 +23,7 @@ CREATE TABLE IF NOT EXISTS `characters` (
`karma` INT UNSIGNED DEFAULT NULL,
`reputation` INT UNSIGNED DEFAULT 0,
`fame` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
`raidpoints` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0,
`pvpkills` SMALLINT UNSIGNED DEFAULT NULL,
`pkkills` SMALLINT UNSIGNED DEFAULT NULL,
`clanid` INT UNSIGNED DEFAULT NULL,