OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions
difficultyscaling.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MWWorld
 World data.
 

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: