*Fix Shattered Barrier
--HG-- branch : trunk
This commit is contained in:
1 parent
47b39981a1
commit
8b96182b1c
6 files changed
+36
-15
No files matched your search
+12
-1
@@ -2181,7 +2181,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
|
||||
{
|
||||
if ((*i)->GetModifier()->m_amount<=0)
|
||||
{
|
||||
pVictim->RemoveAurasDueToSpell((*i)->GetId());
|
||||
pVictim->RemoveAurasByCasterSpell((*i)->GetId(), (*i)->GetCasterGUID());
|
||||
i = vSchoolAbsorb.begin();
|
||||
}
|
||||
else
|
||||
@@ -5376,6 +5376,17 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
|
||||
triggered_spell_id = 29077;
|
||||
break;
|
||||
}
|
||||
// Shattered Barrier
|
||||
if (dummySpell->SpellIconID == 2945)
|
||||
{
|
||||
// only on dispel/remove aura by sestroy
|
||||
if (procEx & PROC_EX_AURA_REMOVE_EXPIRE && damage)
|
||||
return false;
|
||||
target = NULL;
|
||||
triggered_spell_id = 55080;
|
||||
CastSpell(target, triggered_spell_id, true);
|
||||
return true;
|
||||
}
|
||||
// Hot Streak
|
||||
if (dummySpell->SpellIconID == 2999)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user