{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/riftgarret/ludum/pulls/14","id":221696314,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNjk2MzE0","html_url":"https://github.com/riftgarret/ludum/pull/14","diff_url":"https://github.com/riftgarret/ludum/pull/14.diff","patch_url":"https://github.com/riftgarret/ludum/pull/14.patch","issue_url":"https://api.github.com/repos/riftgarret/ludum/issues/14","number":14,"state":"open","locked":false,"title":"Introduced AI logic with a few conditions","user":{"login":"riftgarret","id":444349,"node_id":"MDQ6VXNlcjQ0NDM0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/444349?v=4","gravatar_id":"","url":"https://api.github.com/users/riftgarret","html_url":"https://github.com/riftgarret","followers_url":"https://api.github.com/users/riftgarret/followers","following_url":"https://api.github.com/users/riftgarret/following{/other_user}","gists_url":"https://api.github.com/users/riftgarret/gists{/gist_id}","starred_url":"https://api.github.com/users/riftgarret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riftgarret/subscriptions","organizations_url":"https://api.github.com/users/riftgarret/orgs","repos_url":"https://api.github.com/users/riftgarret/repos","events_url":"https://api.github.com/users/riftgarret/events{/privacy}","received_events_url":"https://api.github.com/users/riftgarret/received_events","type":"User","site_admin":false},"body":"Visually these relationships can be represented by this image: \r\n![image](https://user-images.githubusercontent.com/444349/46722198-cffd2780-cc29-11e8-8851-f88cd27aab85.png)\r\n\r\n* added Top level **AIRuleSet** (Represents the set of all containers)\r\n* second tier **AIRule** (represents a block of skills that are defined by a single target type)\r\n\r\n* created CombatStats for conditional checks as well as priority searches.\r\n* trimmed out the `CreateSelectedTargets(..)` from **SkillTargetMeta**. You can now just do `new SelectedTarget(entity)` directly.\r\n* added *WeightedPool<T>* that allows us to add weights and find elements at random\r\n* Removed **IDecisionManager** and renamed it to a stateless static class helper called **DecisionHelper**. This might get phased out later as they just create new instances with no logic.\r\n","created_at":"2018-10-10T08:17:15Z","updated_at":"2018-10-10T08:17:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"RiceGnat","id":3154593,"node_id":"MDQ6VXNlcjMxNTQ1OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3154593?v=4","gravatar_id":"","url":"https://api.github.com/users/RiceGnat","html_url":"https://github.com/RiceGnat","followers_url":"https://api.github.com/users/RiceGnat/followers","following_url":"https://api.github.com/users/RiceGnat/following{/other_user}","gists_url":"https://api.github.com/users/RiceGnat/gists{/gist_id}","starred_url":"https://api.github.com/users/RiceGnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiceGnat/subscriptions","organizations_url":"https://api.github.com/users/RiceGnat/orgs","repos_url":"https://api.github.com/users/RiceGnat/repos","events_url":"https://api.github.com/users/RiceGnat/events{/privacy}","received_events_url":"https://api.github.com/users/RiceGnat/received_events","type":"User","site_admin":false},"assignees":[{"login":"RiceGnat","id":3154593,"node_id":"MDQ6VXNlcjMxNTQ1OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/3154593?v=4","gravatar_id":"","url":"https://api.github.com/users/RiceGnat","html_url":"https://github.com/RiceGnat","followers_url":"https://api.github.com/users/RiceGnat/followers","following_url":"https://api.github.com/users/RiceGnat/following{/other_user}","gists_url":"https://api.github.com/users/RiceGnat/gists{/gist_id}","starred_url":"https://api.github.com/users/RiceGnat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RiceGnat/subscriptions","organizations_url":"https://api.github.com/users/RiceGnat/orgs","repos_url":"https://api.github.com/users/RiceGnat/repos","events_url":"https://api.github.com/users/RiceGnat/events{/privacy}","received_events_url":"https://api.github.com/users/RiceGnat/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/riftgarret/ludum/pulls/14/commits","review_comments_url":"https://api.github.com/repos/riftgarret/ludum/pulls/14/comments","review_comment_url":"https://api.github.com/repos/riftgarret/ludum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/riftgarret/ludum/issues/14/comments","statuses_url":"https://api.github.com/repos/riftgarret/ludum/statuses/82140eb89c954d0af977709bbdc0092a061b758a","head":{"label":"riftgarret:ai_implementation","ref":"ai_implementation","sha":"82140eb89c954d0af977709bbdc0092a061b758a","user":{"login":"riftgarret","id":444349,"node_id":"MDQ6VXNlcjQ0NDM0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/444349?v=4","gravatar_id":"","url":"https://api.github.com/users/riftgarret","html_url":"https://github.com/riftgarret","followers_url":"https://api.github.com/users/riftgarret/followers","following_url":"https://api.github.com/users/riftgarret/following{/other_user}","gists_url":"https://api.github.com/users/riftgarret/gists{/gist_id}","starred_url":"https://api.github.com/users/riftgarret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riftgarret/subscriptions","organizations_url":"https://api.github.com/users/riftgarret/orgs","repos_url":"https://api.github.com/users/riftgarret/repos","events_url":"https://api.github.com/users/riftgarret/events{/privacy}","received_events_url":"https://api.github.com/users/riftgarret/received_events","type":"User","site_admin":false},"repo":{"id":149073567,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwNzM1Njc=","name":"ludum","full_name":"riftgarret/ludum","private":false,"owner":{"login":"riftgarret","id":444349,"node_id":"MDQ6VXNlcjQ0NDM0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/444349?v=4","gravatar_id":"","url":"https://api.github.com/users/riftgarret","html_url":"https://github.com/riftgarret","followers_url":"https://api.github.com/users/riftgarret/followers","following_url":"https://api.github.com/users/riftgarret/following{/other_user}","gists_url":"https://api.github.com/users/riftgarret/gists{/gist_id}","starred_url":"https://api.github.com/users/riftgarret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riftgarret/subscriptions","organizations_url":"https://api.github.com/users/riftgarret/orgs","repos_url":"https://api.github.com/users/riftgarret/repos","events_url":"https://api.github.com/users/riftgarret/events{/privacy}","received_events_url":"https://api.github.com/users/riftgarret/received_events","type":"User","site_admin":false},"html_url":"https://github.com/riftgarret/ludum","description":"Lorem ipsum dolor sit amet, quo graeco fierent eu.","fork":false,"url":"https://api.github.com/repos/riftgarret/ludum","forks_url":"https://api.github.com/repos/riftgarret/ludum/forks","keys_url":"https://api.github.com/repos/riftgarret/ludum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riftgarret/ludum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riftgarret/ludum/teams","hooks_url":"https://api.github.com/repos/riftgarret/ludum/hooks","issue_events_url":"https://api.github.com/repos/riftgarret/ludum/issues/events{/number}","events_url":"https://api.github.com/repos/riftgarret/ludum/events","assignees_url":"https://api.github.com/repos/riftgarret/ludum/assignees{/user}","branches_url":"https://api.github.com/repos/riftgarret/ludum/branches{/branch}","tags_url":"https://api.github.com/repos/riftgarret/ludum/tags","blobs_url":"https://api.github.com/repos/riftgarret/ludum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riftgarret/ludum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riftgarret/ludum/git/refs{/sha}","trees_url":"https://api.github.com/repos/riftgarret/ludum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riftgarret/ludum/statuses/{sha}","languages_url":"https://api.github.com/repos/riftgarret/ludum/languages","stargazers_url":"https://api.github.com/repos/riftgarret/ludum/stargazers","contributors_url":"https://api.github.com/repos/riftgarret/ludum/contributors","subscribers_url":"https://api.github.com/repos/riftgarret/ludum/subscribers","subscription_url":"https://api.github.com/repos/riftgarret/ludum/subscription","commits_url":"https://api.github.com/repos/riftgarret/ludum/commits{/sha}","git_commits_url":"https://api.github.com/repos/riftgarret/ludum/git/commits{/sha}","comments_url":"https://api.github.com/repos/riftgarret/ludum/comments{/number}","issue_comment_url":"https://api.github.com/repos/riftgarret/ludum/issues/comments{/number}","contents_url":"https://api.github.com/repos/riftgarret/ludum/contents/{+path}","compare_url":"https://api.github.com/repos/riftgarret/ludum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riftgarret/ludum/merges","archive_url":"https://api.github.com/repos/riftgarret/ludum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riftgarret/ludum/downloads","issues_url":"https://api.github.com/repos/riftgarret/ludum/issues{/number}","pulls_url":"https://api.github.com/repos/riftgarret/ludum/pulls{/number}","milestones_url":"https://api.github.com/repos/riftgarret/ludum/milestones{/number}","notifications_url":"https://api.github.com/repos/riftgarret/ludum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riftgarret/ludum/labels{/name}","releases_url":"https://api.github.com/repos/riftgarret/ludum/releases{/id}","deployments_url":"https://api.github.com/repos/riftgarret/ludum/deployments","created_at":"2018-09-17T05:32:25Z","updated_at":"2018-10-09T17:00:15Z","pushed_at":"2018-10-10T08:06:04Z","git_url":"git://github.com/riftgarret/ludum.git","ssh_url":"git@github.com:riftgarret/ludum.git","clone_url":"https://github.com/riftgarret/ludum.git","svn_url":"https://github.com/riftgarret/ludum","homepage":null,"size":417,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"riftgarret:develop","ref":"develop","sha":"d6d891ccff9aa515ec8544f0d7feb91fc2a74507","user":{"login":"riftgarret","id":444349,"node_id":"MDQ6VXNlcjQ0NDM0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/444349?v=4","gravatar_id":"","url":"https://api.github.com/users/riftgarret","html_url":"https://github.com/riftgarret","followers_url":"https://api.github.com/users/riftgarret/followers","following_url":"https://api.github.com/users/riftgarret/following{/other_user}","gists_url":"https://api.github.com/users/riftgarret/gists{/gist_id}","starred_url":"https://api.github.com/users/riftgarret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riftgarret/subscriptions","organizations_url":"https://api.github.com/users/riftgarret/orgs","repos_url":"https://api.github.com/users/riftgarret/repos","events_url":"https://api.github.com/users/riftgarret/events{/privacy}","received_events_url":"https://api.github.com/users/riftgarret/received_events","type":"User","site_admin":false},"repo":{"id":149073567,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkwNzM1Njc=","name":"ludum","full_name":"riftgarret/ludum","private":false,"owner":{"login":"riftgarret","id":444349,"node_id":"MDQ6VXNlcjQ0NDM0OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/444349?v=4","gravatar_id":"","url":"https://api.github.com/users/riftgarret","html_url":"https://github.com/riftgarret","followers_url":"https://api.github.com/users/riftgarret/followers","following_url":"https://api.github.com/users/riftgarret/following{/other_user}","gists_url":"https://api.github.com/users/riftgarret/gists{/gist_id}","starred_url":"https://api.github.com/users/riftgarret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riftgarret/subscriptions","organizations_url":"https://api.github.com/users/riftgarret/orgs","repos_url":"https://api.github.com/users/riftgarret/repos","events_url":"https://api.github.com/users/riftgarret/events{/privacy}","received_events_url":"https://api.github.com/users/riftgarret/received_events","type":"User","site_admin":false},"html_url":"https://github.com/riftgarret/ludum","description":"Lorem ipsum dolor sit amet, quo graeco fierent eu.","fork":false,"url":"https://api.github.com/repos/riftgarret/ludum","forks_url":"https://api.github.com/repos/riftgarret/ludum/forks","keys_url":"https://api.github.com/repos/riftgarret/ludum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/riftgarret/ludum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/riftgarret/ludum/teams","hooks_url":"https://api.github.com/repos/riftgarret/ludum/hooks","issue_events_url":"https://api.github.com/repos/riftgarret/ludum/issues/events{/number}","events_url":"https://api.github.com/repos/riftgarret/ludum/events","assignees_url":"https://api.github.com/repos/riftgarret/ludum/assignees{/user}","branches_url":"https://api.github.com/repos/riftgarret/ludum/branches{/branch}","tags_url":"https://api.github.com/repos/riftgarret/ludum/tags","blobs_url":"https://api.github.com/repos/riftgarret/ludum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/riftgarret/ludum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/riftgarret/ludum/git/refs{/sha}","trees_url":"https://api.github.com/repos/riftgarret/ludum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/riftgarret/ludum/statuses/{sha}","languages_url":"https://api.github.com/repos/riftgarret/ludum/languages","stargazers_url":"https://api.github.com/repos/riftgarret/ludum/stargazers","contributors_url":"https://api.github.com/repos/riftgarret/ludum/contributors","subscribers_url":"https://api.github.com/repos/riftgarret/ludum/subscribers","subscription_url":"https://api.github.com/repos/riftgarret/ludum/subscription","commits_url":"https://api.github.com/repos/riftgarret/ludum/commits{/sha}","git_commits_url":"https://api.github.com/repos/riftgarret/ludum/git/commits{/sha}","comments_url":"https://api.github.com/repos/riftgarret/ludum/comments{/number}","issue_comment_url":"https://api.github.com/repos/riftgarret/ludum/issues/comments{/number}","contents_url":"https://api.github.com/repos/riftgarret/ludum/contents/{+path}","compare_url":"https://api.github.com/repos/riftgarret/ludum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/riftgarret/ludum/merges","archive_url":"https://api.github.com/repos/riftgarret/ludum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/riftgarret/ludum/downloads","issues_url":"https://api.github.com/repos/riftgarret/ludum/issues{/number}","pulls_url":"https://api.github.com/repos/riftgarret/ludum/pulls{/number}","milestones_url":"https://api.github.com/repos/riftgarret/ludum/milestones{/number}","notifications_url":"https://api.github.com/repos/riftgarret/ludum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/riftgarret/ludum/labels{/name}","releases_url":"https://api.github.com/repos/riftgarret/ludum/releases{/id}","deployments_url":"https://api.github.com/repos/riftgarret/ludum/deployments","created_at":"2018-09-17T05:32:25Z","updated_at":"2018-10-09T17:00:15Z","pushed_at":"2018-10-10T08:06:04Z","git_url":"git://github.com/riftgarret/ludum.git","ssh_url":"git@github.com:riftgarret/ludum.git","clone_url":"https://github.com/riftgarret/ludum.git","svn_url":"https://github.com/riftgarret/ludum","homepage":null,"size":417,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/riftgarret/ludum/pulls/14"},"html":{"href":"https://github.com/riftgarret/ludum/pull/14"},"issue":{"href":"https://api.github.com/repos/riftgarret/ludum/issues/14"},"comments":{"href":"https://api.github.com/repos/riftgarret/ludum/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/riftgarret/ludum/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/riftgarret/ludum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/riftgarret/ludum/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/riftgarret/ludum/statuses/82140eb89c954d0af977709bbdc0092a061b758a"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":521,"deletions":92,"changed_files":18}}
{"actor":{"display_login":"riftgarret"}}