OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
difficultyscaling.cpp File Reference
#include "difficultyscaling.hpp"
#include <components/settings/settings.hpp>
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
#include "../mwworld/esmstore.hpp"
#include "actorutil.hpp"
Include dependency graph for difficultyscaling.cpp:

Functions

float scaleDamage (float damage, const MWWorld::Ptr &attacker, const MWWorld::Ptr &victim)
 Scales damage dealt to an actor based on difficulty setting. More...
 

Function Documentation

float scaleDamage ( float  damage,
const MWWorld::Ptr attacker,
const MWWorld::Ptr victim 
)

Scales damage dealt to an actor based on difficulty setting.

Here is the call graph for this function:

Here is the caller graph for this function: