{"action":"created","issue":{"url":"https://api.github.com/repos/magarena/magarena/issues/1488","repository_url":"https://api.github.com/repos/magarena/magarena","labels_url":"https://api.github.com/repos/magarena/magarena/issues/1488/labels{/name}","comments_url":"https://api.github.com/repos/magarena/magarena/issues/1488/comments","events_url":"https://api.github.com/repos/magarena/magarena/issues/1488/events","html_url":"https://github.com/magarena/magarena/issues/1488","id":300390231,"number":1488,"title":"Hammer of Nazahn (New Card)","user":{"login":"kelsioboy","id":21207418,"avatar_url":"https://avatars0.githubusercontent.com/u/21207418?v=4","gravatar_id":"","url":"https://api.github.com/users/kelsioboy","html_url":"https://github.com/kelsioboy","followers_url":"https://api.github.com/users/kelsioboy/followers","following_url":"https://api.github.com/users/kelsioboy/following{/other_user}","gists_url":"https://api.github.com/users/kelsioboy/gists{/gist_id}","starred_url":"https://api.github.com/users/kelsioboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelsioboy/subscriptions","organizations_url":"https://api.github.com/users/kelsioboy/orgs","repos_url":"https://api.github.com/users/kelsioboy/repos","events_url":"https://api.github.com/users/kelsioboy/events{/privacy}","received_events_url":"https://api.github.com/users/kelsioboy/received_events","type":"User","site_admin":false},"labels":[{"id":445926979,"url":"https://api.github.com/repos/magarena/magarena/labels/new%20card","name":"new card","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-26T20:48:30Z","updated_at":"2018-04-21T01:08:47Z","closed_at":"2018-04-21T01:08:47Z","author_association":"NONE","body":"name=Hammer of Nazahn\r\nimage=https://magiccards.info/scans/en/c17/51.jpg\r\nimage_updated=2017-10-03\r\nvalue=2.500\r\nrarity=R\r\ntype=Legendary,Artifact\r\nsubtype=Equipment\r\ncost={4}\r\nability=Equipped creature gets +2/+0 and has indestructible.;\\\r\n        Equip {4}\r\ntiming=equipment\r\noracle=Whenever Hammer of Nazahn or another Equipment enters the battlefield under your control, you may attach that Equipment to target creature you control.\\nEquipped creature gets +2/+0 and has indestructible.\\nEquip {4}\r\nrequires_groovy_code\r\n\r\n[\r\n    new OtherEntersBattlefieldTrigger() {\r\n        @Override\r\n        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {\r\n            return otherPermanent.isEquipment() && otherPermanent.isFriend(permanent) ?\r\n                new MagicEvent(\r\n                    permanent,\r\n                new MagicMayChoice(TARGET_CREATURE_YOU_CONTROL),\r\n                    otherPermanent,\r\n                    this,\r\n                    \"PN may\\$ attach RN to target creature\\$ PN controls\"\r\n                ):\r\n                MagicEvent.NONE;\r\n        }\r\n        @Override\r\n        public void executeEvent(final MagicGame game, final MagicEvent event) {\r\n            if (event.isYes()) {\r\n                event.processTargetPermanent(game, {\r\n                    game.doAction(new AttachAction(event.getRefPermanent(), it));\r\n                });\r\n            }\r\n        }\r\n    }\r\n]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magarena/magarena/issues/comments/383256345","html_url":"https://github.com/magarena/magarena/issues/1488#issuecomment-383256345","issue_url":"https://api.github.com/repos/magarena/magarena/issues/1488","id":383256345,"user":{"login":"melvinzhang","id":1620634,"avatar_url":"https://avatars2.githubusercontent.com/u/1620634?v=4","gravatar_id":"","url":"https://api.github.com/users/melvinzhang","html_url":"https://github.com/melvinzhang","followers_url":"https://api.github.com/users/melvinzhang/followers","following_url":"https://api.github.com/users/melvinzhang/following{/other_user}","gists_url":"https://api.github.com/users/melvinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinzhang/subscriptions","organizations_url":"https://api.github.com/users/melvinzhang/orgs","repos_url":"https://api.github.com/users/melvinzhang/repos","events_url":"https://api.github.com/users/melvinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/melvinzhang/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T01:08:47Z","updated_at":"2018-04-21T01:08:47Z","author_association":"CONTRIBUTOR","body":"Merged."}}
{"actor":{"display_login":"melvinzhang"}}