This commit is contained in:
ineed bots 2022-04-03 18:20:14 -06:00
parent 9b8627ba4b
commit 7664f491de

View File

@ -734,6 +734,9 @@ stance_loop()
if ( toStance == "stand" && randomInt( 100 ) <= self.pers["bots"]["behavior"]["crouch"] )
toStance = "crouch";
if ( self.hasRiotShieldEquipped && isDefined( self.bot.target ) && isDefined( self.bot.target.entity ) && isPlayer( self.bot.target.entity ) )
toStance = "crouch";
if ( toStance == "climb" )
{
self.bot.climbing = true;