Skip to content

Commit

Permalink
decrease rand pitch a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
aesthetic0001 committed Feb 4, 2024
1 parent a8b6d45 commit d16444e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ function inject (bot) {

// console.log(`Treating as regular goal node: ${nextPoint.x}, ${nextPoint.y}, ${nextPoint.z}`)

bot.look(Math.atan2(-dx, -dz), Math.random() > 0.5 ? -Math.random() * (Math.PI / 16) : Math.random() * (Math.PI / 16))
bot.look(Math.atan2(-dx, -dz), Math.random() > 0.5 ? -Math.random() * (Math.PI / 20) : Math.random() * (Math.PI / 20))

bot.setControlState('forward', true)
bot.setControlState('jump', false)
Expand Down

0 comments on commit d16444e

Please sign in to comment.