731
731
if (localPlayer && actorManager)
735
735
const bool newTarget = !inputManager.isActionActive(
736
736
InputAction::STOP_ATTACK);
737
753
// A set target has highest priority
740
756
// Only auto target Monsters
741
757
target = actorManager->findNearestLivingBeing(
742
758
localPlayer, 90, ActorType::Monster, true);
749
761
localPlayer->attack2(target, newTarget);