{"action":"created","issue":{"url":"https://api.github.com/repos/mouseas/steamSummerMinigame/issues/61","labels_url":"https://api.github.com/repos/mouseas/steamSummerMinigame/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/mouseas/steamSummerMinigame/issues/61/comments","events_url":"https://api.github.com/repos/mouseas/steamSummerMinigame/issues/61/events","html_url":"https://github.com/mouseas/steamSummerMinigame/pull/61","id":88001755,"number":61,"title":"Added smarter medic logic, pumped up and resurrection policy, helper functions","user":{"login":"JCKE","id":6626801,"avatar_url":"https://avatars.githubusercontent.com/u/6626801?v=3","gravatar_id":"","url":"https://api.github.com/users/JCKE","html_url":"https://github.com/JCKE","followers_url":"https://api.github.com/users/JCKE/followers","following_url":"https://api.github.com/users/JCKE/following{/other_user}","gists_url":"https://api.github.com/users/JCKE/gists{/gist_id}","starred_url":"https://api.github.com/users/JCKE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCKE/subscriptions","organizations_url":"https://api.github.com/users/JCKE/orgs","repos_url":"https://api.github.com/users/JCKE/repos","events_url":"https://api.github.com/users/JCKE/events{/privacy}","received_events_url":"https://api.github.com/users/JCKE/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mouseas/steamSummerMinigame/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/mouseas/steamSummerMinigame/labels/needs%20testing","name":"needs testing","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-13T12:56:34Z","updated_at":"2015-06-13T15:44:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mouseas/steamSummerMinigame/pulls/61","html_url":"https://github.com/mouseas/steamSummerMinigame/pull/61","diff_url":"https://github.com/mouseas/steamSummerMinigame/pull/61.diff","patch_url":"https://github.com/mouseas/steamSummerMinigame/pull/61.patch"},"body":"Added the rest of the abilities to ITEMS dictionary, and sorted it.\r\nCreated helper functions to get the percentage of your total team in a lane, and to get the number of an ability active in a lane. Helpful in deciding if an ability would have the greatest impact in a lane.\r\n\r\nCreated revive ability policy, reviving if the lane has > 20% of total players and > 33% of the lane players are dead. Some sites incorrectly say revive affects all lanes, but thorough testing says otherwise.\r\nModified medic policy to also look at the team's overall health (just looking at the 10 buckets of the histogram) and react even if the player's health is above 50%. Medic policy now looks at pumped up ability first, as it is basically a superior medic.\r\n\r\nThings that could be tweaked/changed:\r\n* Include reflect shield in medic policy. Not sure if it's a better god mode because their 'reflect' seems like you still take damage\r\n* Resurrect policy might be extended to attempt respawn, since resurrect will revive the player as well.\r\n* 20% of total players, 33% of the lane players, 40% of health bins used in medic policy, and bins 1-6 in medic policy are all arbitrary and should be discussed\r\n* Better distribution of the aforementioned bins (i.e. bin1 * 0.9 + bin2 * 0.8 etc.) when deciding to use on team\r\n* Not sure if visibility is checked when triggering items and abilities?"},"comment":{"url":"https://api.github.com/repos/mouseas/steamSummerMinigame/issues/comments/111722831","html_url":"https://github.com/mouseas/steamSummerMinigame/pull/61#issuecomment-111722831","issue_url":"https://api.github.com/repos/mouseas/steamSummerMinigame/issues/61","id":111722831,"user":{"login":"Page-","id":360115,"avatar_url":"https://avatars.githubusercontent.com/u/360115?v=3","gravatar_id":"","url":"https://api.github.com/users/Page-","html_url":"https://github.com/Page-","followers_url":"https://api.github.com/users/Page-/followers","following_url":"https://api.github.com/users/Page-/following{/other_user}","gists_url":"https://api.github.com/users/Page-/gists{/gist_id}","starred_url":"https://api.github.com/users/Page-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Page-/subscriptions","organizations_url":"https://api.github.com/users/Page-/orgs","repos_url":"https://api.github.com/users/Page-/repos","events_url":"https://api.github.com/users/Page-/events{/privacy}","received_events_url":"https://api.github.com/users/Page-/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T15:44:01Z","updated_at":"2015-06-13T15:44:01Z","body":"Duh, yeah, been a while since I've debugged console run code:\r\n```\r\nUncaught SyntaxError: Unexpected token =\r\n    at Object.InjectedScript._evaluateOn (<anonymous>:895:140)\r\n    at Object.InjectedScript._evaluateAndWrap (<anonymous>:828:34)\r\n    at Object.InjectedScript.evaluate (<anonymous>:694:21)InjectedScript._evaluateOn @ VM276:895InjectedScript._evaluateAndWrap @ VM276:828InjectedScript.evaluate @ VM276:694\r\n```"}}