{"action":"created","issue":{"url":"https://api.github.com/repos/WayofTime/BloodMagic/issues/974","repository_url":"https://api.github.com/repos/WayofTime/BloodMagic","labels_url":"https://api.github.com/repos/WayofTime/BloodMagic/issues/974/labels{/name}","comments_url":"https://api.github.com/repos/WayofTime/BloodMagic/issues/974/comments","events_url":"https://api.github.com/repos/WayofTime/BloodMagic/issues/974/events","html_url":"https://github.com/WayofTime/BloodMagic/issues/974","id":188997429,"number":974,"title":"Question about Addon Development","user":{"login":"WolfieWaffle","id":8770485,"avatar_url":"https://avatars.githubusercontent.com/u/8770485?v=3","gravatar_id":"","url":"https://api.github.com/users/WolfieWaffle","html_url":"https://github.com/WolfieWaffle","followers_url":"https://api.github.com/users/WolfieWaffle/followers","following_url":"https://api.github.com/users/WolfieWaffle/following{/other_user}","gists_url":"https://api.github.com/users/WolfieWaffle/gists{/gist_id}","starred_url":"https://api.github.com/users/WolfieWaffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WolfieWaffle/subscriptions","organizations_url":"https://api.github.com/users/WolfieWaffle/orgs","repos_url":"https://api.github.com/users/WolfieWaffle/repos","events_url":"https://api.github.com/users/WolfieWaffle/events{/privacy}","received_events_url":"https://api.github.com/users/WolfieWaffle/received_events","type":"User","site_admin":false},"labels":[{"id":53061433,"url":"https://api.github.com/repos/WayofTime/BloodMagic/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-13T21:47:58Z","updated_at":"2016-11-13T22:01:07Z","closed_at":null,"body":"I am trying to create an addon for Blood Magic to make it more dangerous to use. I want it so that once the player starts using Blood Magic, say maybe once you have any blood in Soul network, your LP starts to drain at a slow passive rate, and you will have major consequences if you reach 0.\r\n\r\nMy question is about how Blood Magic is set up. I'm still relatively new to modding, but I understand OOP well enough, so I wanted to know how Blood Magic works in the broad sense.\r\n\r\nFirst of all, is this possible with your current setup? Is this a possible addon to make?\r\n\r\nSecondly, if so where do you store LP and how to you modify it. Is it player NBT, is there some class per world that handles all of it?\r\n\r\nAnd finally, how would I mark a player as 'has started Blood Magic' so that I know when to start draining LP?\r\n\r\n---\r\n\r\nI hope I have done this right, I'm not exactly sure where to as these types of questions but good luck o further development."},"comment":{"url":"https://api.github.com/repos/WayofTime/BloodMagic/issues/comments/260216147","html_url":"https://github.com/WayofTime/BloodMagic/issues/974#issuecomment-260216147","issue_url":"https://api.github.com/repos/WayofTime/BloodMagic/issues/974","id":260216147,"user":{"login":"WolfieWaffle","id":8770485,"avatar_url":"https://avatars.githubusercontent.com/u/8770485?v=3","gravatar_id":"","url":"https://api.github.com/users/WolfieWaffle","html_url":"https://github.com/WolfieWaffle","followers_url":"https://api.github.com/users/WolfieWaffle/followers","following_url":"https://api.github.com/users/WolfieWaffle/following{/other_user}","gists_url":"https://api.github.com/users/WolfieWaffle/gists{/gist_id}","starred_url":"https://api.github.com/users/WolfieWaffle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WolfieWaffle/subscriptions","organizations_url":"https://api.github.com/users/WolfieWaffle/orgs","repos_url":"https://api.github.com/users/WolfieWaffle/repos","events_url":"https://api.github.com/users/WolfieWaffle/events{/privacy}","received_events_url":"https://api.github.com/users/WolfieWaffle/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T22:01:07Z","updated_at":"2016-11-13T22:01:07Z","body":"OK, thanks, that's easier than I thought. My only question is what NetworkHelper instance do I use? Is there one per world, or do I have to pass it in with a constructor, or can I just create a new instance in the class I use?"}}
{"actor":{"display_login":"WolfieWaffle"}}