From 1b7b00a1f52dfa6662cda0d96fc2d70fdfe723b1 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Wed, 14 Jan 2009 23:08:41 +0300 Subject: [PATCH] [7086] Revert (remove not need code) from last commit (not need apply/remove racial passive aura) Signed-off-by: DiSlord --- src/game/SpellAuras.cpp | 8 -------- src/shared/revision_nr.h | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 959dc5503..5dd05817f 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c1233bb64..b3d863416 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7085" + #define REVISION_NR "7086" #endif // __REVISION_NR_H__