There was a problem with the borg always forcing the grid under ghosts to be wall grids. This was a problem when the borg had to calculate danger from monsters behind it. Now the borg will not override the previous knowledge of the grid. If it had been an unknown grid, then it will be turned into a wall grid.
Fixes for wear_stuff(). The borg will try to avoid swapping in gear if he is encumbered. He really avoids swapping out gear that does not have Strength bonus. There was a problem if he had a +STR ring on the left hand. He would not consider swapping in a new ring to the right hand. That was repaired.
The borg needed to be able to calculate the effect of beam spells beyond their intended target. He has always been able to find out the effect on grids leading up to the target but he always stopped at the target. He will now consider the effect beyond the target along the beam’s intended path. The borg will not cheat to know if walls are in the way of the beam. The major effect of this change will be in how the borg calculates the effect and benefit of using Teleport Other. Mistakenly, the borg would cast Teleport Other on a monster in front of a unique, but then those behind it would be teleported also.
Improvements to how the borg saves the *Healing* pots.
Small fix to how the borg will create a tunnel to a summoning monster. There was a short loop.