OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
difficultyscaling.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_MWMECHANICS_DIFFICULTYSCALING_H
2 #define OPENMW_MWMECHANICS_DIFFICULTYSCALING_H
3 
4 namespace MWWorld
5 {
6  class Ptr;
7 }
8 
10 float scaleDamage(float damage, const MWWorld::Ptr& attacker, const MWWorld::Ptr& victim);
11 
12 #endif
float scaleDamage(float damage, const MWWorld::Ptr &attacker, const MWWorld::Ptr &victim)
Scales damage dealt to an actor based on difficulty setting.
Definition: difficultyscaling.cpp:11
Pointer to a LiveCellRef.
Definition: ptr.hpp:19