Skip to content

Instantly share code, notes, and snippets.

@tobmaps
Created July 23, 2011 17:54
Show Gist options
  • Save tobmaps/1101688 to your computer and use it in GitHub Desktop.
Save tobmaps/1101688 to your computer and use it in GitHub Desktop.
Grounding Totem fix
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
@johndays
Copy link

johndays commented Mar 9, 2012

This fix what?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment