Core: Fix indentation in SpellAuraEffects

This commit is contained in:
Nay
2011-09-03 23:29:30 +02:00
parent fab78d5e02
commit 5a63d12457
@@ -4927,22 +4927,18 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
case SPELLFAMILY_PRIEST: case SPELLFAMILY_PRIEST:
// Vampiric Touch // Vampiric Touch
if (m_spellInfo->SpellFamilyFlags[1] & 0x0400 && aurApp->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL && GetEffIndex() == 0) if (m_spellInfo->SpellFamilyFlags[1] & 0x0400 && aurApp->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL && GetEffIndex() == 0)
{
if (AuraEffect const* aurEff = GetBase()->GetEffect(1)) if (AuraEffect const* aurEff = GetBase()->GetEffect(1))
{ {
int32 damage = aurEff->GetAmount() * 8; int32 damage = aurEff->GetAmount() * 8;
// backfire damage // backfire damage
target->CastCustomSpell(target, 64085, &damage, NULL, NULL, true, NULL, NULL, GetCasterGUID()); target->CastCustomSpell(target, 64085, &damage, NULL, NULL, true, NULL, NULL, GetCasterGUID());
} }
}
break; break;
case SPELLFAMILY_WARLOCK: case SPELLFAMILY_WARLOCK:
// Haunt // Haunt
if (m_spellInfo->SpellFamilyFlags[1] & 0x40000) if (m_spellInfo->SpellFamilyFlags[1] & 0x40000)
{
if (caster) if (caster)
target->CastCustomSpell(caster, 48210, &m_amount, 0, 0, true, NULL, this, GetCasterGUID()); target->CastCustomSpell(caster, 48210, &m_amount, 0, 0, true, NULL, this, GetCasterGUID());
}
break; break;
case SPELLFAMILY_DRUID: case SPELLFAMILY_DRUID:
// Lifebloom // Lifebloom
@@ -4967,13 +4963,13 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
case SPELLFAMILY_HUNTER: case SPELLFAMILY_HUNTER:
switch (GetId()) switch (GetId())
{ {
case 34477: // Misdirection case 34477: // Misdirection
if (aurApp->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE) if (aurApp->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE)
target->SetReducedThreatPercent(0, 0);
break;
case 35079: // Misdirection proc
target->SetReducedThreatPercent(0, 0); target->SetReducedThreatPercent(0, 0);
break; break;
case 35079: // Misdirection proc
target->SetReducedThreatPercent(0, 0);
break;
} }
break; break;
case SPELLFAMILY_DEATHKNIGHT: case SPELLFAMILY_DEATHKNIGHT: