Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pasdVn/435611 to your computer and use it in GitHub Desktop.
Save pasdVn/435611 to your computer and use it in GitHub Desktop.
From bc01931e5f2bd3dfeebd6a8ec69c7da87a600ba3 Mon Sep 17 00:00:00 2001
From: pasdVn <pasdVn3@gmx.de>
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