в режиме боя заклинание
http://ru.wowhead.com/search?q=%D0%9...0%B5#abilities не вводит в инвиз, исправление:
PHP код:
src/game/SpellAuras.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 59c654d..b654833 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3859,7 +3859,7 @@ void Aura::HandleModStealth(bool apply, bool Real)
}
// apply full stealth period bonuses only at first stealth aura in stack
- if(target->GetAurasByType(SPELL_AURA_MOD_STEALTH).size()<=1)
+ if(target->GetAurasByType(SPELL_AURA_MOD_STEALTH).size()<=2) // Vanish also triggering Stealth, but all ok, no double auras here possible
{
Unit::AuraList const& mDummyAuras = target->GetAurasByType(SPELL_AURA_DUMMY);
for(Unit::AuraList::const_iterator i = mDummyAuras.begin();i != mDummyAuras.end(); ++i)
@@ -3911,7 +3911,7 @@ void Aura::HandleModStealth(bool apply, bool Real)
if ((*i)->GetSpellProto()->SpellIconID == 2114)
target->CastSpell(target, 31666, true);
// Overkill
- else if ((*i)->GetId() == 58426 && GetSpellProto()->SpellFamilyFlags & UI64LIT(0x0000000000400000))
+ else if ((*i)->GetId() == 58426)//Overkill we should remove anyway
{
if (Aura* aura = target->GetAura(58427, EFFECT_INDEX_0))
{