From 673648ee6507597837bd2c8a7a78f425d139baea Mon Sep 17 00:00:00 2001 From: lafoniz Date: Sun, 19 Jul 2015 21:56:16 +0100 Subject: [PATCH] Scripts/ScarletEnclave: Add weapons to Unworthy Initiate Closes #14954 Closes #14955 --- sql/updates/world/2015_07_19_35_world.sql | 8 ++++++++ .../scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 1 + 2 files changed, 9 insertions(+) create mode 100644 sql/updates/world/2015_07_19_35_world.sql diff --git a/sql/updates/world/2015_07_19_35_world.sql b/sql/updates/world/2015_07_19_35_world.sql new file mode 100644 index 00000000000..205aa716424 --- /dev/null +++ b/sql/updates/world/2015_07_19_35_world.sql @@ -0,0 +1,8 @@ +-- Equipment Template for NPC Unworthy Initiate +DELETE FROM `creature_equip_template` WHERE `CreatureID` IN (29519, 29520, 29565, 29566, 29567); +INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`, `VerifiedBuild`) VALUES +(29519, 1, 38707, 0, 0, 0), +(29520, 1, 38707, 0, 0, 0), +(29565, 1, 38707, 0, 0, 0), +(29566, 1, 38707, 0, 0, 0), +(29567, 1, 38707, 0, 0, 0); diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp index ba2f1505127..9b290852dc2 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp @@ -152,6 +152,7 @@ public: if (id == 1) { wait_timer = 5000; + me->LoadEquipment(1); me->CastSpell(me, SPELL_DK_INITIATE_VISUAL, true); if (Player* starter = ObjectAccessor::GetPlayer(*me, playerGUID))