mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7721] Fixed possible source crash at rogue stealth lost in some special cases.
This commit is contained in:
parent
b9853cb958
commit
57002fa014
2 changed files with 3 additions and 3 deletions
|
|
@ -3535,7 +3535,7 @@ void Aura::HandleModStealth(bool apply, bool Real)
|
|||
else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & 0x0000000000400000LL)
|
||||
{
|
||||
pTarget->RemoveAurasDueToSpell(58428);
|
||||
pTarget->CastSpell(m_target, 58427, true);
|
||||
pTarget->CastSpell(pTarget, 58427, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3573,7 +3573,7 @@ void Aura::HandleModStealth(bool apply, bool Real)
|
|||
pTarget->CastSpell(pTarget,31666,true);
|
||||
// Overkill
|
||||
else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & 0x0000000000400000LL)
|
||||
pTarget->CastSpell(m_target, 58428, true);
|
||||
pTarget->CastSpell(pTarget, 58428, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7720"
|
||||
#define REVISION_NR "7721"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue