mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-30 01:41:40 +00:00
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user