|
|
|
@ -15,6 +15,16 @@ float scaleDamage(float damage, const MWWorld::Ptr& attacker, const MWWorld::Ptr
|
|
|
|
|
// [-100, 100]
|
|
|
|
|
int difficultySetting = Settings::Manager::getInt("difficulty", "Game");
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Start of tes3mp change (major)
|
|
|
|
|
|
|
|
|
|
Don't set difficulty based on client settings
|
|
|
|
|
*/
|
|
|
|
|
difficultySetting = 0;
|
|
|
|
|
/*
|
|
|
|
|
End of tes3mp change (major)
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
static const float fDifficultyMult = MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fDifficultyMult")->getFloat();
|
|
|
|
|
|
|
|
|
|
float difficultyTerm = 0.01f * difficultySetting;
|
|
|
|
|