aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellMgr.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-03-22 17:21:01 +0100
committerQAston <none@none>2009-03-22 17:21:01 +0100
commit5242ff364d812c4f10af9564a3249af9cd4e539c (patch)
tree678596cca859a53daed337aa8385e0fece319059 /src/game/SpellMgr.cpp
parentdf553a98dd221b212189769627ce28f27a662aca (diff)
*Temporary hack to make Penance heal/damage at aura apply.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r--src/game/SpellMgr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index e42e5dc4488..fcde116a71e 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2395,6 +2395,11 @@ void SpellMgr::LoadSpellCustomAttr()
if(spellInfo->SpellFamilyFlags[2] & 0x100)
spellInfo->MaxAffectedTargets = 2;
break;
+ case SPELLFAMILY_PRIEST:
+ // Penance
+ if (spellInfo->SpellFamilyFlags[1] & 800000)
+ m_spellProto->AttributesEx5 | SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY;
+ break;
}
}
}