{"action":"created","comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/26911595","id":26911595,"diff_hunk":"@@ -41,6 +41,7 @@\n #include <bitset>\n \n #include <fstream>\n+#include <cmath>","path":"src/player.cpp","position":4,"original_position":4,"commit_id":"cbb8f402e7805249b23a81e30507cf2e4645d717","original_commit_id":"cbb8f402e7805249b23a81e30507cf2e4645d717","user":{"login":"facepalm","id":51051,"avatar_url":"https://avatars.githubusercontent.com/u/51051?v=3","gravatar_id":"","url":"https://api.github.com/users/facepalm","html_url":"https://github.com/facepalm","followers_url":"https://api.github.com/users/facepalm/followers","following_url":"https://api.github.com/users/facepalm/following{/other_user}","gists_url":"https://api.github.com/users/facepalm/gists{/gist_id}","starred_url":"https://api.github.com/users/facepalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facepalm/subscriptions","organizations_url":"https://api.github.com/users/facepalm/orgs","repos_url":"https://api.github.com/users/facepalm/repos","events_url":"https://api.github.com/users/facepalm/events{/privacy}","received_events_url":"https://api.github.com/users/facepalm/received_events","type":"User","site_admin":false},"body":"I was only using cmath's pow function for a bit of the soft cap, so it's not necessary anymore.  Will remove.","created_at":"2015-03-23T02:20:34Z","updated_at":"2015-03-23T02:20:34Z","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11695#discussion_r26911595","pull_request_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695","_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/26911595"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11695#discussion_r26911595"},"pull_request":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695"}}},"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695","id":31612440,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11695","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11695.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11695.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11695","number":11695,"state":"open","locked":false,"title":"Skill training overhaul","user":{"login":"facepalm","id":51051,"avatar_url":"https://avatars.githubusercontent.com/u/51051?v=3","gravatar_id":"","url":"https://api.github.com/users/facepalm","html_url":"https://github.com/facepalm","followers_url":"https://api.github.com/users/facepalm/followers","following_url":"https://api.github.com/users/facepalm/following{/other_user}","gists_url":"https://api.github.com/users/facepalm/gists{/gist_id}","starred_url":"https://api.github.com/users/facepalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facepalm/subscriptions","organizations_url":"https://api.github.com/users/facepalm/orgs","repos_url":"https://api.github.com/users/facepalm/repos","events_url":"https://api.github.com/users/facepalm/events{/privacy}","received_events_url":"https://api.github.com/users/facepalm/received_events","type":"User","site_admin":false},"body":"Since Cata's current experience system is a bit of a mess, I thought I'd try to unmess it a bit.\r\n\r\nSignificant changes\r\n__Experience needed to level up is now a simple exponential: 100x level^2, instead of 100x level__\r\nThis has the effect of slowing down skill progression considerably - you're not going to be a melee god by the time you leave town, and disassembling a single van down to the rims should no longer take you to Mechanics 10.  \r\n\r\nBooks are adjusted to match the new level scaling, so their performance is unchanged.\r\n\r\nSkill rust works with the new scaling, but the amount of experience lost due to rust is unchanged.  This should effectively decrease its influence at higher levels, with the help of uncapped skills (see below) making it easier to counteract.\r\n\r\n__Crafting is no longer hard-capped__ \r\nEverything you do will contribute to your skill, regardless of level.  Since higher levels now require much more xp to advance, this isn't as problematic as it was.  Crafting experience scaling has also been tweaked a bit to scale more with crafting difficulty.  It's still a linear relationship, though, so you'll still need more high-level jobs than you used to.\r\n\r\n__Crafting is tied to craft duration__\r\nPreviously, a 6 hour armor crafting job offered the same experience potential as a 1 minute slap-together.  This meant that quick, simple crafts were ideal grinding opportunities, while the things you actually wanted to use gave essentially no xp for their creation.  I've tied crafting experience into crafting duration (works for batch crafting too), normalizing xp gain to a 10-minute craft time.  The aforementioned crafts would now have 36x and 0.1x experience modifiers, respectively.","created_at":"2015-03-20T13:16:33Z","updated_at":"2015-03-23T02:20:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f7453a869c2f6d09836a1dcf9789f30f82ce24f2","assignee":{"login":"KA101","id":4195632,"avatar_url":"https://avatars.githubusercontent.com/u/4195632?v=3","gravatar_id":"","url":"https://api.github.com/users/KA101","html_url":"https://github.com/KA101","followers_url":"https://api.github.com/users/KA101/followers","following_url":"https://api.github.com/users/KA101/following{/other_user}","gists_url":"https://api.github.com/users/KA101/gists{/gist_id}","starred_url":"https://api.github.com/users/KA101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KA101/subscriptions","organizations_url":"https://api.github.com/users/KA101/orgs","repos_url":"https://api.github.com/users/KA101/repos","events_url":"https://api.github.com/users/KA101/events{/privacy}","received_events_url":"https://api.github.com/users/KA101/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11695/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/cbb8f402e7805249b23a81e30507cf2e4645d717","head":{"label":"facepalm:SkillsOverhaul","ref":"SkillsOverhaul","sha":"cbb8f402e7805249b23a81e30507cf2e4645d717","user":{"login":"facepalm","id":51051,"avatar_url":"https://avatars.githubusercontent.com/u/51051?v=3","gravatar_id":"","url":"https://api.github.com/users/facepalm","html_url":"https://github.com/facepalm","followers_url":"https://api.github.com/users/facepalm/followers","following_url":"https://api.github.com/users/facepalm/following{/other_user}","gists_url":"https://api.github.com/users/facepalm/gists{/gist_id}","starred_url":"https://api.github.com/users/facepalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facepalm/subscriptions","organizations_url":"https://api.github.com/users/facepalm/orgs","repos_url":"https://api.github.com/users/facepalm/repos","events_url":"https://api.github.com/users/facepalm/events{/privacy}","received_events_url":"https://api.github.com/users/facepalm/received_events","type":"User","site_admin":false},"repo":{"id":32535409,"name":"Cataclysm-DDA","full_name":"facepalm/Cataclysm-DDA","owner":{"login":"facepalm","id":51051,"avatar_url":"https://avatars.githubusercontent.com/u/51051?v=3","gravatar_id":"","url":"https://api.github.com/users/facepalm","html_url":"https://github.com/facepalm","followers_url":"https://api.github.com/users/facepalm/followers","following_url":"https://api.github.com/users/facepalm/following{/other_user}","gists_url":"https://api.github.com/users/facepalm/gists{/gist_id}","starred_url":"https://api.github.com/users/facepalm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facepalm/subscriptions","organizations_url":"https://api.github.com/users/facepalm/orgs","repos_url":"https://api.github.com/users/facepalm/repos","events_url":"https://api.github.com/users/facepalm/events{/privacy}","received_events_url":"https://api.github.com/users/facepalm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/facepalm/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/facepalm/Cataclysm-DDA","forks_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/facepalm/Cataclysm-DDA/releases{/id}","created_at":"2015-03-19T17:09:25Z","updated_at":"2015-03-19T17:09:34Z","pushed_at":"2015-03-23T02:12:18Z","git_url":"git://github.com/facepalm/Cataclysm-DDA.git","ssh_url":"git@github.com:facepalm/Cataclysm-DDA.git","clone_url":"https://github.com/facepalm/Cataclysm-DDA.git","svn_url":"https://github.com/facepalm/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":379977,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CleverRaven:master","ref":"master","sha":"d2d25d8139966bde9023f7e2be8c911735668f4c","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","created_at":"2012-09-26T22:57:43Z","updated_at":"2015-03-22T23:30:41Z","pushed_at":"2015-03-23T02:12:20Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":463770,"stargazers_count":623,"watchers_count":623,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":680,"mirror_url":null,"open_issues_count":876,"forks":680,"open_issues":876,"watchers":623,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/11695"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11695"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/11695/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/11695/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/cbb8f402e7805249b23a81e30507cf2e4645d717"}}}}