Revert "Enchanting: fix inverted self-enchant success chance"

It wasn't inverted to begin with. The author of this commit is an idiot.
openmw-35
scrawl 10 years ago
parent 157438460b
commit ef1b0a191b

@ -65,7 +65,7 @@ namespace MWMechanics
if(mSelfEnchanting)
{
if(std::rand()/static_cast<double> (RAND_MAX)*100 < getEnchantChance())
if(getEnchantChance()<std::rand()/static_cast<double> (RAND_MAX)*100)
return false;
mEnchanter.getClass().skillUsageSucceeded (mEnchanter, ESM::Skill::Enchant, 2);

Loading…
Cancel
Save