Core/Spell: killed deprecated code which randomly changed powercost for missed spells

Added in 80d3cd43f6

Closes #5954

(cherry picked from commit b1072faa50)
This commit is contained in:
ariel-
2018-01-24 13:07:01 -03:00
committed by Shauren
parent 570b2b4ce0
commit c43f61df3d

View File

@@ -4761,10 +4761,7 @@ void Spell::TakePower()
continue;
}
if (hit)
m_caster->ModifyPower(powerType, -cost.Amount);
else
m_caster->ModifyPower(powerType, -irand(0, cost.Amount / 4));
m_caster->ModifyPower(powerType, -cost.Amount);
}
}