This commit is contained in:
ineed bots 2022-04-03 18:22:40 -06:00
parent f54c1f6e97
commit 7fc357f67d

View File

@ -862,15 +862,15 @@ 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;
toStance = "stand";
}
if ( self.hasRiotShieldEquipped && isDefined( self.bot.target ) && isDefined( self.bot.target.entity ) && isPlayer( self.bot.target.entity ) )
toStance = "crouch";
if ( toStance != "stand" && toStance != "crouch" && toStance != "prone" )
toStance = "crouch";