{"id":393,"date":"2013-06-30T17:20:57","date_gmt":"2013-07-01T00:20:57","guid":{"rendered":"http:\/\/www.innovapain.com\/borg\/?p=393"},"modified":"2013-07-05T22:27:06","modified_gmt":"2013-07-06T05:27:06","slug":"june-updates-for-vborg","status":"publish","type":"post","link":"http:\/\/www.innovapain.com\/borg\/2013\/06\/30\/june-updates-for-vborg\/","title":{"rendered":"June Updates for Vborg"},"content":{"rendered":"<p>Yep, the Vborg has some updates.\u00a0 I thought I would work on it since it has been so long.\u00a0 I did not make any progress on the 340 or 330 borgs so I worked on the 320 borg.\u00a0 There is a long list of improvements for this month.\u00a0 Many improvements are around the endgame.\u00a0 I watched him closely and tweaked his algorithms a bit.\u00a0 <a title=\"Munchkin\" href=\"http:\/\/www.innovapain.com\/borg\/borg-winners\/munchkin\/\" target=\"_blank\">That borg<\/a> even won the game.<\/p>\n<ul>\n<li>Rogues will not crush their Phase Door scrolls (same as warriors)<\/li>\n<li>The weight of the swap items is considered in its valuation.\u00a0 Heavy ones are penalized.<\/li>\n<li>The minimal threshold for quality of the swap was boosted to 5000 points.<\/li>\n<li>Only spell casters with at least 50 mana will be concerned with holding Restore Mana potions in the inventory.<\/li>\n<li>The reward for using carrying the deep dungeon spellbooks will now consider the clevel and mana requirements.\u00a0 It is not a good idea for a rogue to carry Raal&#8217;s around when the mana requirements are so far over the rogue mana level.<\/li>\n<li>+5 speed requirement for depth 46 is met is the borg has +speed effect.<\/li>\n<li>Warriors will not crush Wand of Stone to Mud since they can be handy when fighting summoners.<\/li>\n<li>Added improved monster flow routines.\u00a0 Instead of borrowing the borg&#8217;s flow (and rule set), the monsters have their own.<\/li>\n<li>Added demons and dragons to a list of special types of monsters for which the borg will track the swap-weapon damage.\u00a0 If the damage is higher and the danger is close to the same, then the borg will swap in the weapon in order to do higher damage.<\/li>\n<li>Borg will have decreased fear of sleeping monsters when higher level.<\/li>\n<li>Removed the AC-based reduction in the danger of RBE_SHATTER, the monster attack method which causes earthquakes.<\/li>\n<li>If super rich, items have a decreased value and he won&#8217;t chase down certain takes.<\/li>\n<li>Before leaving the stairs to chase down an item in munchkin mode, he will rest to regain any lost HP\/SP<\/li>\n<li>If the borg needs to power climb due to a restock issue, and he does not have recall, he will use the munchkin mode to climb up.<\/li>\n<li>If in munchkin mode and off the stair, the borg might try to fight his way back to the stair.\u00a0 He needed to do a check on the neighboring grids to make sure he was not surrounded by monsters.\u00a0 Fighting one monster is OK, but 2 or 3 is not a good idea if he is in munchkin mode.<\/li>\n<li>Borgs in munchkin mode will be a lot more careful about leaving the stair to chase down loot if monsters are detected on the level.\u00a0 Too many monsters are waking up and attacking the borg when he leaves the stairs.\u00a0 The borg will add up the danger of the known monsters, and flee the level if their total danger is greater then his HP.<\/li>\n<li>Recharge scrolls will be carried by munchkin starters if they carry a wand of MM or Stinking Cloud.<\/li>\n<li>Wands won\u2019t be used to attack town monsters until clevel 15.<\/li>\n<li>Recharge function did not recharge wands. Now, it will do certain wands. It will also recharge items with are unID\u2019d and \u201c{empty}\u201d. Doing so helps low level borgs survive because they need wands of MM.<\/li>\n<li>Borg will not be allowed to sell his last wand of MM (even if it is empty), until clevel 20 or so.<\/li>\n<li>Munchkin Mode will be allowed to use borg_crush_hole(). This will allow him to upgrade the items he is selling. We would not want the borg to pass up a wand of MM lying on the floor because he failed to crush a Slime Mold.<\/li>\n<li>When determining the value loss of a crushed item, the borg was not figuring the value of a whole stack. When he crushes an item, he crushes the whole stack so the value needed to consider the total value of the stack.<\/li>\n<li>The borg will now estimate which items were dropped from a unique or questor monster. He has not yet learned how to apply that to his inventory. So for now, he just knows that an item on the ground might be better than average.<\/li>\n<li>In munchkin mode, the borg will wait until he returns to the stairs before doing certain mid-level functions, like resting to recover, ID\u2019ing, crushing, etc.<\/li>\n<li>In munchking mode, the borg will only pick up items which are found on depths with are at least maxclevel \u2013 10. This will keep him from filling up with leather gloves from depth 1 when he is clevel 15.<\/li>\n<li>The borg will be rewarded slightly higher if he uses a sleep attack or a slow attack on monsters if the borg is in a hallway. This will allow him to setup a strategic retreat.<\/li>\n<li>I started the first stage of doing more accurate monster flow patterns. This can be helpful in planning escapes and knowning if a monster can actually get to the borg. Think of a line of orcs in a hallway and the closest one is asleep. The orcs stacked up behind are not a threat to the borg.<\/li>\n<li>Borgs can recharge wands while in munchkin mode.<\/li>\n<li>Borg_projectable_pure() was not returning the proper danger on some bolt damage calculations.\u00a0 The bolts were believed to stop at the monster casting the bolt.\u00a0 It should have been \u2018stop at another monster.\u2019\u00a0 This is a bug fix.\u00a0 It was never a problem until the borg began to estimate damage of bolts cast from other monsters.<\/li>\n<li>Borgs in munchkin mode have had a ratio of depth to value, meaning they won&#8217;t pick up items in the shallow depths, if they like to bounce at deeper depths.\u00a0 This keeps them from filling up on lame gear at depth 1.\u00a0 But is also means that the borg will not pick up torches\/lanterns\/food&#8211; even if needed.\u00a0 I added a check to have him pick up these items if he is low on them regardless of the item depth.<\/li>\n<li>Borgs will not crush items of any value if in town or in munchkin mode.<\/li>\n<li>The borg might not flow to an object correctly if the goal_less was set and he was standing on a stair.\u00a0 If he happened to set his goal_less flag and crossed over a stair, on the way some place, he would take the stairs.\u00a0 The was very evident in the borg in munchkin-mode.\u00a0 He would only leave the stair to fetch items if he was standing on a down-stair.<\/li>\n<li>The borg will be minimally penalized for choosing to flow through walls.\u00a0 This will allow him to flow through the walls if he needs to, but will also encourage him to select the floor grids when the distance is about the same.<\/li>\n<li>The borg was not enchanting his gear or swap if it had an extreme native negative to_hit or to_dam.\u00a0 (like Calris)<\/li>\n<li>He might also crush enchant scrolls when he ought to keep them.\u00a0 He only enchants items in town, so he tended to crush the scrolls before he got to town.<\/li>\n<li>The penalty of being cursed with aggravation was reduced to only 8000.\u00a0 Which can help the borg with certain &#8216;lie in wait&#8217; routines.<\/li>\n<li>Borg will buy enchant scrolls for his swap item.<\/li>\n<li>Borg needed an update to the money_scum shopping.\u00a0 He was missing some of the purchases and calling an early end to his shopping trip.<\/li>\n<li>In borg_caution() the borg will make strategic retreats.\u00a0 But he was retreating when the danger was only 2% improvement, not worth the effort.\u00a0 I added a 20% danger improvement threshold.<\/li>\n<li>The borg will grant his current weapon a special tag so that he does not dump it after swapping in the backup.<\/li>\n<li>Slight rework on how the borg will use his healing.\u00a0 He has been calculating his percent HP loss since the new spells heal a percent of the HP.\u00a0 He will also now consider the HP loss as part of that equation.<\/li>\n<li>The priest spell of Banish Evil was not being called if the danger was &lt; 90% of the borgs HP.\u00a0 That level is too high.\u00a0 Lowered it to about 70%.\u00a0 This will make him more likely to use the spell.\u00a0 But there are still some checks to make sure he does not use it on wounded uniques.<\/li>\n<li>It was possible for the borg to not look in the #8 or #9 keyboard direction for a monster when swapping his gear.<\/li>\n<li>Warriors and Paladins will be giving a 20% boost to the meleee damage score. This will enccourage them to conserve their spells for ranged attacks and healing.<\/li>\n<li>The spell Orb of Draining had been given a boost in damage for uniques, but it needed to be evil uniques.<\/li>\n<li>When the borg considers using Banishment against uniques, he is not rewarded for uniques that are injured.\u00a0 But sometimes he would use the spell anyways because there was some benefit.\u00a0 I added a penalty if an injured unique was booted.<\/li>\n<li>The borg might engage his munchkin mode when deep in the dungeon in order to safely power climb to a comfortable depth.\u00a0 There was a chance that he might forego his borg_caution() routine which would leave him vulnerable.\u00a0 I had the borg leave the munchkin mode if there are any monsters near by.\u00a0 This will allow him to act normally, and safely while looking for stairs.<\/li>\n<li>The borg will try to hold on to artifact items while in the dungeon.\u00a0 He will just hold on to them for a few extra rounds.\u00a0 It will give him a better chance to evaluate them and see if they should be swapped into his equipment.<\/li>\n<li>Borg will hold onto a couple of Rods of Light in order to use them later in the game.<\/li>\n<li>Borg will attempt to illuminate wall grids which have possibly been excavated by tunneling monsters.\u00a0 This will allow him to fire on the monsters sooner.<\/li>\n<li>Began scaling back all the borg_equips_xxx() routines and moving to a single borg_has_effect().\u00a0 This will clean the code up and make it easier on inventory management.<\/li>\n<li>Added the use of monster flow checks into the function borg_check_rest().\u00a0 Previously, he would check for distance between himself and a dangerous monster.\u00a0 If that distance was less than 4 grids, the borg would get worried.\u00a0 But the situation might present as a borg and monster on opposite sides of a long wall.\u00a0 In which case, the monster could not get to the borg.\u00a0 So he will now check how many steps it takes for the monster to reach him.\u00a0 The result of this will allow him to rest to recharge his SP\/HP more intelligently.<\/li>\n<li>Borg will collect more Rods of Healing (he used to stop at 3).<\/li>\n<li>In borg_heal(), the borg likes to conserve his potions from depth 98 onward.\u00a0 We will allow him to stay in the fight if he has lots of rods of healing.<\/li>\n<li>The borg must have a speed of +15 to dive deeper than depth 80.\u00a0 But sometimes at depth 99, after he has collected his hoard of potions, he might be overweight.\u00a0 Then he will not want to dive to 99 to fight Sauron.\u00a0 So the +15 speed requirement is lifted if the borg&#8217;s max depth is &gt;=99.<\/li>\n<li>A long time ago, I added some equipment checks to make sure the borg would not swap out a +STR item if he was encumbered.\u00a0 Doing this helped to reduce some equipment swaps.\u00a0 But in doing so, it also reduced the borg&#8217;s ability to trade out a +STR ring for Rings of Speed.\u00a0 I corrected that so he will be allowed to trade in a Ring of Speed.<\/li>\n<li>In trying to reduce the weight and encumbrance issues, the borg will not carry more than 2 copies of spell books.\u00a0 He has some escape checks if one copy gets burned.<\/li>\n<li>Borg has not crushed items due to being encumbered unless his speed was under 110.\u00a0 That is great for shallow depths.\u00a0 But deeper, that speed should be increased.\u00a0 I added a speed 130 check for depths &gt;= 85.<\/li>\n<li>White Dragonscale Armor was being over-valued as a swap item because it&#8217;s activation is cold_ball100, same as Ringil.\u00a0 The borg is given a bonus for Ringil, so I made sure that no artifact activation bonus is given to tv_drag_amour.<\/li>\n<li>Changes to how the borg handles the borg_morgoth_position.\u00a0 Since it is no longer advantageous to cast a full sea of runes, he needed to perform a lie-in-wait check with a smaller radius (8 vs 24 grids)<\/li>\n<li>The check for borg_fighting_&lt;type of monster&gt; needed to have a pass_wall and kill_wall check.<\/li>\n<li>Modified the way the borg is calculating damage from a blast radius in borg_launch_bolt_aux().\u00a0 He will use a borg_offset_projectable() which will assume that all unknown grids are floors.\u00a0 This will encourage him to use the offset attacks.<\/li>\n<li>In borg_attack(), there was a check to make sure the borg was not shooting through walls at a creature.\u00a0 This check interfered with the borg doing any offset-ball attacks if the monster was behind a known wall and adjacent to an unknown grid (which could be targeted).<\/li>\n<li>in borg_launch_bolt(), the borg was not allowed to target an unknown grid when using offset attacks.\u00a0 He should he allowed to do so.\u00a0 The projection path routines will take care of any wall grids in the pathway.<\/li>\n<li>Slight rework on the healing during questor combat.\u00a0 I wanted to focus on using the rods and appropriate spells based on hp loss before getting gorged on drinking too many potions.<\/li>\n<li>Increased the number or Restore Mana potions the borg will need for the endgame battle.<\/li>\n<li>The borg might crush good equipment if his inventory is full.\u00a0 I watched him crush a ring of speed +11 instead of replacing his +8.\u00a0 I told the borg not to crush_junk() RoS which have a pval &gt;= 0.<\/li>\n<li>The borg has two Tport Other defence routines.\u00a0 One is used just for normal functions and that one needed to be modified during questor combat.\u00a0 We don&#8217;t want him using it if he has a chance to use an offset ball attack on Morgoth.<\/li>\n<li>Leave a level if Morgoth and a vault appear together.\u00a0 Morgoth might get stuck in a vault and it causes the borg to consume potion resources excessively.\u00a0 Morgoth might be teleported into the vault where he can rest and heal while the borg waits for him.\u00a0 Meantime, the borg consumed lots of potions and resources trying to kill Morgoth.<\/li>\n<li>Slight rework on how the borg will restore his mana while fighting Morgoth.\u00a0 We don&#8217;t want him drinking them too quickly so I have him wait until his mana is under 40 points.\u00a0 The old number was closer to 70.<\/li>\n<li>To conserve mana during the endfight, the borg will not use offset attacks on creatures while in the borg_morgoth_postion.\u00a0 He will just end up using Teleport Other on them as soon as they become LOS.\u00a0 So casting offset ball attacks is a total waste of mana.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Yep, the Vborg has some updates.\u00a0 I thought I would work on it since it has been so long.\u00a0 I did not make any progress on the 340 or 330 borgs so I worked on the 320 borg.\u00a0 There is &hellip; <a href=\"http:\/\/www.innovapain.com\/borg\/2013\/06\/30\/june-updates-for-vborg\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[11,14,15,16,20,12],"class_list":["post-393","post","type-post","status-publish","format-standard","hentry","category-vanilla","tag-combat","tag-defense","tag-equipment","tag-flow","tag-healing","tag-inventory"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/comments?post=393"}],"version-history":[{"count":5,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/393\/revisions"}],"predecessor-version":[{"id":397,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/393\/revisions\/397"}],"wp:attachment":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/media?parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/categories?post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/tags?post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}