*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

@@ -6498,8 +6498,11 @@ void AuraEffect::PeriodicDummyTick()
case 22734:
case 27089:
case 34291:
case 43182:
case 43183:
case 46755:
case 49472: // Drink Coffee
case 57073:
case 61830:
{
if (m_target->GetTypeId() != TYPEID_PLAYER)

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;