mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
*Fix some mana regeneration items - by FearX
*Fix judgement of Justice. --HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user