{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/11786","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11786/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11786/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11786/events","html_url":"https://github.com/tgstation/-tg-station/pull/11786","id":106388413,"number":11786,"title":"No more pixel hunting in Melee Combat","user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Balance","name":"Balance","color":"fbca04"},{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Feature","name":"Feature","color":"009800"},{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/FUCK","name":"FUCK","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":76,"created_at":"2015-09-14T17:15:23Z","updated_at":"2015-09-15T10:02:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/11786","html_url":"https://github.com/tgstation/-tg-station/pull/11786","diff_url":"https://github.com/tgstation/-tg-station/pull/11786.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/11786.patch"},"body":"### NO MORE PIXEL HUNTING IN MELEE COMBAT\r\nWhat this basically means is, if you click the turf the guy is on, or any turf behind him and all the other rules of combat say you can click him, it counts as if you did.\r\n\r\n## Code changes:\r\n* You now only have to click in the direction of a mob to hit them in melee combat (does NOT affect any atom except mobs, because the logic of deciding what atom to hit would be bonkers (layer doesn't work, and some other stuff I tried))\r\n* Some \"branching\" sections of code have been made into procs to allow them to be called in multiple places without copypasta\r\n* Fact atom is now at the atom level, because why not (Technically unrelated to this PR, but eh)\r\n\r\n<B> IF THIS IS SEEN AS OVERKILL, I CAN LOCK IT TO HARM INTENT, TO ALLOW THE USER TO CONTROL WHETHER THIS SYSTEM TRIGGERS, but for now, I have not done so.</B>"},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/140342867","html_url":"https://github.com/tgstation/-tg-station/pull/11786#issuecomment-140342867","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11786","id":140342867,"user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T10:02:36Z","updated_at":"2015-09-15T10:02:36Z","body":"I mean, if you click the item, which as it always was, is the ONLY WAY to pick up the item, it won't trigger the system, so not putting it on disarm won't affect that scenario, at all, at worst your missclick will go from doing nothing to further disarming your victim, is that not beneficial to the attacker?"}}