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:
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user