diff options
author | Rushor <PBienati@web.de> | 2015-05-24 14:54:21 +0200 |
---|---|---|
committer | Rushor <PBienati@web.de> | 2015-05-29 17:40:28 +0200 |
commit | 3625d83cd9811832885090c935055e15fcfa40ef (patch) | |
tree | f0312e07d8ef7e793c0474591cf032eb1e0f090b | |
parent | 0148832b322b58a5219ea4393331e1b5937c304c (diff) |
DB/Quest: No Mere Dream
closes #11252
-rw-r--r-- | sql/updates/world/2015_08_24_03_world.sql | 7 | ||||
-rw-r--r-- | src/server/scripts/Kalimdor/zone_moonglade.cpp | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/world/2015_08_24_03_world.sql b/sql/updates/world/2015_08_24_03_world.sql new file mode 100644 index 00000000000..ce03049c9a9 --- /dev/null +++ b/sql/updates/world/2015_08_24_03_world.sql @@ -0,0 +1,7 @@ +-- [Quest] No Mere Dream +UPDATE `smart_scripts` SET `event_phase_mask`=0 WHERE `entryorguid`=22834 AND `source_type`=0 AND `id`=1 AND `link`=2; +UPDATE `smart_scripts` SET `event_phase_mask`=0 WHERE `entryorguid`=22834 AND `source_type`=0 AND `id`=2 AND `link`=0; +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (22834) AND `SourceId`=0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22,2,22834,0,0,1,0,39601,1,0,1,0,'','Event SAI triggred only if the player don''t have the aura 39601'); +UPDATE `creature_template` SET `flags_extra`=0 WHERE `entry`=22916; diff --git a/src/server/scripts/Kalimdor/zone_moonglade.cpp b/src/server/scripts/Kalimdor/zone_moonglade.cpp index 704fefe2678..163620230ef 100644 --- a/src/server/scripts/Kalimdor/zone_moonglade.cpp +++ b/src/server/scripts/Kalimdor/zone_moonglade.cpp @@ -384,6 +384,8 @@ public: } PlayerGUID = player->GetGUID(); Start(true, false, PlayerGUID); + me->SetDisplayId(me->GetCreatureTemplate()->Modelid1); + me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); } return; } |