From 8f8bc70afb0628be3e8c29c8c8eda46304427ea4 Mon Sep 17 00:00:00 2001 From: QAston Date: Tue, 16 Jun 2009 11:48:41 +0200 Subject: [PATCH] *Fix some mana regeneration items - by FearX *Fix judgement of Justice. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 3 +++ src/game/SpellEffects.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index c83134335ea..a88ff097673 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f29c883a5f4..e19dae8601f 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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;