{"action":"opened","issue":{"url":"https://api.github.com/repos/purebe/BattleMage/issues/1","labels_url":"https://api.github.com/repos/purebe/BattleMage/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/purebe/BattleMage/issues/1/comments","events_url":"https://api.github.com/repos/purebe/BattleMage/issues/1/events","html_url":"https://github.com/purebe/BattleMage/issues/1","id":86447966,"number":1,"title":"Illumination needs to be rewritten","user":{"login":"purebe","id":2124687,"avatar_url":"https://avatars.githubusercontent.com/u/2124687?v=3","gravatar_id":"","url":"https://api.github.com/users/purebe","html_url":"https://github.com/purebe","followers_url":"https://api.github.com/users/purebe/followers","following_url":"https://api.github.com/users/purebe/following{/other_user}","gists_url":"https://api.github.com/users/purebe/gists{/gist_id}","starred_url":"https://api.github.com/users/purebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purebe/subscriptions","organizations_url":"https://api.github.com/users/purebe/orgs","repos_url":"https://api.github.com/users/purebe/repos","events_url":"https://api.github.com/users/purebe/events{/privacy}","received_events_url":"https://api.github.com/users/purebe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-09T04:51:20Z","updated_at":"2015-06-09T04:51:20Z","closed_at":null,"body":"The Illumination Spell needs to be rewritten to be efficient.  It should probably have a maximum number of light sources created (I'm thinking less than 10-15 per cast) and the area needs to be decided by trial and error to see what gives the best all around results (consider: caves, open areas at night, forested areas at night, inside of small and large buildings.)\r\n\r\nIf we can work out the 3d-shape tracing algorithm efficiently than we can use that to place randomly along the floors and possibly walls.  If not, a random ray-tracing method is probably the next best bet."}}