{"action":"created","issue":{"url":"https://api.github.com/repos/sIKE23/Mage-Wars/issues/144","labels_url":"https://api.github.com/repos/sIKE23/Mage-Wars/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/sIKE23/Mage-Wars/issues/144/comments","events_url":"https://api.github.com/repos/sIKE23/Mage-Wars/issues/144/events","html_url":"https://github.com/sIKE23/Mage-Wars/issues/144","id":53695255,"number":144,"title":"Battle Calculator and Dice Roll Menus","user":{"login":"ACG8","id":10094820,"avatar_url":"https://avatars.githubusercontent.com/u/10094820?v=3","gravatar_id":"","url":"https://api.github.com/users/ACG8","html_url":"https://github.com/ACG8","followers_url":"https://api.github.com/users/ACG8/followers","following_url":"https://api.github.com/users/ACG8/following{/other_user}","gists_url":"https://api.github.com/users/ACG8/gists{/gist_id}","starred_url":"https://api.github.com/users/ACG8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACG8/subscriptions","organizations_url":"https://api.github.com/users/ACG8/orgs","repos_url":"https://api.github.com/users/ACG8/repos","events_url":"https://api.github.com/users/ACG8/events{/privacy}","received_events_url":"https://api.github.com/users/ACG8/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sIKE23/Mage-Wars/labels/Enhancement","name":"Enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ACG8","id":10094820,"avatar_url":"https://avatars.githubusercontent.com/u/10094820?v=3","gravatar_id":"","url":"https://api.github.com/users/ACG8","html_url":"https://github.com/ACG8","followers_url":"https://api.github.com/users/ACG8/followers","following_url":"https://api.github.com/users/ACG8/following{/other_user}","gists_url":"https://api.github.com/users/ACG8/gists{/gist_id}","starred_url":"https://api.github.com/users/ACG8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ACG8/subscriptions","organizations_url":"https://api.github.com/users/ACG8/orgs","repos_url":"https://api.github.com/users/ACG8/repos","events_url":"https://api.github.com/users/ACG8/events{/privacy}","received_events_url":"https://api.github.com/users/ACG8/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sIKE23/Mage-Wars/milestones/14","html_url":"https://github.com/sIKE23/Mage-Wars/milestones/Q1--2015%20Release","labels_url":"https://api.github.com/repos/sIKE23/Mage-Wars/milestones/14/labels","id":918495,"number":14,"title":"Q1--2015 Release","description":"","creator":{"login":"sIKE23","id":5695175,"avatar_url":"https://avatars.githubusercontent.com/u/5695175?v=3","gravatar_id":"","url":"https://api.github.com/users/sIKE23","html_url":"https://github.com/sIKE23","followers_url":"https://api.github.com/users/sIKE23/followers","following_url":"https://api.github.com/users/sIKE23/following{/other_user}","gists_url":"https://api.github.com/users/sIKE23/gists{/gist_id}","starred_url":"https://api.github.com/users/sIKE23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sIKE23/subscriptions","organizations_url":"https://api.github.com/users/sIKE23/orgs","repos_url":"https://api.github.com/users/sIKE23/repos","events_url":"https://api.github.com/users/sIKE23/events{/privacy}","received_events_url":"https://api.github.com/users/sIKE23/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":49,"state":"open","created_at":"2014-12-31T16:02:12Z","updated_at":"2015-05-19T05:31:02Z","due_on":"2015-04-03T05:00:00Z","closed_at":null},"comments":101,"created_at":"2015-01-07T23:16:51Z","updated_at":"2015-05-23T04:26:09Z","closed_at":null,"body":"I have programmed the rudiments of what will be code that tailors an attack roll to the creature attacking and the one defending. Now, it only remains to improve upon it. The commit that defines the basics is here: https://github.com/sIKE23/Mage-Wars/commit/34f2c64256672127110c8e499c8f8974d2b30dd0\r\n\r\nHere are some immediate things that I want to work on with this:\r\n- Allow similar functionality when targeting a creature with an attack.\r\n- Expand to include mage attacks\r\n- State whether the results of the attack were above or below average (especially handy when deciding whether to use Akiro's Favor/Temple of the Dawnbreaker)\r\n- Give players the ability to auto-apply damage to their own creatures on a case-by-case basis (compute the damage/effects resulting from the attack and then bring up a dialog box to ask the recipient whether they accept the calculated damage/effects).\r\n\r\nIn general, I want to move toward having the engine be much more aware of what is actually going on in the game, and this is the most obvious place to start."},"comment":{"url":"https://api.github.com/repos/sIKE23/Mage-Wars/issues/comments/104838604","html_url":"https://github.com/sIKE23/Mage-Wars/issues/144#issuecomment-104838604","issue_url":"https://api.github.com/repos/sIKE23/Mage-Wars/issues/144","id":104838604,"user":{"login":"sIKE23","id":5695175,"avatar_url":"https://avatars.githubusercontent.com/u/5695175?v=3","gravatar_id":"","url":"https://api.github.com/users/sIKE23","html_url":"https://github.com/sIKE23","followers_url":"https://api.github.com/users/sIKE23/followers","following_url":"https://api.github.com/users/sIKE23/following{/other_user}","gists_url":"https://api.github.com/users/sIKE23/gists{/gist_id}","starred_url":"https://api.github.com/users/sIKE23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sIKE23/subscriptions","organizations_url":"https://api.github.com/users/sIKE23/orgs","repos_url":"https://api.github.com/users/sIKE23/repos","events_url":"https://api.github.com/users/sIKE23/events{/privacy}","received_events_url":"https://api.github.com/users/sIKE23/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T04:26:09Z","updated_at":"2015-05-23T04:26:09Z","body":"An attached Tanglevine on a flyer (say Slammed/Guard/Stunned) should be\nable to be attacked by a non-flyers melee attack\n\nOn Fri, May 22, 2015 at 8:44 PM, ACG8 <notifications@github.com> wrote:\n\n>    if (dTraitDict.get('Flying') and\n>         not (dTraitDict.get('Restrained') or\n>         not (dTraitDict.get('Incapacitated') and\n>         not aTraitDict.get('Flying') and\n>         attack.get('RangeType') == 'Melee' and\n>         not atkTraits.get('Reach')): return False\n>\n>  Yes, that would certainly work. However, the root cause of the issue is\n> that the computeTraits() function was allowing restrained/incapacitated\n> flying creatures to retain the flying trait, so I just fixed it so that it\n> does not.\n>\n> I think adding an indent to line 862 will fix the guard issue...\n>\n> It does. Nice.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sIKE23/Mage-Wars/issues/144#issuecomment-104813894>.\n>\n"}}