It works to protect the bot from leaving as soon as it sees the rift stone.
I have had where there is only 1 level of the rift and it comes across the rift stone early in the game and then leaves immediately because it happened to find the rift stone early on in the search. Deleting what I posted above eliminates that from happening. Instead, it just ignores the fact that there is a rift stone. However, if you are in the last stage of the Rift (let's say lvl 5), and all the mobs are dead in lvl 5 and the rift boss hasn't appeared, you are screwed and better have gold inactivity on. The bot hasn't learned how to go backwards thru levels yet.
I have had where there is only 1 level of the rift and it comes across the rift stone early in the game and then leaves immediately because it happened to find the rift stone early on in the search. Deleting what I posted above eliminates that from happening. Instead, it just ignores the fact that there is a rift stone. However, if you are in the last stage of the Rift (let's say lvl 5), and all the mobs are dead in lvl 5 and the rift boss hasn't appeared, you are screwed and better have gold inactivity on. The bot hasn't learned how to go backwards thru levels yet.