Rotface should only cast Mutated Infection on one player.

This commit is contained in:
wonopon
2011-08-31 18:09:15 -03:00
parent 534ca8e23f
commit b0ec389e1f

View File

@@ -193,8 +193,6 @@ class boss_rotface : public CreatureScript
case EVENT_MUTATED_INFECTION:
{
Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1, 0.0f, true, -MUTATED_INFECTION);
if (!target)
target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true, -MUTATED_INFECTION);
if (target)
{
me->CastCustomSpell(SPELL_MUTATED_INFECTION, SPELLVALUE_MAX_TARGETS, 1, target, false);