From 4e2b89ac4745468b73ed16b81c9a5267dfc5aff4 Mon Sep 17 00:00:00 2001 From: AriDEV Date: Fri, 24 Nov 2023 10:25:06 +0100 Subject: [PATCH] Scripts: Give players huo's blessing on quest accept. --- sql/updates/world/2023_11_24_world_02.sql | 3 +++ src/server/scripts/Pandaria/zone_wandering_island.cpp | 1 + 2 files changed, 4 insertions(+) create mode 100644 sql/updates/world/2023_11_24_world_02.sql diff --git a/sql/updates/world/2023_11_24_world_02.sql b/sql/updates/world/2023_11_24_world_02.sql new file mode 100644 index 0000000000..1a8ef7e0ee --- /dev/null +++ b/sql/updates/world/2023_11_24_world_02.sql @@ -0,0 +1,3 @@ +UPDATE `quest_template` SET `PrevQuestId`=29421 WHERE `Id`=29422; + +UPDATE `creature_template` SET `ScriptName`='npc_huo' WHERE `entry`=54787; diff --git a/src/server/scripts/Pandaria/zone_wandering_island.cpp b/src/server/scripts/Pandaria/zone_wandering_island.cpp index e5088cb37f..ab9bf62314 100644 --- a/src/server/scripts/Pandaria/zone_wandering_island.cpp +++ b/src/server/scripts/Pandaria/zone_wandering_island.cpp @@ -203,6 +203,7 @@ class npc_huo : public CreatureScript bool OnQuestAccept(Player* player, Creature* /*creature*/, Quest const* /*quest*/ ) OVERRIDE { + player->CastSpell(player, 102630); // blessing of huo player->CastSpell(player, 128700); return true; }