diff --git a/data/sql/updates/pending_db_world/rev_1668883622593350000.sql b/data/sql/updates/pending_db_world/rev_1668883622593350000.sql new file mode 100644 index 000000000..8aa42f26d --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1668883622593350000.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=17517 AND `source_type`=0 AND `id`=1; +INSERT INTO `smart_scripts` VALUES +(17517,0,1,0,4,0,100,0,0,0,0,0,0,45,0,1,0,0,0,0,23,0,0,0,0,0,0,0,0,'Hellfire Sentry - On Aggro - Set Data 0-1 on summoner'); diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp index f0ebbe7ee..e7cde7386 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp @@ -132,6 +132,14 @@ public: BossAI::EnterEvadeMode(); } + void SetData(uint32 type, uint32 data) override + { + if (type == 0 && data == 1) + { + summons.DoZoneInCombat(NPC_HELLFIRE_SENTRY); + } + } + void UpdateAI(uint32 /*diff*/) override { if (!me->IsVisible() && summons.size() == 0)