|
|
@ -12,6 +12,7 @@
|
|
|
|
#include "actorutil.hpp"
|
|
|
|
#include "actorutil.hpp"
|
|
|
|
#include "character.hpp"
|
|
|
|
#include "character.hpp"
|
|
|
|
#include "creaturestats.hpp"
|
|
|
|
#include "creaturestats.hpp"
|
|
|
|
|
|
|
|
#include "npcstats.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
namespace MWMechanics
|
|
|
|
namespace MWMechanics
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -47,6 +48,9 @@ namespace MWMechanics
|
|
|
|
if (target.getClass().getCreatureStats(target).isDead())
|
|
|
|
if (target.getClass().getCreatureStats(target).isDead())
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (target.getClass().getNpcStats(target).getBounty() <= 0)
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
|
|
|
|
actor.getClass().getCreatureStats(actor).setDrawState(DrawState::Nothing);
|
|
|
|
actor.getClass().getCreatureStats(actor).setDrawState(DrawState::Nothing);
|
|
|
|
|
|
|
|
|
|
|
|
// Set the target destination
|
|
|
|
// Set the target destination
|
|
|
|