From 998add622c7665ff3e4ee11dfc48157fb14d822c Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sat, 24 Nov 2018 22:53:58 +0100 Subject: [PATCH] Scripts/BoT: fixed setting loot recipient for Elementium Monstrosity --- .../BastionOfTwilight/boss_ascendant_council.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_ascendant_council.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_ascendant_council.cpp index 4d96bf49e5e..1d7cf204304 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_ascendant_council.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_ascendant_council.cpp @@ -1321,6 +1321,8 @@ class npc_elementium_monstrosity : public CreatureScript void IsSummonedBy(Unit* /*summoner*/) override { DoZoneInCombat(); + if (Player* player = me->SelectNearestPlayer(100.0f)) + me->SetLootRecipient(player); DoCastSelf(SPELL_TWILIGHT_EXPLOSION_DND); DoCastSelf(SPELL_MERGE_HEALTH); Talk(SAY_SUMMONED);