Core/Spells: Drop some dead code
This commit is contained in:
@@ -568,17 +568,6 @@ void Spell::SpellDamageSchoolDmg(SpellEffIndex effIndex)
|
|||||||
if (back_damage < int32(unitTarget->GetHealth()))
|
if (back_damage < int32(unitTarget->GetHealth()))
|
||||||
m_caster->CastCustomSpell(m_caster, 32409, &back_damage, 0, 0, true);
|
m_caster->CastCustomSpell(m_caster, 32409, &back_damage, 0, 0, true);
|
||||||
}
|
}
|
||||||
// Mind Blast - applies Mind Trauma if:
|
|
||||||
else if (m_spellInfo->SpellFamilyFlags[2] & 0x00002000)
|
|
||||||
{
|
|
||||||
// We are in Shadow Form
|
|
||||||
if (m_caster->GetShapeshiftForm() == FORM_SHADOW)
|
|
||||||
// We have Improved Mind Blast
|
|
||||||
if (AuraEffect * aurEff = m_caster->GetDummyAuraEffect(SPELLFAMILY_PRIEST, 95, 0))
|
|
||||||
// Chance has been successfully rolled
|
|
||||||
if (roll_chance_i(aurEff->GetAmount()))
|
|
||||||
m_caster->CastSpell(unitTarget, 48301, true);
|
|
||||||
}
|
|
||||||
// Improved Mind Blast (Mind Blast in shadow form bonus)
|
// Improved Mind Blast (Mind Blast in shadow form bonus)
|
||||||
else if (m_caster->GetShapeshiftForm() == FORM_SHADOW && (m_spellInfo->SpellFamilyFlags[0] & 0x00002000))
|
else if (m_caster->GetShapeshiftForm() == FORM_SHADOW && (m_spellInfo->SpellFamilyFlags[0] & 0x00002000))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user