2017-08-01 05:05:35 +00:00
|
|
|
#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);
|
|
|
|
|
2018-12-26 09:45:28 +00:00
|
|
|
float rateAmmo(const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy, MWWorld::Ptr &bestAmmo, int ammoType);
|
|
|
|
float rateAmmo(const MWWorld::Ptr &actor, const MWWorld::Ptr &enemy, int ammoType);
|
2018-01-11 17:08:11 +00:00
|
|
|
|
2017-08-01 05:05:35 +00:00
|
|
|
float vanillaRateWeaponAndAmmo(const MWWorld::Ptr& weapon, const MWWorld::Ptr& ammo, const MWWorld::Ptr& actor, const MWWorld::Ptr& enemy);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|