Jump to content

Recommended Posts

Posted

Fix for Glyph of Vigilance:

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index d8a0296..691afcc 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -9048,8 +9048,16 @@ void Spell::EffectRestoreItemCharges( SpellEffectIndex eff_idx )

void Spell::EffectRedirectThreat(SpellEffectIndex eff_idx)
{
-    if (unitTarget)
-        m_caster->getHostileRefManager().SetThreatRedirection(unitTarget->GetObjectGuid(), uint32(damage));
+    if (!unitTarget)
+        return;
+
+    // modifiers
+    // Glyph of Vigilance
+    if (m_spellInfo->Id == 59665)
+        if (Aura *glyph = unitTarget->GetDummyAura(63326))
+            damage += (uint32)glyph->GetModifier()->m_amount;
+
+    m_caster->getHostileRefManager().SetThreatRedirection(unitTarget->GetObjectGuid(), uint32(damage));
}

void Spell::EffectTeachTaxiNode( SpellEffectIndex eff_idx )

  • 1 month later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use