mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 13:37:08 +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_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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue