GitHub PullRequestReviewCommentEvent at 2014-02-20 17:21:25
Repository: thbattle
Actor: zhykzhykzhyk
Payload: {"comment":{"url":"https://api.github.com/repos/feisuzhu/thbattle/pulls/comments/9914800","id":9914800,"diff_hunk":"@@ -789,29 +829,29 @@ def apply_action(self):\n         pindian_card = {src: None, tgt: None}\n \n         with InputTransaction('Pindian', pl) as trans:\n-            while pl:\n-                p, rst = ask_for_action(self, pl, ('cards', 'showncards'), (), trans)\n-                if not p: break\n-                (card, ), _ = rst\n-                pindian_card[p] = card\n-                g.emit_event('pindian_card_chosen', (p, card))\n-\n-            # not chosen\n             for p in pl:\n-                pindian_card[p] = card = random_choose_card([p.cards, p.showncards])\n+                cards = user_choose_cards(self, p, ('cards', 'showncards'), trans)","path":"src/gamepack/thb/actions.py","position":249,"original_position":249,"commit_id":"202898598fdec260e701439237a58b5ba6f0f37d","original_commit_id":"202898598fdec260e701439237a58b5ba6f0f37d","user":{"login":"zhykzhykzhyk","id":3477952,"avatar_url":"https://gravatar.com/avatar/5ea6164b846e7604b3796d670567dbd5?d=https%3A%2F%2Fidenticons.github.com%2Fa95d723a3828d4187d98475b7f552041.png&r=x","gravatar_id":"5ea6164b846e7604b3796d670567dbd5","url":"https://api.github.com/users/zhykzhykzhyk","html_url":"https://github.com/zhykzhykzhyk","followers_url":"https://api.github.com/users/zhykzhykzhyk/followers","following_url":"https://api.github.com/users/zhykzhykzhyk/following{/other_user}","gists_url":"https://api.github.com/users/zhykzhykzhyk/gists{/gist_id}","starred_url":"https://api.github.com/users/zhykzhykzhyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhykzhykzhyk/subscriptions","organizations_url":"https://api.github.com/users/zhykzhykzhyk/orgs","repos_url":"https://api.github.com/users/zhykzhykzhyk/repos","events_url":"https://api.github.com/users/zhykzhykzhyk/events{/privacy}","received_events_url":"https://api.github.com/users/zhykzhykzhyk/received_events","type":"User","site_admin":false},"body":"明牌一直是明的……\r\n\r\n\r\nOn Thu, Feb 20, 2014 at 10:39 PM, Proton <notifications@github.com> wrote:\r\n\r\n> In src/gamepack/thb/actions.py:\r\n>\r\n> >              for p in pl:\r\n> > -                pindian_card[p] = card = random_choose_card([p.cards, p.showncards])\r\n> > +                cards = user_choose_cards(self, p, ('cards', 'showncards'), trans)\r\n>\r\n> 拼点是同时亮出啊，那先选后选没影响啊，那干什么不一块选？\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub<https://github.com/feisuzhu/thbattle/pull/57/files#r9907784>\r\n> .\r\n>","created_at":"2014-02-20T17:21:25Z","updated_at":"2014-02-20T17:21:25Z","html_url":"https://github.com/feisuzhu/thbattle/pull/57#discussion_r9914800","pull_request_url":"https://api.github.com/repos/feisuzhu/thbattle/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/feisuzhu/thbattle/pulls/comments/9914800"},"html":{"href":"https://github.com/feisuzhu/thbattle/pull/57#discussion_r9914800"},"pull_request":{"href":"https://api.github.com/repos/feisuzhu/thbattle/pulls/57"}}}}