Remade access_requirement table, now each difficulty mode for each instance has its own entry (for future Dungeon Finder development)
Added completed achievement as new requirement type Removed obsolete access_id from areatrigger_teleport table Implemented automatic downscaling of raid difficulty when requested mode does not exist Changed dungeon_difficulty in characters table to instance_mode_mask saving both dungeon and raid difficulty in form (dungeon diff | raid diff << 4) --HG-- branch : trunk
This commit is contained in:
1 parent
dfe5ae36d3
commit
ade1bbdd62
19 files changed
+172
-156
No files matched your search
@@ -0,0 +1,12 @@
|
||||
ALTER TABLE `access_requirement`
|
||||
DROP PRIMARY KEY,
|
||||
CHANGE `id` `mapId` mediumint(8) unsigned NOT NULL FIRST,
|
||||
ADD `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `mapId`,
|
||||
DROP `heroic_level_min`,
|
||||
DROP `heroic_key`,
|
||||
DROP `heroic_key2`,
|
||||
CHANGE `quest_done` `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `item2`,
|
||||
CHANGE `heroic_quest_done` `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `quest_done_A`,
|
||||
ADD `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT '0' AFTER `quest_done_H`,
|
||||
DROP `heroic_quest_failed_text`,
|
||||
ADD PRIMARY KEY(`mapId`,`difficulty`);
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE `areatrigger_teleport` DROP `access_id`;
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE `characters` CHANGE `dungeon_difficulty` `instance_mode_mask` tinyint(2) UNSIGNED NOT NULL DEFAULT 0 AFTER `instance_id`;
|
||||
Reference in new issue
Block a user