mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 06:49:55 +00:00
15 lines
460 B
C++
15 lines
460 B
C++
|
#ifndef OPENMW_WEAPON_PRIORITY_H
|
||
|
#define OPENMW_WEAPON_PRIORITY_H
|
||
|
|
||
|
#include "../mwworld/ptr.hpp"
|
||
|
|
||
|
namespace MWMechanics
|
||
|
{
|
||
|
float rateWeapon (const MWWorld::Ptr& item, const MWWorld::Ptr& actor, const MWWorld::Ptr& enemy,
|
||
|
int type=-1, float arrowRating=0.f, float boltRating=0.f);
|
||
|
|
||
|
float vanillaRateWeaponAndAmmo(const MWWorld::Ptr& weapon, const MWWorld::Ptr& ammo, const MWWorld::Ptr& actor, const MWWorld::Ptr& enemy);
|
||
|
}
|
||
|
|
||
|
#endif
|