Ahn'Kahet: Amanitar should cast the fungus only on players without "Mini" aura.

This commit is contained in:
Kartselyanski
2018-06-24 03:37:51 +03:00
committed by Barbz
parent 9bbb1b10e0
commit 113ac06929

View File

@@ -196,8 +196,8 @@ public:
if (!killer)
return;
if (me->GetEntry() == NPC_HEALTHY_MUSHROOM)
me->CastSpell(me, SPELL_HEALTHY_MUSHROOM_POTENT_FUNGUS, true);
if (me->GetEntry() == NPC_HEALTHY_MUSHROOM && !killer->HasAura(SPELL_MINI))
DoCast(killer, SPELL_HEALTHY_MUSHROOM_POTENT_FUNGUS);
}
void EnterCombat(Unit* /*who*/) {}