Fixed Glyph of Sunder Armor.

--HG--
branch : trunk
This commit is contained in:
Astellar
2010-01-05 12:09:50 +03:00
parent 21c9c6d5cc
commit a93b987637
+13
View File
@@ -5676,6 +5676,19 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
basepoints0 = GetShieldBlockValue() * triggerAmount / 100;
break;
}
// Glyph of Sunder Armor
if (dummySpell->Id == 58387)
{
if (!pVictim || !pVictim->isAlive() || !procSpell)
return false;
target = SelectNearbyTarget();
if (!target || target == pVictim)
return false;
CastSpell(target, 58567, true);
return true;
}
break;
}
case SPELLFAMILY_WARLOCK: