{"action":"opened","number":1153,"pull_request":{"url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/1153","id":52817150,"html_url":"https://github.com/ZeroK-RTS/Zero-K/pull/1153","diff_url":"https://github.com/ZeroK-RTS/Zero-K/pull/1153.diff","patch_url":"https://github.com/ZeroK-RTS/Zero-K/pull/1153.patch","issue_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/1153","number":1153,"state":"open","locked":false,"title":"Improvements to Tactical AI","user":{"login":"mtroyka","id":7027766,"avatar_url":"https://avatars.githubusercontent.com/u/7027766?v=3","gravatar_id":"","url":"https://api.github.com/users/mtroyka","html_url":"https://github.com/mtroyka","followers_url":"https://api.github.com/users/mtroyka/followers","following_url":"https://api.github.com/users/mtroyka/following{/other_user}","gists_url":"https://api.github.com/users/mtroyka/gists{/gist_id}","starred_url":"https://api.github.com/users/mtroyka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtroyka/subscriptions","organizations_url":"https://api.github.com/users/mtroyka/orgs","repos_url":"https://api.github.com/users/mtroyka/repos","events_url":"https://api.github.com/users/mtroyka/events{/privacy}","received_events_url":"https://api.github.com/users/mtroyka/received_events","type":"User","site_admin":false},"body":"Major Changes:\r\n-Scorchers dive at their targets on fight move and drive in small circles around the target once at close range.\r\n\r\n-Air units no longer nochase versus solar panels and razors. This was especially bad with gunships, which would completely ignore them even if they were the only targets around.\r\n\r\n-Swifts no longer nochase versus ground units. May be reverted if people hate it enough.\r\n\r\nMinor Changes:\r\n-Arty now disprefers shooting at raiders.\r\n-Spectre, Penetrator and Racketeer now disprefer shooting at cheap porc. (in addition to raiders)\r\n-Rackets disprefer shooting at unarmed stuff.\r\n-Raiders prefer to shoot at mexes above other things.\r\n-Added solars as a universal bad target in target priorities.\r\n\r\nNote: I did not get great results with target priorities. Target prio only handles weapon targeting and not unit targeting/chase behavior, which leads to inconsistent results. It also has some nonsensical preferences, for example having rackets target unarmed things rather than overkill something armed but already disarmed. Clearly rackets should have a preference for what armed targets they should overkill rather than disarming something that it's more or less useless to disarm. I'll work on that when I have time to tear it apart and figure out how to make all that work properly.","created_at":"2015-12-07T08:36:00Z","updated_at":"2015-12-07T08:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/1153/commits","review_comments_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/1153/comments","review_comment_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/1153/comments","statuses_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/statuses/78fb8e038bc2158c7a8e8f56f36843fb74278120","head":{"label":"mtroyka:UnitAI","ref":"UnitAI","sha":"78fb8e038bc2158c7a8e8f56f36843fb74278120","user":{"login":"mtroyka","id":7027766,"avatar_url":"https://avatars.githubusercontent.com/u/7027766?v=3","gravatar_id":"","url":"https://api.github.com/users/mtroyka","html_url":"https://github.com/mtroyka","followers_url":"https://api.github.com/users/mtroyka/followers","following_url":"https://api.github.com/users/mtroyka/following{/other_user}","gists_url":"https://api.github.com/users/mtroyka/gists{/gist_id}","starred_url":"https://api.github.com/users/mtroyka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtroyka/subscriptions","organizations_url":"https://api.github.com/users/mtroyka/orgs","repos_url":"https://api.github.com/users/mtroyka/repos","events_url":"https://api.github.com/users/mtroyka/events{/privacy}","received_events_url":"https://api.github.com/users/mtroyka/received_events","type":"User","site_admin":false},"repo":{"id":34828241,"name":"Zero-K","full_name":"mtroyka/Zero-K","owner":{"login":"mtroyka","id":7027766,"avatar_url":"https://avatars.githubusercontent.com/u/7027766?v=3","gravatar_id":"","url":"https://api.github.com/users/mtroyka","html_url":"https://github.com/mtroyka","followers_url":"https://api.github.com/users/mtroyka/followers","following_url":"https://api.github.com/users/mtroyka/following{/other_user}","gists_url":"https://api.github.com/users/mtroyka/gists{/gist_id}","starred_url":"https://api.github.com/users/mtroyka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtroyka/subscriptions","organizations_url":"https://api.github.com/users/mtroyka/orgs","repos_url":"https://api.github.com/users/mtroyka/repos","events_url":"https://api.github.com/users/mtroyka/events{/privacy}","received_events_url":"https://api.github.com/users/mtroyka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtroyka/Zero-K","description":"Open source RTS game running on the Spring engine","fork":true,"url":"https://api.github.com/repos/mtroyka/Zero-K","forks_url":"https://api.github.com/repos/mtroyka/Zero-K/forks","keys_url":"https://api.github.com/repos/mtroyka/Zero-K/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtroyka/Zero-K/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtroyka/Zero-K/teams","hooks_url":"https://api.github.com/repos/mtroyka/Zero-K/hooks","issue_events_url":"https://api.github.com/repos/mtroyka/Zero-K/issues/events{/number}","events_url":"https://api.github.com/repos/mtroyka/Zero-K/events","assignees_url":"https://api.github.com/repos/mtroyka/Zero-K/assignees{/user}","branches_url":"https://api.github.com/repos/mtroyka/Zero-K/branches{/branch}","tags_url":"https://api.github.com/repos/mtroyka/Zero-K/tags","blobs_url":"https://api.github.com/repos/mtroyka/Zero-K/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtroyka/Zero-K/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtroyka/Zero-K/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtroyka/Zero-K/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtroyka/Zero-K/statuses/{sha}","languages_url":"https://api.github.com/repos/mtroyka/Zero-K/languages","stargazers_url":"https://api.github.com/repos/mtroyka/Zero-K/stargazers","contributors_url":"https://api.github.com/repos/mtroyka/Zero-K/contributors","subscribers_url":"https://api.github.com/repos/mtroyka/Zero-K/subscribers","subscription_url":"https://api.github.com/repos/mtroyka/Zero-K/subscription","commits_url":"https://api.github.com/repos/mtroyka/Zero-K/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtroyka/Zero-K/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtroyka/Zero-K/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtroyka/Zero-K/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtroyka/Zero-K/contents/{+path}","compare_url":"https://api.github.com/repos/mtroyka/Zero-K/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtroyka/Zero-K/merges","archive_url":"https://api.github.com/repos/mtroyka/Zero-K/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtroyka/Zero-K/downloads","issues_url":"https://api.github.com/repos/mtroyka/Zero-K/issues{/number}","pulls_url":"https://api.github.com/repos/mtroyka/Zero-K/pulls{/number}","milestones_url":"https://api.github.com/repos/mtroyka/Zero-K/milestones{/number}","notifications_url":"https://api.github.com/repos/mtroyka/Zero-K/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtroyka/Zero-K/labels{/name}","releases_url":"https://api.github.com/repos/mtroyka/Zero-K/releases{/id}","created_at":"2015-04-30T01:49:49Z","updated_at":"2015-05-07T01:30:17Z","pushed_at":"2015-12-07T08:24:03Z","git_url":"git://github.com/mtroyka/Zero-K.git","ssh_url":"git@github.com:mtroyka/Zero-K.git","clone_url":"https://github.com/mtroyka/Zero-K.git","svn_url":"https://github.com/mtroyka/Zero-K","homepage":null,"size":416852,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"ZeroK-RTS:master","ref":"master","sha":"5af668b97c091824b1329018b698aa99ddc77dec","user":{"login":"ZeroK-RTS","id":5145185,"avatar_url":"https://avatars.githubusercontent.com/u/5145185?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeroK-RTS","html_url":"https://github.com/ZeroK-RTS","followers_url":"https://api.github.com/users/ZeroK-RTS/followers","following_url":"https://api.github.com/users/ZeroK-RTS/following{/other_user}","gists_url":"https://api.github.com/users/ZeroK-RTS/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeroK-RTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeroK-RTS/subscriptions","organizations_url":"https://api.github.com/users/ZeroK-RTS/orgs","repos_url":"https://api.github.com/users/ZeroK-RTS/repos","events_url":"https://api.github.com/users/ZeroK-RTS/events{/privacy}","received_events_url":"https://api.github.com/users/ZeroK-RTS/received_events","type":"Organization","site_admin":false},"repo":{"id":11837082,"name":"Zero-K","full_name":"ZeroK-RTS/Zero-K","owner":{"login":"ZeroK-RTS","id":5145185,"avatar_url":"https://avatars.githubusercontent.com/u/5145185?v=3","gravatar_id":"","url":"https://api.github.com/users/ZeroK-RTS","html_url":"https://github.com/ZeroK-RTS","followers_url":"https://api.github.com/users/ZeroK-RTS/followers","following_url":"https://api.github.com/users/ZeroK-RTS/following{/other_user}","gists_url":"https://api.github.com/users/ZeroK-RTS/gists{/gist_id}","starred_url":"https://api.github.com/users/ZeroK-RTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZeroK-RTS/subscriptions","organizations_url":"https://api.github.com/users/ZeroK-RTS/orgs","repos_url":"https://api.github.com/users/ZeroK-RTS/repos","events_url":"https://api.github.com/users/ZeroK-RTS/events{/privacy}","received_events_url":"https://api.github.com/users/ZeroK-RTS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZeroK-RTS/Zero-K","description":"Open source RTS game running on the Spring engine","fork":false,"url":"https://api.github.com/repos/ZeroK-RTS/Zero-K","forks_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/forks","keys_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/teams","hooks_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/hooks","issue_events_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/events{/number}","events_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/events","assignees_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/assignees{/user}","branches_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/branches{/branch}","tags_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/tags","blobs_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/statuses/{sha}","languages_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/languages","stargazers_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/stargazers","contributors_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/contributors","subscribers_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/subscribers","subscription_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/subscription","commits_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/contents/{+path}","compare_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/merges","archive_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/downloads","issues_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues{/number}","pulls_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls{/number}","milestones_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/milestones{/number}","notifications_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/labels{/name}","releases_url":"https://api.github.com/repos/ZeroK-RTS/Zero-K/releases{/id}","created_at":"2013-08-02T06:57:00Z","updated_at":"2015-12-01T00:17:44Z","pushed_at":"2015-12-07T08:17:37Z","git_url":"git://github.com/ZeroK-RTS/Zero-K.git","ssh_url":"git@github.com:ZeroK-RTS/Zero-K.git","clone_url":"https://github.com/ZeroK-RTS/Zero-K.git","svn_url":"https://github.com/ZeroK-RTS/Zero-K","homepage":null,"size":422729,"stargazers_count":56,"watchers_count":56,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":93,"forks":42,"open_issues":93,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/1153"},"html":{"href":"https://github.com/ZeroK-RTS/Zero-K/pull/1153"},"issue":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/1153"},"comments":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/issues/1153/comments"},"review_comments":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/1153/comments"},"review_comment":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/pulls/1153/commits"},"statuses":{"href":"https://api.github.com/repos/ZeroK-RTS/Zero-K/statuses/78fb8e038bc2158c7a8e8f56f36843fb74278120"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":145,"deletions":37,"changed_files":24}}