{"action":"created","comment":{"url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments/43500904","id":43500904,"diff_hunk":"@@ -0,0 +1,38 @@\n+---------------------------------------------\r\n+--  Exuviation\r\n+--  Family: Wamoura\r\n+--  Type: Healing and Full Erase\r\n+--  Range: Self\r\n+--  Notes: Erases all negative effects on the mob and heals an amount for each removed.\r\n+---------------------------------------------\r\n+\r\n+require(\"scripts/globals/settings\");\r\n+require(\"scripts/globals/status\");\r\n+require(\"scripts/globals/monstertpmoves\");\r\n+\r\n+---------------------------------------------\r\n+\r\n+function onMobSkillCheck(target,mob,skill)\r\n+    return 0;\r\n+end;\r\n+\r\n+function onMobWeaponSkill(target, mob, skill)\r\n+    local heal = 300;\r\n+    local effectCount = 0;\r\n+    local dispel = mob:eraseStatusEffect();\r\n+    \r\n+    while (dispel ~= EFFECT_NONE)\r\n+    do\r\n+        effectCount = effectCount + 1;\r\n+        dispel = mob:eraseStatusEffect();\r\n+    end;\r\n+\r\n+    if (effectCount > 0) then\r\n+        skill:setMsg(MSG_SELF_HEAL);\r\n+        mob:addHP(heal * effectCount);\r\n+        return (heal * effectCount);\r","path":"scripts/globals/mobskills/Exuviation.lua","position":33,"original_position":33,"commit_id":"1be269199b7fc10b0b769925abaa52198eb3ac87","original_commit_id":"1be269199b7fc10b0b769925abaa52198eb3ac87","user":{"login":"bendangelo","id":674090,"avatar_url":"https://avatars.githubusercontent.com/u/674090?v=3","gravatar_id":"","url":"https://api.github.com/users/bendangelo","html_url":"https://github.com/bendangelo","followers_url":"https://api.github.com/users/bendangelo/followers","following_url":"https://api.github.com/users/bendangelo/following{/other_user}","gists_url":"https://api.github.com/users/bendangelo/gists{/gist_id}","starred_url":"https://api.github.com/users/bendangelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendangelo/subscriptions","organizations_url":"https://api.github.com/users/bendangelo/orgs","repos_url":"https://api.github.com/users/bendangelo/repos","events_url":"https://api.github.com/users/bendangelo/events{/privacy}","received_events_url":"https://api.github.com/users/bendangelo/received_events","type":"User","site_admin":false},"body":"Please use `return MobHealMove(mob, heal * effectCount)`. This will prevent over healing.","created_at":"2015-10-30T13:24:24Z","updated_at":"2015-10-30T13:24:24Z","html_url":"https://github.com/DarkstarProject/darkstar/pull/2352#discussion_r43500904","pull_request_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352","_links":{"self":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments/43500904"},"html":{"href":"https://github.com/DarkstarProject/darkstar/pull/2352#discussion_r43500904"},"pull_request":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352"}}},"pull_request":{"url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352","id":49242413,"html_url":"https://github.com/DarkstarProject/darkstar/pull/2352","diff_url":"https://github.com/DarkstarProject/darkstar/pull/2352.diff","patch_url":"https://github.com/DarkstarProject/darkstar/pull/2352.patch","issue_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2352","number":2352,"state":"open","locked":false,"title":"[MobSkills] Exuviation and Magma Fan","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},"body":"I don't know what the exact damage or heal values should be. These seem significant enough from my memory.","created_at":"2015-10-30T08:25:03Z","updated_at":"2015-10-30T13:24:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9115d406eeb3b331b62cb34577700a148319cb8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352/commits","review_comments_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352/comments","review_comment_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2352/comments","statuses_url":"https://api.github.com/repos/DarkstarProject/darkstar/statuses/1be269199b7fc10b0b769925abaa52198eb3ac87","head":{"label":"nesstea:CheeseHoarder","ref":"CheeseHoarder","sha":"1be269199b7fc10b0b769925abaa52198eb3ac87","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},"repo":{"id":32499948,"name":"darkstar","full_name":"nesstea/darkstar","owner":{"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},"private":false,"html_url":"https://github.com/nesstea/darkstar","description":"FFXI Server Emulator","fork":true,"url":"https://api.github.com/repos/nesstea/darkstar","forks_url":"https://api.github.com/repos/nesstea/darkstar/forks","keys_url":"https://api.github.com/repos/nesstea/darkstar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nesstea/darkstar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nesstea/darkstar/teams","hooks_url":"https://api.github.com/repos/nesstea/darkstar/hooks","issue_events_url":"https://api.github.com/repos/nesstea/darkstar/issues/events{/number}","events_url":"https://api.github.com/repos/nesstea/darkstar/events","assignees_url":"https://api.github.com/repos/nesstea/darkstar/assignees{/user}","branches_url":"https://api.github.com/repos/nesstea/darkstar/branches{/branch}","tags_url":"https://api.github.com/repos/nesstea/darkstar/tags","blobs_url":"https://api.github.com/repos/nesstea/darkstar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nesstea/darkstar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nesstea/darkstar/git/refs{/sha}","trees_url":"https://api.github.com/repos/nesstea/darkstar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nesstea/darkstar/statuses/{sha}","languages_url":"https://api.github.com/repos/nesstea/darkstar/languages","stargazers_url":"https://api.github.com/repos/nesstea/darkstar/stargazers","contributors_url":"https://api.github.com/repos/nesstea/darkstar/contributors","subscribers_url":"https://api.github.com/repos/nesstea/darkstar/subscribers","subscription_url":"https://api.github.com/repos/nesstea/darkstar/subscription","commits_url":"https://api.github.com/repos/nesstea/darkstar/commits{/sha}","git_commits_url":"https://api.github.com/repos/nesstea/darkstar/git/commits{/sha}","comments_url":"https://api.github.com/repos/nesstea/darkstar/comments{/number}","issue_comment_url":"https://api.github.com/repos/nesstea/darkstar/issues/comments{/number}","contents_url":"https://api.github.com/repos/nesstea/darkstar/contents/{+path}","compare_url":"https://api.github.com/repos/nesstea/darkstar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nesstea/darkstar/merges","archive_url":"https://api.github.com/repos/nesstea/darkstar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nesstea/darkstar/downloads","issues_url":"https://api.github.com/repos/nesstea/darkstar/issues{/number}","pulls_url":"https://api.github.com/repos/nesstea/darkstar/pulls{/number}","milestones_url":"https://api.github.com/repos/nesstea/darkstar/milestones{/number}","notifications_url":"https://api.github.com/repos/nesstea/darkstar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nesstea/darkstar/labels{/name}","releases_url":"https://api.github.com/repos/nesstea/darkstar/releases{/id}","created_at":"2015-03-19T04:02:23Z","updated_at":"2015-04-23T16:02:24Z","pushed_at":"2015-10-30T09:45:40Z","git_url":"git://github.com/nesstea/darkstar.git","ssh_url":"git@github.com:nesstea/darkstar.git","clone_url":"https://github.com/nesstea/darkstar.git","svn_url":"https://github.com/nesstea/darkstar","homepage":"https://forums.dspt.info/index.php","size":154020,"stargazers_count":1,"watchers_count":1,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"DarkstarProject:master","ref":"master","sha":"d45db767f3f843705e90b041ac8cd2d7aa0c5f27","user":{"login":"DarkstarProject","id":6373714,"avatar_url":"https://avatars.githubusercontent.com/u/6373714?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkstarProject","html_url":"https://github.com/DarkstarProject","followers_url":"https://api.github.com/users/DarkstarProject/followers","following_url":"https://api.github.com/users/DarkstarProject/following{/other_user}","gists_url":"https://api.github.com/users/DarkstarProject/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkstarProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkstarProject/subscriptions","organizations_url":"https://api.github.com/users/DarkstarProject/orgs","repos_url":"https://api.github.com/users/DarkstarProject/repos","events_url":"https://api.github.com/users/DarkstarProject/events{/privacy}","received_events_url":"https://api.github.com/users/DarkstarProject/received_events","type":"Organization","site_admin":false},"repo":{"id":15814642,"name":"darkstar","full_name":"DarkstarProject/darkstar","owner":{"login":"DarkstarProject","id":6373714,"avatar_url":"https://avatars.githubusercontent.com/u/6373714?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkstarProject","html_url":"https://github.com/DarkstarProject","followers_url":"https://api.github.com/users/DarkstarProject/followers","following_url":"https://api.github.com/users/DarkstarProject/following{/other_user}","gists_url":"https://api.github.com/users/DarkstarProject/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkstarProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkstarProject/subscriptions","organizations_url":"https://api.github.com/users/DarkstarProject/orgs","repos_url":"https://api.github.com/users/DarkstarProject/repos","events_url":"https://api.github.com/users/DarkstarProject/events{/privacy}","received_events_url":"https://api.github.com/users/DarkstarProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DarkstarProject/darkstar","description":"FFXI Server Emulator","fork":false,"url":"https://api.github.com/repos/DarkstarProject/darkstar","forks_url":"https://api.github.com/repos/DarkstarProject/darkstar/forks","keys_url":"https://api.github.com/repos/DarkstarProject/darkstar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DarkstarProject/darkstar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DarkstarProject/darkstar/teams","hooks_url":"https://api.github.com/repos/DarkstarProject/darkstar/hooks","issue_events_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/events{/number}","events_url":"https://api.github.com/repos/DarkstarProject/darkstar/events","assignees_url":"https://api.github.com/repos/DarkstarProject/darkstar/assignees{/user}","branches_url":"https://api.github.com/repos/DarkstarProject/darkstar/branches{/branch}","tags_url":"https://api.github.com/repos/DarkstarProject/darkstar/tags","blobs_url":"https://api.github.com/repos/DarkstarProject/darkstar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DarkstarProject/darkstar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DarkstarProject/darkstar/git/refs{/sha}","trees_url":"https://api.github.com/repos/DarkstarProject/darkstar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DarkstarProject/darkstar/statuses/{sha}","languages_url":"https://api.github.com/repos/DarkstarProject/darkstar/languages","stargazers_url":"https://api.github.com/repos/DarkstarProject/darkstar/stargazers","contributors_url":"https://api.github.com/repos/DarkstarProject/darkstar/contributors","subscribers_url":"https://api.github.com/repos/DarkstarProject/darkstar/subscribers","subscription_url":"https://api.github.com/repos/DarkstarProject/darkstar/subscription","commits_url":"https://api.github.com/repos/DarkstarProject/darkstar/commits{/sha}","git_commits_url":"https://api.github.com/repos/DarkstarProject/darkstar/git/commits{/sha}","comments_url":"https://api.github.com/repos/DarkstarProject/darkstar/comments{/number}","issue_comment_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/comments{/number}","contents_url":"https://api.github.com/repos/DarkstarProject/darkstar/contents/{+path}","compare_url":"https://api.github.com/repos/DarkstarProject/darkstar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DarkstarProject/darkstar/merges","archive_url":"https://api.github.com/repos/DarkstarProject/darkstar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DarkstarProject/darkstar/downloads","issues_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues{/number}","pulls_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls{/number}","milestones_url":"https://api.github.com/repos/DarkstarProject/darkstar/milestones{/number}","notifications_url":"https://api.github.com/repos/DarkstarProject/darkstar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DarkstarProject/darkstar/labels{/name}","releases_url":"https://api.github.com/repos/DarkstarProject/darkstar/releases{/id}","created_at":"2014-01-11T01:31:17Z","updated_at":"2015-10-29T23:44:45Z","pushed_at":"2015-10-30T10:00:48Z","git_url":"git://github.com/DarkstarProject/darkstar.git","ssh_url":"git@github.com:DarkstarProject/darkstar.git","clone_url":"https://github.com/DarkstarProject/darkstar.git","svn_url":"https://github.com/DarkstarProject/darkstar","homepage":"https://forums.dspt.info/index.php","size":233288,"stargazers_count":142,"watchers_count":142,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":267,"mirror_url":null,"open_issues_count":189,"forks":267,"open_issues":189,"watchers":142,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352"},"html":{"href":"https://github.com/DarkstarProject/darkstar/pull/2352"},"issue":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2352"},"comments":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/issues/2352/comments"},"review_comments":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352/comments"},"review_comment":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/2352/commits"},"statuses":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/statuses/1be269199b7fc10b0b769925abaa52198eb3ac87"}}}}