Jump to content

[fix][8246] wrong aura type in GetAura() in Tundra Stalker


Auntie Mangos
 Share

Recommended Posts

What bug does the patch fix? What features does the patch add?

just a small correction of aura type

For which repository revision was the patch created?

8220

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

http://getmangos.eu/community/viewtopic.php?id=9071&highlight=tundra+stalker

diff --git a/Unit2.cpp b/Unit.cpp
index d5da2a9..844b013 100644
--- a/Unit2.cpp
+++ b/Unit.cpp
@@ -7854,7 +7854,7 @@ uint32 Unit::SpellDamageBonus(Unit *pVictim, SpellEntry const *spellProto, uint3
                }
                else // Tundra Stalker
                {
-                    if (pVictim->GetAura(SPELL_AURA_DUMMY, SPELLFAMILY_DEATHKNIGHT, UI64LIT(0x0400000000000000)))
+                    if (pVictim->GetAura(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_DEATHKNIGHT, UI64LIT(0x0400000000000000)))
                        DoneTotalMod *= ((*i)->GetModifier()->m_amount+100.0f)/100.0f;
                    break;
                }

wowhead info on frost fever http://www.wowhead.com/?spell=55095

also the flags UI64LIT(0x0400000000000000) might have changed:confused:

plz test and share comments

Link to comment
Share on other sites

  • 39 years later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • 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