This month, I began to implement some support for the passwall ability. It is part of some spells but also innate for spectres. It might take a while to hammer out all the benefits for the ability. So far, it seems to work better as a method of escape. There is a lot of damage taken by hiding in wall grids.
- Improvement to how the borg will look at strategically backing up. Specifically, he will consider the speed differential between himself and threatening monsters as he backs up.
- Corrected an error which made Fruit Bats always trigger the scary_guy flag, regardless of the borg’s clevel.
- Certain attack spells were not being cast because their mana cost was greater than the damage done. Which is not a huge problem except if you are a Life High Mage and have only one attack spell.
- When considering a strategic retreat, the borg will skip it, if it might be a better idea to use a sleep spell on a monster. This is called from borg_caution() which is before borg_attack().
- Borg_projectable_pure() needed to consider the passwall skill of the borg.
- A spectre borg in danger will consider backing into a wall to hide and wait for a recall. He will use recall if sitting in the walls.
- Borg_flow_recover() should have the ‘sneak’ flag set in order to avoid grids near monsters.
- If in a hallway and down on HP, the borg will try to use Sleep spells as a defence maneuver.