Created
June 12, 2010 10:07
-
-
Save pasdVn/435611 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bc01931e5f2bd3dfeebd6a8ec69c7da87a600ba3 Mon Sep 17 00:00:00 2001 | |
From: pasdVn <[email protected]> | |
Date: Sat, 12 Jun 2010 10:19:09 +0200 | |
Subject: [PATCH 6/6] Fixed problem with pet scaling aura update. | |
Pet talent 62758 & rank. | |
--- | |
src/game/SpellEffects.cpp | 6 ++++++ | |
1 files changed, 6 insertions(+), 0 deletions(-) | |
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp | |
index f0c6fcf..27d2aee 100644 | |
--- a/src/game/SpellEffects.cpp | |
+++ b/src/game/SpellEffects.cpp | |
@@ -2493,6 +2493,12 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) | |
} | |
break; | |
} | |
+ case SPELLFAMILY_PET: | |
+ { | |
+ if (m_spellInfo->SpellIconID == 3748 && unitTarget->GetTypeId() == TYPEID_UNIT && ((Creature*)unitTarget)->isPet()) | |
+ ((Pet*)unitTarget)->UpdateScalingAuras(); | |
+ break; | |
+ } | |
} | |
// pet auras | |
-- | |
1.6.5.1.1367.gcd48 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment