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

Port From (https://github.com/TrinityCore/TrinityCore/commit/c43f61df3d1612bfe87f2df499e2687c87cb1208)
This commit is contained in:
hondacrx
2021-06-23 14:43:49 -04:00
parent e8b7f00161
commit 22c57b92db
+1 -4
View File
@@ -4304,10 +4304,7 @@ namespace Game.Spells
continue;
}
if (hit)
m_caster.ModifyPower(cost.Power, -cost.Amount);
else
m_caster.ModifyPower(cost.Power, -RandomHelper.IRand(0, cost.Amount / 4));
m_caster.ModifyPower(cost.Power, -cost.Amount);
}
}