diff options
| author | Intel <chemicstry@gmail.com> | 2014-12-28 22:55:53 +0200 |
|---|---|---|
| committer | Intel <chemicstry@gmail.com> | 2014-12-28 22:55:53 +0200 |
| commit | a782515246d5583a4c0e5cc8834133d425920b56 (patch) | |
| tree | f181c34ad982c8f63b3772f2ddf0b90a4986740f /sql/updates/characters | |
| parent | 0dec23b43ad8692189b511bb114ef3b772678fe3 (diff) | |
Core/Quests: Updated Quest System to new Format
All quest requirements are now in quest_objectives table
quest_template table contains _ONLY_ WDB data and must not be modified
Currently supported objectives are MONSTER, GAMEOBJECT, ITEM, TALKTO, CURRENCY, REPUTATION, MONEY, PLAYERKILLS, AREATRIGGER
Diffstat (limited to 'sql/updates/characters')
| -rw-r--r-- | sql/updates/characters/2014_12_28_00_characters.sql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sql/updates/characters/2014_12_28_00_characters.sql b/sql/updates/characters/2014_12_28_00_characters.sql new file mode 100644 index 00000000000..d6424d676b7 --- /dev/null +++ b/sql/updates/characters/2014_12_28_00_characters.sql @@ -0,0 +1,17 @@ +DROP TABLE IF EXISTS `character_queststatus`; +CREATE TABLE `character_queststatus` ( + `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', + `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `status` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', + `timer` INT(10) UNSIGNED NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`, `quest`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; + +DROP TABLE IF EXISTS `character_queststatus_objectives`; +CREATE TABLE `character_queststatus_objectives` ( + `guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0', + `quest` INT(10) UNSIGNED NOT NULL DEFAULT '0', + `objective` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0', + `data` INT(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`guid`, `quest`, `objective`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; |
