fix(behaviors): the verify behavior's blocking check as the game names it

The verify behaviors' parameter is check_blocking (on 145 of them), and the
client checks blocking unless it is 0. The server read "check blocking", which
no behavior has. It now reads check_blocking with the client's default. The
blocking check itself is still to be written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-11 07:09:07 -06:00
parent 0d6d47cb74
commit 76b5b45d71

View File

@@ -52,7 +52,8 @@ void VerifyBehavior::Calculate(BehaviorContext* context, RakNet::BitStream& bitS
void VerifyBehavior::Load() {
this->m_rangeCheck = GetBoolean("check_range");
this->m_blockCheck = GetBoolean("check blocking");
// The client checks blocking unless the behavior turns it off
this->m_blockCheck = GetBoolean("check_blocking", true);
this->m_action = GetAction("action");