Danger check improvements

The borg has reduced fear of certain attack types. The borg had two values for his fear; one was the actual danger and an extra ‘fear factor’ for the effect of the attack. As an example, he had extra fear from losing stats, or induced blindness, or stun. Those extra values are reduced for most borgs and eliminated for borgs at depth 75.

The borg will not strategically retreat if he has > 500 HP.

Fixed some problems with the new item activation formula.

Improved how the borg calculates fear. Previously he would fear all attacks from a LOS monster. Now he will ignore bolt attacks that have no way of hitting him (another monster in the spell pathway). He will also fear summoners slightly less.

Posted in Uncategorized | 1 Comment

Rod and pval fix.

Another shopping bug fixed. He might get stuck hitting the apostrophe and loop for a while.

I spotted a borg throwing a *Healing* potion as a weapon. This was introduced in 320 when the change in item sval values.

Borgs will carry more ammo (warriors and rangers).

When the borg is very rich, he will no longer track down certain items. This will save him some steps.

Borg will receive a small greater reward for being super fast (>=+40).

The borg was not correctly understanding the stacked rods and how many charges he had available. So if he had a stack of “8 Rods of Healing (1 charging)” he believed that all were charging and no heal spell was available.

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

Quiver issue fixed

Borg was not stacking arrows into a quiver which was already loaded. He needed to know that some items stack in the quiver.

He also needed to be able to combine multiple short stacks of arrows in the quiver. He had several quiver slots occupied with identical arrows all in short stacks. He can now combine those into one quiver slot.

He was buying enchant scrolls even though he had the spell. This was an encumbrance issue and showed up under a rare overweight window.

Posted in Angband (Vanillia) | Leave a comment

Swapping & Shopping fix for 320

There is an interesting error which can be seen when the borg goes to swap rings (moving the right to left and left to right). The game fails to update the p_ptr->inventory[] promptly and the borg is not able to correctly determine is actual inventory. I have worked about the problem by breaking the swap_ring() up into different objects. This allows the game to catchup and the inventory is updated correctly.

There was also a couple of buy-sell loops induced from the same type of failed inventory update. Essentially, the borg wanted to sell an item which he believed was at a particular inventory slot, but it was actually at a different slot. So he would sell the wrong item to the house, then have to re-buy the item.

I was able to break up a routine and help the borg avoid looping. The changes may induce some strange shopping so keep an eye out. I have closely monitored the shopping of mid-level borgs and I have not seen anything odd.

Borg was cheating the magical properties of some pseudo-id items.

Still no word yet on 330.

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

Work on 330 has started

I downloaded the 330 source and began updating the borg code. I have run into some problems and it is slowing me down. I am stuck on the inkey_ex() from util.c. I am not familiar with the new code and I won’t have time for several weeks to get it up and running. So If anyone wants to help, I’m sure we would all appreciate it.

Once the borg compiles, I’m pretty sure I can work through the feature changes and struct changes.

Posted in Angband (Vanillia) | Leave a comment

Zborg Munchkin Mode Improvements, Again.

Several new tweaks to how the zborg runs in munchkin mode.  Many of the tweaks involve better use of Dim Door to get around, resting to recoup mana, how to attack while in munchkin mode, running out of light and refueling lanterns.

Posted in Angband (Vanillia) | Leave a comment

Zborg will use Dimension Door a little more.

Dimension Door is a great spell for the borg.  He added a use for it when he is fleeing a level and needs to get to either stair.

He will also not attempt the move to the next town if he is heavily encumbered.

Zborg also needed to better understand and use the Trump Spying for ESP.

Zborg was miscalculating his internal stats by 3.

There was a double reward for carrying certain spell books.

 

Posted in Zangband 240 | Leave a comment

Zborg Munchkin Improvement

The borg was not using Wand of Stinking Cloud while in munchkin mode.

Also, in munchkin mode, he might ‘test/try’ new spells in Trump Realm which would take him off the stairs.  This was fatal since he was often clevel 7 at depth 8.

The zborg has always been able to move to the next town to take advantage of the special shops.  He would generally not switch towns until he was clevel 5.  I moved it to level 10 since he is sometimes encumbered and ravens can kill him since they are so fast.  Waiting until clevel 10 is not to0 bad especially since he is in munchkin mode until that level anyway.

Sometimes in munchkin mode he might crush some items at depth 5 when he ought to be selling them.

Borg will continue with munchkin mode until clevel 12.

When the borg dies, he has a set of minimal stats used for rerolling the next borg.  Those stats were a little too high and the borg would not reach them in 750k attempts.  They were adjusted downward slightly to make them more attainable.

Posted in Zangband 240 | Leave a comment

Bouncing behavior fixed.

If a never-move monster (like a mold) was sitting on an item.  The borg might bounce in and out of line-of-sight.  The borg was in correctly assuming that the monster would crush or pick-up the item.  Now he will correctly delete an item under a monster only if the monster has take_item or kill_item flags.

Posted in Angband (Vanillia), Zangband 240 | Leave a comment

One more fix the apostrophe sell.

The borg was still trying to sell item with an apostrophe.  It was being induced from a failed clearance of a goal_ware.   If you find any more, send me a savefile.

Posted in Angband (Vanillia) | Leave a comment