Rubble avoidance fixed

The borg had been reluctant to attempt to dig rubble while exploring the dungeon. He felt he needed over-the-top skills in order to tunnel through. This is now repaired.

Also, he was far to quick to attempt to tunnel through rocks to go somewhere (like a stair). This was fixed, so he will need to have sufficient skills before he attempts to plot a long course through rocks.

Posted in Angband (Vanillia) | Tagged | 3 Comments

Buying & Selling multiple items

For a long time, the borg would only buy or sell one item at a time.  Even if he needed 80 arrows, he (usually) bought one at a time.  That was in place to reduce certain buy-sell loops.  I set up a way to allow him to buy/sell multiple items without looping.  I tested it for about a day over multiple classes and clevels.  I have not seen any loops yet.  Let me know if you find any.  There is a chance that rangers will have some trouble enchanting their arrows if he buys a big stack (like about 80 arrows in one purchase).

Posted in Angband (Vanillia) | Tagged | Leave a comment

Digger and Weapon Fix

Some of the recent problems with the borg selecting diggers and other strange equipment choices related to him being encumbered and incorrectly trying to maintain a high strength bonus.  I used an incorrect if-else formula.  That is now corrected and he should not be making that same mistake.  If he is keeping his odd equipment choice, he might still be wanting to keep his strength up, but it is probably a proper choice.  Look to see if the borg is encumbered (over the weight limit).  If it is not over the weight-limit, then start to question the selection.

Generally, the borg will not attempt to open a door if a monster is adjacent to him.  A borg got stuck between a monster and a closed door and was too afraid to attack the monster and he was forbidden from trying the door.  The borg just sat there.  I added a fear check to allow the borg to attempt doors, even if a monster is adjacent, if he had the ‘fear’ flag.

Posted in Angband (Vanillia) | Tagged , | 1 Comment

See Invis correction

The borg was believing he still has the See Invis power even after the spell expired.  This caused an ignominious death of a borg who rested while an unseen Dread beat him down.

Posted in Zangband 240 | Tagged | 2 Comments

Overly fond of Earthquake items

With the tweak to the weapon damage valuation the other day, the borg was overvaluing Earthquake items.

The borg was looping a little on flowing to a anti-summon 2 corridor.  He was getting confused on his ability to tunnel.

Posted in Angband (Vanillia) | Tagged , , | Leave a comment

Collecting worthless items

There was a case of the borg dumping (-2,-4) missiles from his quiver then picking them up again.  He needed to be able track the bonuses on an item to see if they were worth picking up.

 

Posted in Angband (Vanillia) | Leave a comment

Rod & Wand damage update, Home inventory update

Damage from rods and wands needed to be updated.  They still had the old values.  The borg will also hold onto a few more attack rods.  He is able to distinguish between the ball and bolt rods and is more inclined to keep the ball ones.

Slight balance correction to the home storage routine.  The borg was not keeping enough swap items in the home.  He was over valuing the mushrooms and fuel sources when he should be keeping items with required high resists.  I also modified the value of certain resists and powers.

If the borg runs out of light, he might rest to regain mana on a dangerous grid.

In a very rare case, the borg might loop in town while chasing a monster.  He might step into a store, triggering the shopping routines.  Upon exiting the store, he can chase the monster again and step back into the store.

While exploring the dungeon, sometimes the borg would cast Stone To Mud in hallways.  If he is just exploring, he does not need to cast S2M.

 

Posted in Angband (Vanillia) | Tagged , | Leave a comment

Borg over valued +Con items

The borg was over valuing items that granted him a hit point bonus from the a constitution bonus. The overvalue amount was pretty steep.

I adjusted downward the reward for the damage a weapon does if the borg is a mage. They will shift the reward to the abilities and powers granted by the weapons. Similarly, warriors and rogues were given a bonus for the damage component of a weapon.

Posted in Angband (Vanillia) | Tagged | Leave a comment

Equipment Swap Loop

The borg was looping on an equipment swap.  He was encumbered and was trying to swap out his +2 Str weapon for a +0 Str weapon.  That change made him even slower so he would switch back.

The borg needed a little help with resetting his recall depth.

He was looping on crushing ammo in inventory slot ‘w’ when that slot was empty.

 

Posted in Angband (Vanillia) | Tagged , | Leave a comment

Unhooks and loop fixes.

Another problem with defense 22 maneuver was repaired.

Borg was looping on healing potion buy backs from the house.  He would buy like 8 or 9 then sell them all back.

The munchkin mode needed some help if the borg ran out of light.  He was having problems finding some stairs and continuing the munchkin mode scumming for upstairs.

Fix in borg9.c for the ‘no staircase’ message.

Borg was looping while trying to stack {worn} ammo.

Posted in Angband (Vanillia) | Tagged , , , , | Leave a comment