Created
July 23, 2011 17:54
-
-
Save tobmaps/1101688 to your computer and use it in GitHub Desktop.
Grounding Totem fix
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
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp | |
index b61d3b8..07b8e67 100755 | |
--- a/src/server/game/Entities/Unit/Unit.cpp | |
+++ b/src/server/game/Entities/Unit/Unit.cpp | |
@@ -8073,6 +8073,22 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp | |
} | |
break; | |
} | |
+ case SPELLFAMILY_SHAMAN: | |
+ { | |
+ switch (dummySpell->Id) | |
+ { | |
+ // Grounding Totem | |
+ case 8178: | |
+ { | |
+ *handled = true; | |
+ // uncomment it when we will implement proc from taken non-damaging spells | |
+ /*if (victim != this) | |
+ return true;*/ | |
+ break; | |
+ } | |
+ } | |
+ break; | |
+ } | |
case SPELLFAMILY_MAGE: | |
{ | |
// Combustion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This fix what?