Core/Spells: Implemented Glyph of Steady Shot

This commit is contained in:
johnholiver
2011-03-19 11:15:07 +01:00
committed by Shauren
parent 1465a081d0
commit c5bf4f06ae
+7
View File
@@ -10327,6 +10327,13 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
if (HasAura(200000))
DoneTotalMod *= 4;
break;
case SPELLFAMILY_HUNTER:
// Steady Shot
if(spellProto->SpellFamilyFlags[1] & 0x1)
if (AuraEffect * aurEff = GetAuraEffect(56826, 0)) // Glyph of Steady Shot
if (pVictim->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_HUNTER, 0x00004000, 0, 0, GetGUID()))
AddPctN(DoneTotalMod, aurEff->GetAmount());
break;
case SPELLFAMILY_DEATHKNIGHT:
// Improved Icy Touch
if (spellProto->SpellFamilyFlags[0] & 0x2)