Scripts/Obsidian Sanctum: Removed unneeded code causing crashes

Closes issue #5191.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-18 22:22:25 +01:00
parent f339ced1bf
commit 3ad400ad1a
@@ -697,10 +697,6 @@ public:
else
m_uiVesperonTimer -= uiDiff;
// Don't attack current target if he's not visible for us.
if(me->getVictim() && me->getVictim()->HasAura(57874, 0))
me->getThreatManager().modifyThreatPercent(me->getVictim(), -100);
DoMeleeAttackIfReady();
EnterEvadeIfOutOfCombatArea(uiDiff);
@@ -1083,10 +1079,6 @@ public:
else
m_uiShadowBreathTimer -= uiDiff;
// Don't attack current target if he's not visible for us.
if(me->getVictim() && me->getVictim()->HasAura(57874, 0))
me->getThreatManager().modifyThreatPercent(me->getVictim(), -100);
DoMeleeAttackIfReady();
}
};
@@ -1193,10 +1185,6 @@ public:
else
m_uiShadowBreathTimer -= uiDiff;
// Don't attack current target if he's not visible for us.
if (me->getVictim()->HasAura(57874, 0))
me->getThreatManager().modifyThreatPercent(me->getVictim(), -100);
DoMeleeAttackIfReady();
}
};
@@ -1294,10 +1282,6 @@ public:
else
m_uiShadowBreathTimer -= uiDiff;
// Don't attack current target if he's not visible for us.
if(me->getVictim() && me->getVictim()->HasAura(57874, 0))
me->getThreatManager().modifyThreatPercent(me->getVictim(), -100);
DoMeleeAttackIfReady();
}
};