1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-07-22 11:17:44 +00:00

Deaggro range changed to 40y after testing

This commit is contained in:
Kooper 2025-07-21 20:33:20 +02:00
parent ccbf6bea61
commit a181b4ac4a

View file

@ -38,7 +38,7 @@ void AI::Fsm::StateCombat::onUpdate( Entity::BNpc& bnpc, uint64_t tickCount )
// All possibilities to automatically lose aggro go here
if( !bnpc.hasFlag( Entity::NoDeaggro ) )
{
if( bnpc.hasFlag( Entity::Immobile ) && distance > 30.0f )
if( bnpc.hasFlag( Entity::Immobile ) && distance > 40.0f )
{
bnpc.deaggro( pHatedActor );
}