From 0710995922546a904d5d018d2d5505017e24c0fc Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sat, 2 Sep 2017 14:47:56 +0300 Subject: Reimplemented skeletons using Behaviors --- src/Mobs/Behaviors/BehaviorAttacker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Mobs/Behaviors/BehaviorAttacker.h') diff --git a/src/Mobs/Behaviors/BehaviorAttacker.h b/src/Mobs/Behaviors/BehaviorAttacker.h index c047cde50..fe3805c66 100644 --- a/src/Mobs/Behaviors/BehaviorAttacker.h +++ b/src/Mobs/Behaviors/BehaviorAttacker.h @@ -52,8 +52,8 @@ protected: // Target related methods bool TargetIsInStrikeRadius(); - bool TargetIsInStrikeRadiusAndLineOfSight(); - bool TargetOutOfSight(); + bool TargetIsInLineOfSight(); + bool TargetTooFar(); void StrikeTargetIfReady(std::chrono::milliseconds a_Dt, cChunk & a_Chunk); // Cooldown stuff -- cgit v1.2.3