GitHub IssueCommentEvent at 2015-01-01 01:24:57
Repository: HabitRPG/habitrpg
Actor: melissamcewen
Payload: {"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4454","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4454/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4454/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4454/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/4454","id":53188571,"number":4454,"title":"Salt spell doesn't check to see if you have enough Gold","user":{"login":"SabreCat","id":4501321,"avatar_url":"https://avatars.githubusercontent.com/u/4501321?v=3","gravatar_id":"","url":"https://api.github.com/users/SabreCat","html_url":"https://github.com/SabreCat","followers_url":"https://api.github.com/users/SabreCat/followers","following_url":"https://api.github.com/users/SabreCat/following{/other_user}","gists_url":"https://api.github.com/users/SabreCat/gists{/gist_id}","starred_url":"https://api.github.com/users/SabreCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SabreCat/subscriptions","organizations_url":"https://api.github.com/users/SabreCat/orgs","repos_url":"https://api.github.com/users/SabreCat/repos","events_url":"https://api.github.com/users/SabreCat/events{/privacy}","received_events_url":"https://api.github.com/users/SabreCat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/bug","name":"bug","color":"e102d8"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/gold%2Fpoints","name":"gold/points","color":"fef2c0"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/priority+-+minor","name":"priority - minor","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-31T15:30:53Z","updated_at":"2015-01-01T01:24:56Z","closed_at":null,"body":"I bought enough Snowballs to reduce myself to a handful of Silver in the bank, then clicked Salt. The spell went off, removing the snowman from my avatar, and reduced me to -5 Gold!\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/7410374-salt-spell-doesn-t-check-to-see-if-you-have-enough-gold?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/68477812","html_url":"https://github.com/HabitRPG/habitrpg/issues/4454#issuecomment-68477812","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4454","id":68477812,"user":{"login":"melissamcewen","id":1251094,"avatar_url":"https://avatars.githubusercontent.com/u/1251094?v=3","gravatar_id":"","url":"https://api.github.com/users/melissamcewen","html_url":"https://github.com/melissamcewen","followers_url":"https://api.github.com/users/melissamcewen/followers","following_url":"https://api.github.com/users/melissamcewen/following{/other_user}","gists_url":"https://api.github.com/users/melissamcewen/gists{/gist_id}","starred_url":"https://api.github.com/users/melissamcewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melissamcewen/subscriptions","organizations_url":"https://api.github.com/users/melissamcewen/orgs","repos_url":"https://api.github.com/users/melissamcewen/repos","events_url":"https://api.github.com/users/melissamcewen/events{/privacy}","received_events_url":"https://api.github.com/users/melissamcewen/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T01:24:56Z","updated_at":"2015-01-01T01:24:56Z","body":"Thanks @SabreCat , could we implement \r\nUser.user.stats.gp < spell.value\r\nor do you think we need the check still? \r\n      if (spell.key == 'nye' && User.user.stats.gp < spell.value)\r\nand add the salt one to that? If guess in the future if there are plans to have more usage of value for spells, it might make sense to keep the check there?"}}