{"action":"created","issue":{"url":"https://api.github.com/repos/sailro/Reflexil/issues/10","labels_url":"https://api.github.com/repos/sailro/Reflexil/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/sailro/Reflexil/issues/10/comments","events_url":"https://api.github.com/repos/sailro/Reflexil/issues/10/events","html_url":"https://github.com/sailro/Reflexil/issues/10","id":54294089,"number":10,"title":"coherence between the opcode ad the operand","user":{"login":"ankilla","id":10004404,"avatar_url":"https://avatars.githubusercontent.com/u/10004404?v=3","gravatar_id":"","url":"https://api.github.com/users/ankilla","html_url":"https://github.com/ankilla","followers_url":"https://api.github.com/users/ankilla/followers","following_url":"https://api.github.com/users/ankilla/following{/other_user}","gists_url":"https://api.github.com/users/ankilla/gists{/gist_id}","starred_url":"https://api.github.com/users/ankilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankilla/subscriptions","organizations_url":"https://api.github.com/users/ankilla/orgs","repos_url":"https://api.github.com/users/ankilla/repos","events_url":"https://api.github.com/users/ankilla/events{/privacy}","received_events_url":"https://api.github.com/users/ankilla/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sailro/Reflexil/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"sailro","id":638167,"avatar_url":"https://avatars.githubusercontent.com/u/638167?v=3","gravatar_id":"","url":"https://api.github.com/users/sailro","html_url":"https://github.com/sailro","followers_url":"https://api.github.com/users/sailro/followers","following_url":"https://api.github.com/users/sailro/following{/other_user}","gists_url":"https://api.github.com/users/sailro/gists{/gist_id}","starred_url":"https://api.github.com/users/sailro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sailro/subscriptions","organizations_url":"https://api.github.com/users/sailro/orgs","repos_url":"https://api.github.com/users/sailro/repos","events_url":"https://api.github.com/users/sailro/events{/privacy}","received_events_url":"https://api.github.com/users/sailro/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-14T08:02:32Z","updated_at":"2015-03-07T18:55:58Z","closed_at":"2015-03-06T16:52:41Z","body":"Hi\r\n\r\nThere is function \r\n<b>\r\nreducehealth(int damage, gameobject killer)\r\n{\r\nhealth = health-damage\r\n}\r\n</b>\r\nthis function is used by both ai & player so i cant make (health=health+damage) which effects both player as well as ai. so I am adding as\r\n<b>\r\nif(gameobject='player')\r\n{\r\ndamage = 0\r\n}\r\n</b>\r\nused op code is as follows\r\n<b>\r\nOpcode : ldc.i4.s\r\nOperand type: ->Parameter reference\r\nOperand : ->(0)damage (system.int32)\r\n</b>\r\nwhen adding this instruction reflexil is throwing error as\r\n<b>\"Reflexil is unable to create this instruction, check coherence between the opcode ad the operand\"</b>\r\n\r\nhow to do this."},"comment":{"url":"https://api.github.com/repos/sailro/Reflexil/issues/comments/77703864","html_url":"https://github.com/sailro/Reflexil/issues/10#issuecomment-77703864","issue_url":"https://api.github.com/repos/sailro/Reflexil/issues/10","id":77703864,"user":{"login":"ankilla","id":10004404,"avatar_url":"https://avatars.githubusercontent.com/u/10004404?v=3","gravatar_id":"","url":"https://api.github.com/users/ankilla","html_url":"https://github.com/ankilla","followers_url":"https://api.github.com/users/ankilla/followers","following_url":"https://api.github.com/users/ankilla/following{/other_user}","gists_url":"https://api.github.com/users/ankilla/gists{/gist_id}","starred_url":"https://api.github.com/users/ankilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankilla/subscriptions","organizations_url":"https://api.github.com/users/ankilla/orgs","repos_url":"https://api.github.com/users/ankilla/repos","events_url":"https://api.github.com/users/ankilla/events{/privacy}","received_events_url":"https://api.github.com/users/ankilla/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T18:55:58Z","updated_at":"2015-03-07T18:55:58Z","body":"Hi,\n\nGot mail that request ticket has been closed.\n\nDoes the issue \"Replace all the code\" has been resolved, when will the new\nversion will be released.\n\nThanks\nAnkilla\n\nOn Fri, Mar 6, 2015 at 10:22 PM, Sebastien Lebreton <\nnotifications@github.com> wrote:\n\n> Closed #10 <https://github.com/sailro/Reflexil/issues/10>.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/sailro/Reflexil/issues/10#event-247624267>.\n>\n"}}