diff options
author | maximius <none@none> | 2009-10-15 00:45:29 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-15 00:45:29 -0700 |
commit | 1319312af1a2b22edd7f63936226ba63581b9d22 (patch) | |
tree | 90cf31ff4881a03f70b25223df9c2cfab77fd44c | |
parent | 47079eb853337bf11fe2dbf1007f07b3048566e7 (diff) |
*Fix some errors in last commit
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 4 | ||||
-rw-r--r-- | src/game/Totem.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f1f5b4f21f4..373dfb912b1 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6277,8 +6277,8 @@ void AuraEffect::PeriodicTick() if (pCaster->GetTypeId() == TYPEID_UNIT && ((Creature*)pCaster)->isTotem() && ((Totem*)pCaster)->GetTotemType() != TOTEM_STATUE) { - uint32 procAttacker = PROC_FLAG_SUCCESSFUL_NEGATIVE_SPELL_HIT; // | PROC_FLAG_SUCCESSFUL_HARMFUL_SPELL_HIT; - uint32 procVictim = PROC_FLAG_SUCCESSFUL_AOE_SPELL_HIT; // | PROC_FLAG_TAKEN_HARMFUL_SPELL_HIT; + uint32 procAttacker = PROC_FLAG_SUCCESSFUL_NEGATIVE_SPELL_HIT; + uint32 procVictim = PROC_FLAG_TAKEN_NEGATIVE_SPELL_HIT; SpellEntry const *spellProto = GetSpellProto(); if (spellProto->SpellFamilyName == SPELLFAMILY_GENERIC) // SPELLFAMILY_GENERIC proc by triggered spell diff --git a/src/game/Totem.h b/src/game/Totem.h index 9975cd4deae..6dbd699f1d2 100644 --- a/src/game/Totem.h +++ b/src/game/Totem.h @@ -27,6 +27,7 @@ enum TotemType { TOTEM_PASSIVE = 0, TOTEM_ACTIVE = 1, + TOTEM_STATUE = 2 // copied straight from MaNGOS, may need more implementation to work }; #define SENTRY_TOTEM_ENTRY 3968 |