From 276f32f366c81dcd2341d4763f56746f7b721bb2 Mon Sep 17 00:00:00 2001 From: hgh32 <39622638+hgh32@users.noreply.github.com> Date: Sat, 11 Apr 2026 22:23:22 -0400 Subject: match more ai::Query --- src/Game/AI/Query/queryCheckAppPoint.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Game/AI/Query/queryCheckAppPoint.cpp') diff --git a/src/Game/AI/Query/queryCheckAppPoint.cpp b/src/Game/AI/Query/queryCheckAppPoint.cpp index 2cf9cceb..408b2139 100644 --- a/src/Game/AI/Query/queryCheckAppPoint.cpp +++ b/src/Game/AI/Query/queryCheckAppPoint.cpp @@ -1,5 +1,6 @@ #include "Game/AI/Query/queryCheckAppPoint.h" #include +#include "KingSystem/GameData/gdtSpecialFlags.h" namespace uking::query { @@ -7,9 +8,10 @@ CheckAppPoint::CheckAppPoint(const InitArg& arg) : ksys::act::ai::Query(arg) {} CheckAppPoint::~CheckAppPoint() = default; -// FIXME: implement int CheckAppPoint::doQuery() { - return -1; + s32 reach = ksys::gdt::getS32ByKey("ReachPointActorDiscoverNum"); + s32 use = ksys::gdt::getS32ByKey("App_ExtendUsePoint"); + return reach - use > 1; } void CheckAppPoint::loadParams(const evfl::QueryArg& arg) {} -- cgit v1.2.3