mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 22:19:54 +00:00
12 lines
296 B
C++
12 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
|