mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[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:
parent
31722c1c0c
commit
1b7b00a1f5
2 changed files with 1 additions and 9 deletions
|
|
@ -3433,10 +3433,6 @@ void Aura::HandleModStealth(bool apply, bool Real)
|
||||||
m_target->SetVisibility(VISIBILITY_GROUP_NO_DETECT);
|
m_target->SetVisibility(VISIBILITY_GROUP_NO_DETECT);
|
||||||
m_target->SetVisibility(VISIBILITY_GROUP_STEALTH);
|
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
|
else
|
||||||
|
|
@ -3444,10 +3440,6 @@ void Aura::HandleModStealth(bool apply, bool Real)
|
||||||
// only at real aura remove
|
// only at real aura remove
|
||||||
if(Real)
|
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 last SPELL_AURA_MOD_STEALTH and no GM invisibility
|
||||||
if(!m_target->HasAuraType(SPELL_AURA_MOD_STEALTH) && m_target->GetVisibility()!=VISIBILITY_OFF)
|
if(!m_target->HasAuraType(SPELL_AURA_MOD_STEALTH) && m_target->GetVisibility()!=VISIBILITY_OFF)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7085"
|
#define REVISION_NR "7086"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue