Another fix quest flags, Implement support weekly quests cooldowns(Original patch by GriffonHeart), also code cleanups.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-04-15 08:26:30 +04:00
parent 6bcb297de4
commit 8abcca0a06
13 changed files with 244 additions and 49 deletions

View File

@@ -913,6 +913,27 @@ LOCK TABLES `character_queststatus_daily` WRITE;
/*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `character_queststatus_weekly`
--
DROP TABLE IF EXISTS `character_queststatus_weekly`;
CREATE TABLE `character_queststatus_weekly` (
`guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
`quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- Dumping data for table `character_queststatus_weekly`
--
LOCK TABLES `character_queststatus_weekly` WRITE;
/*!40000 ALTER TABLE `character_queststatus_weekly` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_queststatus_weekly` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `character_reputation`
--
@@ -1915,6 +1936,7 @@ DROP TABLE IF EXISTS `worldstates`;
CREATE TABLE `worldstates` (
`entry` mediumint(11) UNSIGNED NOT NULL DEFAULT '0',
`value` bigint(40) UNSIGNED NOT NULL DEFAULT '0',
`NextWeeklyQuestResetTime` bigint(40) unsigned NOT NULL default '0',
`comment` text NOT NULL,
PRIMARY KEY (`entry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Variable Saves';