mirror of
https://github.com/mangosfour/server.git
synced 2025-12-24 10:37:02 +00:00
Quest that can repeated each month are set by quest_template.SpecialFlags |0x04 flag Quest are reset at midnight the first day of each month. Note: for the time being, quest must also be set repeatable (SpecialFlags |0x01) Signed-off-by: NoFantasy <nofantasy@nf.no>
12 lines
685 B
SQL
12 lines
685 B
SQL
ALTER TABLE character_db_version CHANGE COLUMN required_10568_01_characters_character_tutorial required_10655_01_characters_character_queststatus_monthly bit;
|
|
|
|
DROP TABLE IF EXISTS character_queststatus_monthly;
|
|
CREATE TABLE character_queststatus_monthly (
|
|
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';
|
|
|
|
ALTER TABLE saved_variables
|
|
ADD COLUMN NextMonthlyQuestResetTime bigint(40) unsigned NOT NULL default '0' AFTER NextWeeklyQuestResetTime;
|