aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp4
-rw-r--r--src/game/Totem.h1
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