{"action":"created","issue":{"url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/issues/126","repository_url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb","labels_url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/issues/126/comments","events_url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/issues/126/events","html_url":"https://github.com/OpenPoGo/OpenPoGoWeb/pull/126","id":168433613,"number":126,"title":"[FIX] Experience Bar","user":{"login":"FilipiMor","id":20587918,"avatar_url":"https://avatars.githubusercontent.com/u/20587918?v=3","gravatar_id":"","url":"https://api.github.com/users/FilipiMor","html_url":"https://github.com/FilipiMor","followers_url":"https://api.github.com/users/FilipiMor/followers","following_url":"https://api.github.com/users/FilipiMor/following{/other_user}","gists_url":"https://api.github.com/users/FilipiMor/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipiMor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipiMor/subscriptions","organizations_url":"https://api.github.com/users/FilipiMor/orgs","repos_url":"https://api.github.com/users/FilipiMor/repos","events_url":"https://api.github.com/users/FilipiMor/events{/privacy}","received_events_url":"https://api.github.com/users/FilipiMor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T23:32:37Z","updated_at":"2016-07-30T00:10:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/pulls/126","html_url":"https://github.com/OpenPoGo/OpenPoGoWeb/pull/126","diff_url":"https://github.com/OpenPoGo/OpenPoGoWeb/pull/126.diff","patch_url":"https://github.com/OpenPoGo/OpenPoGoWeb/pull/126.patch"},"body":"The bar was showing \"(total_experience/next_level_xp) * 100\". That is, \"nonsense\", it would always show almost full.\r\nNow it's fixed, ((total_experience - current_level_xp) / next_level_xp) * 100\r\n\r\nAlso changed the way next level exp need is show, can remove if needed."},"comment":{"url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/issues/comments/236323419","html_url":"https://github.com/OpenPoGo/OpenPoGoWeb/pull/126#issuecomment-236323419","issue_url":"https://api.github.com/repos/OpenPoGo/OpenPoGoWeb/issues/126","id":236323419,"user":{"login":"BobbyWibowo","id":9364930,"avatar_url":"https://avatars.githubusercontent.com/u/9364930?v=3","gravatar_id":"","url":"https://api.github.com/users/BobbyWibowo","html_url":"https://github.com/BobbyWibowo","followers_url":"https://api.github.com/users/BobbyWibowo/followers","following_url":"https://api.github.com/users/BobbyWibowo/following{/other_user}","gists_url":"https://api.github.com/users/BobbyWibowo/gists{/gist_id}","starred_url":"https://api.github.com/users/BobbyWibowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobbyWibowo/subscriptions","organizations_url":"https://api.github.com/users/BobbyWibowo/orgs","repos_url":"https://api.github.com/users/BobbyWibowo/repos","events_url":"https://api.github.com/users/BobbyWibowo/events{/privacy}","received_events_url":"https://api.github.com/users/BobbyWibowo/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T00:10:16Z","updated_at":"2016-07-30T00:10:16Z","body":"In my version I only store an array of the required EXP to level up from a certain level to the next level. Then it simply uses loop to calculate total required EXPs from the array. Thus the array ends up only eating 6 lines. (ref: https://github.com/BobbyWibowo/OpenPoGoWeb/blob/wchill/refactor/js/main.js)"}}
{"actor":{"display_login":"BobbyWibowo"}}