Core: Fix indentation in SpellAuraEffects
This commit is contained in:
@@ -4927,22 +4927,18 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
|
||||
case SPELLFAMILY_PRIEST:
|
||||
// Vampiric Touch
|
||||
if (m_spellInfo->SpellFamilyFlags[1] & 0x0400 && aurApp->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL && GetEffIndex() == 0)
|
||||
{
|
||||
if (AuraEffect const* aurEff = GetBase()->GetEffect(1))
|
||||
{
|
||||
int32 damage = aurEff->GetAmount() * 8;
|
||||
// backfire damage
|
||||
target->CastCustomSpell(target, 64085, &damage, NULL, NULL, true, NULL, NULL, GetCasterGUID());
|
||||
}
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_WARLOCK:
|
||||
// Haunt
|
||||
if (m_spellInfo->SpellFamilyFlags[1] & 0x40000)
|
||||
{
|
||||
if (caster)
|
||||
target->CastCustomSpell(caster, 48210, &m_amount, 0, 0, true, NULL, this, GetCasterGUID());
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_DRUID:
|
||||
// Lifebloom
|
||||
@@ -4967,13 +4963,13 @@ void AuraEffect::HandleAuraDummy(AuraApplication const* aurApp, uint8 mode, bool
|
||||
case SPELLFAMILY_HUNTER:
|
||||
switch (GetId())
|
||||
{
|
||||
case 34477: // Misdirection
|
||||
if (aurApp->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE)
|
||||
case 34477: // Misdirection
|
||||
if (aurApp->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE)
|
||||
target->SetReducedThreatPercent(0, 0);
|
||||
break;
|
||||
case 35079: // Misdirection proc
|
||||
target->SetReducedThreatPercent(0, 0);
|
||||
break;
|
||||
case 35079: // Misdirection proc
|
||||
target->SetReducedThreatPercent(0, 0);
|
||||
break;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
|
||||
Reference in New Issue
Block a user