Scripts/BoT: fixed setting loot recipient for Elementium Monstrosity
This commit is contained in:
1 parent
b8a2043f95
commit
998add622c
1 file changed
+2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user