2014-01-21 00:01:21 +00:00
|
|
|
#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);
|
|
|
|
|
2014-01-22 11:09:44 +00:00
|
|
|
void resistNormalWeapon (const MWWorld::Ptr& actor, const MWWorld::Ptr& attacker, const MWWorld::Ptr& weapon, float& damage);
|
|
|
|
|
2014-01-21 00:01:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|