OpenMW
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
apps
openmw
mwmechanics
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
scaleDamage
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
MWWorld::Ptr
Pointer to a LiveCellRef.
Definition:
ptr.hpp:19
Generated on Tue Jan 24 2017 02:05:50 for OpenMW by
1.8.6