Core/Spells: Implemented Glyph of Steady Shot
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user