diff --git a/data/sql/updates/pending_db_world/rev_1668338070824615600.sql b/data/sql/updates/pending_db_world/rev_1668338070824615600.sql new file mode 100644 index 000000000..497debc04 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1668338070824615600.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `creature_text` WHERE `CreatureID`=15264 AND `groupid`=1; +INSERT INTO `creature_text` VALUES +(15264,1,0,'%s shares his powers with his brethren.',16,0,100,0,0,0,11692,0,'Anubisath Sentinel Emote'); diff --git a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp index 7d9ffdc9b..dbc451e9e 100644 --- a/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp +++ b/src/server/scripts/Kalimdor/TempleOfAhnQiraj/mob_anubisath_sentinel.cpp @@ -49,7 +49,8 @@ enum Spells SPELL_HEAL_BRETHEN = 26565, SPELL_ENRAGE = 8599, - TALK_ENRAGE = 0 + TALK_ENRAGE = 0, + TALK_SHARE_BUFFS = 1 }; class npc_anubisath_sentinel : public CreatureScript @@ -275,6 +276,7 @@ public: void JustDied(Unit* /*killer*/) override { + bool cast = false; for (int ni = 0; ni < 3; ++ni) { Creature* sent = ObjectAccessor::GetCreature(*me, NearbyGUID[ni]); @@ -282,10 +284,16 @@ public: continue; if (sent->isDead()) continue; + cast = true; DoCast(sent, SPELL_HEAL_BRETHEN, true); DoCast(sent, SPELL_TRANSFER_POWER, true); } + if (cast) + { + Talk(TALK_SHARE_BUFFS); + } + DoCastSelf(SPELL_SUMMON_SMALL_OBSIDIAN_CHUNK, true); }