{"action":"created","issue":{"url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12","labels_url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12/comments","events_url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12/events","html_url":"https://github.com/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12","id":68243815,"number":12,"title":"Defences are not properly lowered from low attribute scores ","user":{"login":"ushass","id":11830503,"avatar_url":"https://avatars.githubusercontent.com/u/11830503?v=3","gravatar_id":"","url":"https://api.github.com/users/ushass","html_url":"https://github.com/ushass","followers_url":"https://api.github.com/users/ushass/followers","following_url":"https://api.github.com/users/ushass/following{/other_user}","gists_url":"https://api.github.com/users/ushass/gists{/gist_id}","starred_url":"https://api.github.com/users/ushass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ushass/subscriptions","organizations_url":"https://api.github.com/users/ushass/orgs","repos_url":"https://api.github.com/users/ushass/repos","events_url":"https://api.github.com/users/ushass/events{/privacy}","received_events_url":"https://api.github.com/users/ushass/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T02:37:44Z","updated_at":"2015-04-16T05:44:26Z","closed_at":null,"body":"[1.0.3.0530, Linux, GoG]\r\n\r\n*Tags:* defenses, deflection, fortitude, reflex, will, attributes, character stats\r\n\r\n**Problem:**\r\nWhen sum of two attributes affecting the same defense is lower than 20, the resulting defense is by 1 point higher then it should be. \r\n\r\nNote, the bug is only present in the joint negative defense modifier obtained from attributes scores, thus the condition of the sum of two attributes < 20.\r\n\r\nFor example, lvl 1 barbarian with low Will defense:\r\n![WillDefense](http://s15.postimg.org/v1ngrbui3/Will_Defense.jpg)\r\n\r\nThe character has Int 3 and Res 15, which means -4 Will defense modifier. Base number at lvl 1 is 20. So this should result into 16 Will Defense. However, as shown in the picture the real Will defence is 17, in this case. The same number is used in combat, so this isn't only an issue of character sheet UI.\r\n\r\n\r\n\r\n\r\n**Comments:**\r\nThis is basically bump of the issue reported during BBv435, and it's still fully present in the latest stable release, v1.0.3.0530. The thread contains further details/examples and possible explanation of the behavior thanks to the old code citation by Sensuki:\r\nhttp://forums.obsidian.net/topic/70457-435-defences-are-not-properly-lowered-from-low-attribute-scores/\r\n\r\nPplayers may encounter illogical +-1 defense issue in instances when character's sum of two attributes being slightly above ~ 20 is lowered by debuffs, or oppositely low sum of attributes < 20 is buffed by spell of by item property. The Belt example:\r\nhttp://forums.obsidian.net/topic/77243-belt-of-the-stelgaer-2-dex-buff-only-gives-3-reflex-from-the-dex/ \r\n\r\nAlso when debuffing enemies, the Forest Troll example:\r\nhttp://forums.obsidian.net/topic/76661-deflections-dontt-stack-properly/?p=1650449\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/comments/93649024","html_url":"https://github.com/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12#issuecomment-93649024","issue_url":"https://api.github.com/repos/PoE-unofficial/Pillars-of-Eternity-bugtracker/issues/12","id":93649024,"user":{"login":"curi","id":48682,"avatar_url":"https://avatars.githubusercontent.com/u/48682?v=3","gravatar_id":"","url":"https://api.github.com/users/curi","html_url":"https://github.com/curi","followers_url":"https://api.github.com/users/curi/followers","following_url":"https://api.github.com/users/curi/following{/other_user}","gists_url":"https://api.github.com/users/curi/gists{/gist_id}","starred_url":"https://api.github.com/users/curi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curi/subscriptions","organizations_url":"https://api.github.com/users/curi/orgs","repos_url":"https://api.github.com/users/curi/repos","events_url":"https://api.github.com/users/curi/events{/privacy}","received_events_url":"https://api.github.com/users/curi/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T05:44:26Z","updated_at":"2015-04-16T05:44:26Z","body":"can confirm this with mac gog. reported it on forums a while ago."}}