mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Fix Night Elf race ability on stealth path by Kirix
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
b64ce9ea34
commit
c38db592ba
1 changed files with 4 additions and 4 deletions
|
|
@ -3434,8 +3434,8 @@ void Aura::HandleModStealth(bool apply, bool Real)
|
|||
m_target->SetVisibility(VISIBILITY_GROUP_STEALTH);
|
||||
}
|
||||
|
||||
// for RACE_NIGHTELF stealth
|
||||
if(m_target->GetTypeId()==TYPEID_PLAYER && GetId()==20580)
|
||||
// (RACE_NIGHTELF stealth apply also Elusiveness)
|
||||
if(m_target->getRace() == RACE_NIGHTELF)
|
||||
m_target->CastSpell(m_target, 21009, true, NULL, this);
|
||||
}
|
||||
}
|
||||
|
|
@ -3444,8 +3444,8 @@ void Aura::HandleModStealth(bool apply, bool Real)
|
|||
// only at real aura remove
|
||||
if(Real)
|
||||
{
|
||||
// for RACE_NIGHTELF stealth
|
||||
if(m_target->GetTypeId()==TYPEID_PLAYER && GetId()==20580)
|
||||
// (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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue