Scripts/ScarletEnclave: Add weapons to Unworthy Initiate

Closes #14954
Closes #14955
This commit is contained in:
lafoniz
2015-07-19 21:56:16 +01:00
committed by DDuarte
parent 57da378dea
commit 673648ee65
2 changed files with 9 additions and 0 deletions

View File

@@ -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);

View File

@@ -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))