diff options
-rw-r--r-- | sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql | 14 | ||||
-rw-r--r-- | src/server/scripts/Kalimdor/zone_ashenvale.cpp | 10 |
2 files changed, 22 insertions, 2 deletions
diff --git a/sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql b/sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql new file mode 100644 index 00000000000..280591c87ec --- /dev/null +++ b/sql/updates/world/master/2021_06_19_00_world_2018_01_28_02_world.sql @@ -0,0 +1,14 @@ +DELETE FROM `creature_text` WHERE `CreatureID`=12818; +INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(12818, 0, 0, "Thank you for freeing me. Speak with my sister in Splintertree. I... I must find a place to rest...", 12, 0, 100, 0, 10000, 0, 8265, 0, "Ruul Snowhoof"); + +DELETE FROM `script_waypoint` WHERE `entry`=12818 AND `pointid`>20; +INSERT INTO `script_waypoint` (`entry`, `pointid`, `location_x`, `location_y`, `location_z`, `waittime`, `point_comment`) VALUES +(12818, 21, 3484.2211, -489.7181, 182.391, 0, ""), +(12818, 22, 3454.7424, -476.7681, 170.161, 0, ""), +(12818, 23, 3381.2749, -428.4134, 149.411, 0, ""), +(12818, 24, 3323.4501, -446.5041, 150.590, 0, ""), +(12818, 25, 3302.2722, -485.8791, 153.285, 0, ""), +(12818, 26, 3287.0722, -519.1887, 154.622, 0, ""), +(12818, 27, 3249.5512, -531.9198, 151.633, 5000, "The end"), +(12818, 28, 3249.5512, -531.9198, 151.633, 0, "The end"); diff --git a/src/server/scripts/Kalimdor/zone_ashenvale.cpp b/src/server/scripts/Kalimdor/zone_ashenvale.cpp index b9fd1716574..23b8f82b67f 100644 --- a/src/server/scripts/Kalimdor/zone_ashenvale.cpp +++ b/src/server/scripts/Kalimdor/zone_ashenvale.cpp @@ -44,9 +44,13 @@ enum RuulSnowhoof NPC_THISTLEFUR_TOTEMIC = 3922, NPC_THISTLEFUR_PATHFINDER = 3926, QUEST_FREEDOM_TO_RUUL = 6482, - GO_CAGE = 178147 + GO_CAGE = 178147, + RUUL_SHAPECHANGE = 20514, + SAY_FINISH = 0 }; + + Position const RuulSnowhoofSummonsCoord[6] = { { 3449.218018f, -587.825073f, 174.978867f, 4.714445f }, @@ -111,7 +115,9 @@ public: me->SummonCreature(NPC_THISTLEFUR_URSA, RuulSnowhoofSummonsCoord[4], TEMPSUMMON_DEAD_DESPAWN, 60000); me->SummonCreature(NPC_THISTLEFUR_PATHFINDER, RuulSnowhoofSummonsCoord[5], TEMPSUMMON_DEAD_DESPAWN, 60000); break; - case 21: + case 27: + me->RemoveAurasDueToSpell(RUUL_SHAPECHANGE); + Talk(SAY_FINISH, player); player->GroupEventHappens(QUEST_FREEDOM_TO_RUUL, me); break; } |