mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Scripts/Magtheridon Lair: Fixed a case when channelers get hit kill and not start fight
It's needed for cataclysm+
This commit is contained in:
@@ -347,6 +347,10 @@ class npc_hellfire_channeler : public CreatureScript
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
{
|
||||
DoCastAOE(SPELL_SOUL_TRANSFER);
|
||||
|
||||
// Channelers killed by "Hit Kill" need trigger combat event too. It's needed for Cata+
|
||||
if (Creature* magtheridon = _instance->GetCreature(DATA_MAGTHERIDON))
|
||||
magtheridon->AI()->DoAction(ACTION_START_CHANNELERS_EVENT);
|
||||
}
|
||||
|
||||
void JustSummoned(Creature* summon) override
|
||||
|
||||
Reference in New Issue
Block a user