mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
13 lines
296 B
C++
13 lines
296 B
C++
#ifndef OPENMW_MWMECHANICS_DIFFICULTYSCALING_H
|
|
#define OPENMW_MWMECHANICS_DIFFICULTYSCALING_H
|
|
|
|
namespace MWWorld
|
|
{
|
|
class Ptr;
|
|
}
|
|
|
|
/// Scales damage dealt to an actor based on difficulty setting
|
|
float scaleDamage(float damage, const MWWorld::Ptr& attacker, const MWWorld::Ptr& victim);
|
|
|
|
#endif
|