[7086] Revert (remove not need code) from last commit (not need apply/remove racial passive aura)

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-01-14 23:08:41 +03:00
parent 31722c1c0c
commit 1b7b00a1f5
2 changed files with 1 additions and 9 deletions

View file

@ -3433,10 +3433,6 @@ void Aura::HandleModStealth(bool apply, bool Real)
m_target->SetVisibility(VISIBILITY_GROUP_NO_DETECT);
m_target->SetVisibility(VISIBILITY_GROUP_STEALTH);
}
// (RACE_NIGHTELF stealth apply also Elusiveness)
if(m_target->getRace() == RACE_NIGHTELF)
m_target->CastSpell(m_target, 21009, true, NULL, this);
}
}
else
@ -3444,10 +3440,6 @@ void Aura::HandleModStealth(bool apply, bool Real)
// only at real aura remove
if(Real)
{
// (RACE_NIGHTELF stealth remove Elusiveness)
if(m_target->getRace() == RACE_NIGHTELF)
m_target->RemoveAurasDueToSpell(21009);
// if last SPELL_AURA_MOD_STEALTH and no GM invisibility
if(!m_target->HasAuraType(SPELL_AURA_MOD_STEALTH) && m_target->GetVisibility()!=VISIBILITY_OFF)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7085"
#define REVISION_NR "7086"
#endif // __REVISION_NR_H__