diff options
| author | QAston <none@none> | 2009-06-16 11:48:41 +0200 | 
|---|---|---|
| committer | QAston <none@none> | 2009-06-16 11:48:41 +0200 | 
| commit | 8f8bc70afb0628be3e8c29c8c8eda46304427ea4 (patch) | |
| tree | 45efffcebc6faabe90dc56355ea7fb123703a760 /src | |
| parent | 5baa0f11d0d0ef6a88c0ad79f363e6cd53b1c886 (diff) | |
*Fix some mana regeneration items - by FearX
*Fix judgement of Justice.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuras.cpp | 3 | ||||
| -rw-r--r-- | src/game/SpellEffects.cpp | 2 | 
2 files changed, 4 insertions, 1 deletions
| 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; | 
