diff options
author | Kartselyanski <emiliyan9604bg@gmail.com> | 2018-06-24 03:37:51 +0300 |
---|---|---|
committer | Barbz <BarbzYHOOL@users.noreply.github.com> | 2018-07-17 00:01:09 +0200 |
commit | 113ac069295f3de20ccbb5132f1e9b9448ae7341 (patch) | |
tree | 0d08b24e5cf6d89116230160cab7105b7084af30 | |
parent | 9bbb1b10e0aa58b7b90395eef3be764f3fcf831b (diff) |
Ahn'Kahet: Amanitar should cast the fungus only on players without "Mini" aura.
-rw-r--r-- | src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp index c8d89e5a64..db631b5d9a 100644 --- a/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/ahnkahet/boss_amanitar.cpp @@ -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*/) {} |