{"id":384,"date":"2013-05-31T20:33:21","date_gmt":"2013-06-01T03:33:21","guid":{"rendered":"http:\/\/www.innovapain.com\/borg\/?p=384"},"modified":"2013-05-31T20:33:21","modified_gmt":"2013-06-01T03:33:21","slug":"may-updates-for-zborg","status":"publish","type":"post","link":"http:\/\/www.innovapain.com\/borg\/2013\/05\/31\/may-updates-for-zborg\/","title":{"rendered":"May Updates for Zborg"},"content":{"rendered":"<ul>\n<li>borg_wear_stuff(): Borg was correctly swapping for a backup but the next round he would return to his old armor.\u00a0 I added a brief delay to keep him from looping.<\/li>\n<li>borg_update_map() when old_wall != new_wall: While tunneling, the borg was overwriting cost of borg_data_flow-&gt;data[y][x] when he discovered a new wall grid.\u00a0 This effectively caused him to cease his tunneling and forced him to create a new overlapping tunnel.\u00a0 This bug might also be in the vanilla borg.<\/li>\n<li>borg_defend_aux_glyph():\u00a0 Borg needed to be able to cast a glyph if sitting in an A-S corridor, waiting for a monster.\u00a0 The borg_defend_aux_rest() was returning a 200 point value, so the glyph needed to be higher than that.<\/li>\n<li>borg_update_map(): the borg was looping on glyph creating when the &#8216;object resists the spell,&#8217; and the object was an item.\u00a0 This was, in part, due to the borg stealing his grid info from the game (if he were not blind).\u00a0 So the FEAT_BROKEN was bring overwritten by the actual grid FEAT.\u00a0 The FEAT_BROKEN was allowed to persist.<\/li>\n<li>borg_perma_aux_glyph(): borg was casting glyphs in normal corridors.\u00a0 This routine is specific for A-S corridors, so I added a goal check to make sure GOAL_DIGGING was active.<\/li>\n<li>borg_defend_aux_rest(): if the borg had been sitting on the level for a while, and he was in the proper A-S corridor, he might bug out of the corridor.\u00a0 Fixed that.<\/li>\n<li>Borg found the sword &#8216;Twightlight&#8217; and kept trying to decurse it.\u00a0 It has the TY_CURSE so it can&#8217;t be decursed.<\/li>\n<li>The borg knows how to use the town shops to enchant his gear.\u00a0 He will now use those shops to enchant his swap items as well.\u00a0 The current gear has priority over his swap items.<\/li>\n<li>The borg was not recognizing the artifact flags for the randart items.<\/li>\n<li>I try not to change the settings for the actual game, just the borg.\u00a0 But I found that a character with Wraithform can be crushed by an earthquake.\u00a0 That should not be so.\u00a0 I corrected that game bug.<\/li>\n<li>Had to fix a game crash bug where the game was calling an out of bounds grid during update_view().\u00a0 I added a bounds check.<\/li>\n<li>I added better support for the borg recognizing items dropped by a quest monster.\u00a0 He will treat them as better items and try to ID them promptly and not crush them until they are ID&#8217;d.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>borg_wear_stuff(): Borg was correctly swapping for a backup but the next round he would return to his old armor.\u00a0 I added a brief delay to keep him from looping. borg_update_map() when old_wall != new_wall: While tunneling, the borg was overwriting &hellip; <a href=\"http:\/\/www.innovapain.com\/borg\/2013\/05\/31\/may-updates-for-zborg\/\">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":[4],"tags":[15,12],"class_list":["post-384","post","type-post","status-publish","format-standard","hentry","category-zborg","tag-equipment","tag-inventory"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/384","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=384"}],"version-history":[{"count":2,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/384\/revisions"}],"predecessor-version":[{"id":386,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/posts\/384\/revisions\/386"}],"wp:attachment":[{"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/categories?post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.innovapain.com\/borg\/wp-json\/wp\/v2\/tags?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}