Skip to content

Commit

Permalink
Merge pull request #220 from atrapalis/atrapalis-patch-1
Browse files Browse the repository at this point in the history
fix(DB): Added vanilla Onyxia as a dungeon/instance encounter
  • Loading branch information
ZhengPeiRu21 authored Jan 22, 2024
2 parents 77a65bd + f97fb5d commit 059eea8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sql/world/base/dungeon_onyxia.sql
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,12 @@ DELETE FROM `mapdifficulty_dbc` WHERE `MapID` = 249;
INSERT INTO `mapdifficulty_dbc` (`ID`, `MapID`, `Difficulty`, `RaidDuration`, `MaxPlayers`, `Difficultystring`) VALUES
(755, 249, 2, 604800, 40, 'RAID_DIFFICULTY_40PLAYER');

INSERT INTO `dungeonencounter_dbc` (`ID`, `MapID`, `Difficulty`, `OrderIndex`, `Bit`, `Name_Lang_enUS`, `Name_Lang_enGB`, `Name_Lang_koKR`, `Name_Lang_frFR`, `Name_Lang_deDE`, `Name_Lang_enCN`, `Name_Lang_zhCN`, `Name_Lang_enTW`, `Name_Lang_zhTW`, `Name_Lang_esES`, `Name_Lang_esMX`, `Name_Lang_ruRU`, `Name_Lang_ptPT`, `Name_Lang_ptBR`, `Name_Lang_itIT`, `Name_Lang_Unk`, `Name_Lang_Mask`, `SpellIconID`) VALUES
(895, 249, 2, 0, 0, 'Onyxia', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 16712190, 0);

INSERT INTO `instance_encounters` (`entry`, `creditType`, `creditEntry`, `lastEncounterDungeon`, `comment`) VALUES
(895, 0, 301000, 0, 'Onyxia (Vanilla)');

-- Victory for the Alliance - Bolvar or Varian
DELETE FROM `creature_questender` WHERE `quest` = 7495;
INSERT INTO `creature_questender` (`id`, `quest`) VALUES
Expand Down Expand Up @@ -1023,4 +1029,4 @@ DELETE FROM `areatrigger_scripts` WHERE `entry` = 2848;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
(2848, 'onyxia_entrance_trigger');

UPDATE `gameobject` SET `spawnMask` = 7 WHERE `map` = 249;
UPDATE `gameobject` SET `spawnMask` = 7 WHERE `map` = 249;

0 comments on commit 059eea8

Please sign in to comment.