{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMW/openmw/issues/1647","repository_url":"https://api.github.com/repos/OpenMW/openmw","labels_url":"https://api.github.com/repos/OpenMW/openmw/issues/1647/labels{/name}","comments_url":"https://api.github.com/repos/OpenMW/openmw/issues/1647/comments","events_url":"https://api.github.com/repos/OpenMW/openmw/issues/1647/events","html_url":"https://github.com/OpenMW/openmw/pull/1647","id":308487302,"number":1647,"title":"[Feedback needed] Attempt to fix mercantile/fatigue effect on selling price (bug #2222)","user":{"login":"Capostrophic","id":21265616,"avatar_url":"https://avatars3.githubusercontent.com/u/21265616?v=4","gravatar_id":"","url":"https://api.github.com/users/Capostrophic","html_url":"https://github.com/Capostrophic","followers_url":"https://api.github.com/users/Capostrophic/followers","following_url":"https://api.github.com/users/Capostrophic/following{/other_user}","gists_url":"https://api.github.com/users/Capostrophic/gists{/gist_id}","starred_url":"https://api.github.com/users/Capostrophic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capostrophic/subscriptions","organizations_url":"https://api.github.com/users/Capostrophic/orgs","repos_url":"https://api.github.com/users/Capostrophic/repos","events_url":"https://api.github.com/users/Capostrophic/events{/privacy}","received_events_url":"https://api.github.com/users/Capostrophic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-26T09:03:17Z","updated_at":"2018-04-02T19:10:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/OpenMW/openmw/pulls/1647","html_url":"https://github.com/OpenMW/openmw/pull/1647","diff_url":"https://github.com/OpenMW/openmw/pull/1647.diff","patch_url":"https://github.com/OpenMW/openmw/pull/1647.patch"},"body":"This is my proposed solution for the infamous bug. buyTerm is no longer used in sellingPrice calculations, instead the merchant no longer offers a price lower than the base price for an item they sell or a price higher than the base price for an item they buy, though the player can still haggle them to do that."},"comment":{"url":"https://api.github.com/repos/OpenMW/openmw/issues/comments/378014240","html_url":"https://github.com/OpenMW/openmw/pull/1647#issuecomment-378014240","issue_url":"https://api.github.com/repos/OpenMW/openmw/issues/1647","id":378014240,"user":{"login":"Capostrophic","id":21265616,"avatar_url":"https://avatars3.githubusercontent.com/u/21265616?v=4","gravatar_id":"","url":"https://api.github.com/users/Capostrophic","html_url":"https://github.com/Capostrophic","followers_url":"https://api.github.com/users/Capostrophic/followers","following_url":"https://api.github.com/users/Capostrophic/following{/other_user}","gists_url":"https://api.github.com/users/Capostrophic/gists{/gist_id}","starred_url":"https://api.github.com/users/Capostrophic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Capostrophic/subscriptions","organizations_url":"https://api.github.com/users/Capostrophic/orgs","repos_url":"https://api.github.com/users/Capostrophic/repos","events_url":"https://api.github.com/users/Capostrophic/events{/privacy}","received_events_url":"https://api.github.com/users/Capostrophic/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T19:10:34Z","updated_at":"2018-04-02T19:10:34Z","author_association":"CONTRIBUTOR","body":"![default](https://user-images.githubusercontent.com/21265616/38210915-7d70c182-36c1-11e8-8197-e5371b4401f2.PNG)\r\nx axis is pcTerm; values of buyTerm and sellTerm are calculated based on an npcTerm of 100. It appears that with the lower limit of 1 in an attempt to prevent the \"sell above buying price\" exploit (which the original formula also was preventing in a way) the buyTerm bumps into it too early and the buying price is too high. However, if the lower limit of buyTerm were 0.75 and the upper limit of sellTerm were 0.75, higher Mercantile and Fatigue would no longer present an advantage."}}
{"actor":{"display_login":"Capostrophic"}}