*Fix some mana regeneration items - by FearX

*Fix judgement of Justice.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-16 11:48:41 +02:00
parent 5baa0f11d0
commit 8f8bc70afb
2 changed files with 4 additions and 1 deletions

View File

@@ -5249,7 +5249,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
case SPELLFAMILY_PALADIN:
{
// Judgement
if (m_spellInfo->SpellFamilyFlags[0] & 0x800000)
if (m_spellInfo->SpellFamilyFlags[0] & 0x800000 || m_spellInfo->SpellFamilyFlags[2] & 0x8)
{
if(!unitTarget || !unitTarget->isAlive())
return;