Potential Crash, Danger, and !Resistance

There was a potential divide by zero error if the borg attacks a monster with 0 armor class.

Warrior borgs had been told to stop carrying !RFire and !RCold after depth 80.  That was done to conserve inventory slots, but it turns out they really need those pots if they do not have an activation for Resistance.

The borg was over calculating danger from certain speed class monsters with ranged spells.  Essentially, he was counting the danger of the monsters ranged attacks, even though the monster did not have LOS to the borg.  The monster needed to have a narrow speed margin, so this was not caught for a while.

The borg is rewarded for wearing items that contain a certain activation.  The reward for wearing Bladeturner was not being added.

Warriors are giving a higher reward for wearing an item that grants Resist All.

The borg was not being rewarded for the activation component of the elemental rings.

The had not been checking his second ring slot when looking for activation rings.

No loading the quiver with arrows if threatened.  The borg tried to load some arrows which he found on the ground.  Kronos was standing right next to him.

Borg_crush_junk() needed some help.  It is now ok to crush {magical} boots, and not ok to crush {ego} items.

Corrected a typo from the other day.

A rod of teleport other is not considered as junk (and won’t be crushed) by warriors

 

This entry was posted in Angband (Vanillia) and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *