diff options
| author | lafoniz <lafoniz@users.noreply.github.com> | 2015-07-19 21:56:16 +0100 |
|---|---|---|
| committer | DDuarte <dnpd.dd@gmail.com> | 2015-07-19 21:56:16 +0100 |
| commit | 673648ee6507597837bd2c8a7a78f425d139baea (patch) | |
| tree | 4ae4df0b8d08e753121f5a556c622e5ea91cfa09 | |
| parent | 57da378dea2b13c092dab71b181c859790e41b99 (diff) | |
Scripts/ScarletEnclave: Add weapons to Unworthy Initiate
Closes #14954
Closes #14955
| -rw-r--r-- | sql/updates/world/2015_07_19_35_world.sql | 8 | ||||
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter1.cpp | 1 |
2 files changed, 9 insertions, 0 deletions
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)) |
