Skip to content

Commit

Permalink
remove an unecessary elseif
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimdhex committed Oct 4, 2024
1 parent 0746f46 commit 39490f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1321,9 +1321,7 @@ struct npc_flame_of_azzinoth : public ScriptedAI

if (Unit* target = _blade->AI()->SelectTarget(SelectTargetMethod::Random, 0, -40.0f, true))
{
if (!offTank)
DoCast(target, SPELL_CHARGE);
else if (offTank != target)
if (!offTank || offTank != target)
DoCast(target, SPELL_CHARGE);
}
}
Expand Down

0 comments on commit 39490f2

Please sign in to comment.