mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
17 lines
425 B
C++
17 lines
425 B
C++
#ifndef OPENMW_MECHANICS_COMBAT_H
|
|
#define OPENMW_MECHANICS_COMBAT_H
|
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
namespace MWMechanics
|
|
{
|
|
|
|
/// @return can we block the attack?
|
|
bool blockMeleeAttack (const MWWorld::Ptr& attacker, const MWWorld::Ptr& blocker, const MWWorld::Ptr& weapon, float damage);
|
|
|
|
void resistNormalWeapon (const MWWorld::Ptr& actor, const MWWorld::Ptr& attacker, const MWWorld::Ptr& weapon, float& damage);
|
|
|
|
}
|
|
|
|
#endif
|