{"action":"closed","issue":{"url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2311","repository_url":"https://api.github.com/repos/DarkstarProject/darkstar","labels_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2311/labels{/name}","comments_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2311/comments","events_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2311/events","html_url":"https://github.com/DarkstarProject/darkstar/issues/2311","id":112948488,"number":2311,"title":"BLM category 1 merits: unable to fetch","user":{"login":"nesstea","id":1483915,"avatar_url":"https://avatars.githubusercontent.com/u/1483915?v=3","gravatar_id":"","url":"https://api.github.com/users/nesstea","html_url":"https://github.com/nesstea","followers_url":"https://api.github.com/users/nesstea/followers","following_url":"https://api.github.com/users/nesstea/following{/other_user}","gists_url":"https://api.github.com/users/nesstea/gists{/gist_id}","starred_url":"https://api.github.com/users/nesstea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nesstea/subscriptions","organizations_url":"https://api.github.com/users/nesstea/orgs","repos_url":"https://api.github.com/users/nesstea/repos","events_url":"https://api.github.com/users/nesstea/events{/privacy}","received_events_url":"https://api.github.com/users/nesstea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DarkstarProject/darkstar/labels/High%20Priority","name":"High Priority","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-23T04:19:03Z","updated_at":"2016-05-12T01:59:19Z","closed_at":"2016-05-12T01:59:19Z","body":"After doing some tests on damage calculations, I discovered that the BLM cat 1 merits aren't functioning with the player:getMerit() command. \r\n\r\nWith an @test command, I found that this is returning 0.\r\n```\r\nplayer:PrintToPlayer(\"BLM Merit - THU potency:   \" .. player:getMerit(MERIT_LIGHTNING_MAGIC_POTENCY));\r\n```\r\nI verified that the status.lua and the merits.h are correctly named the same. They are in the database correctly as well. magic.lua is defining the merits in the beginning by the array blmMerit and is attempting to add the merit rank or MAB to the formula.\r\n```\r\n        local mab = caster:getMod(MOD_MATT) + bonusmab;\r\n        if (spell:getElement() > 0 and spell:getElement() <= 6) then\r\n            mab = mab + caster:getMerit(blmMerit[spell:getElement()]);\r\n        end\r\n```"}}