{"action":"created","comment":{"url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments/26457469","id":26457469,"diff_hunk":"@@ -408,18 +408,18 @@ void CAIMobDummy::ActionDropItems()\n \t\t\t\tblueutils::TryLearningSpells(PChar, m_PMob);\r\n \t\t\t\tm_PMob->m_UsedSkillIds.clear();\r\n \r\n-\t\t\t\tif(m_PMob->m_giveExp)\r\n-\t\t\t\t{\r\n-\t                charutils::DistributeExperiencePoints(PChar, m_PMob);\r\n-\t\t\t\t}\r\n+                if(m_PMob->m_giveExp && m_PMob->getMobMod(MOBMOD_EXP_BONUS) >= 0)\r","path":"src/map/ai/ai_mob_dummy.cpp","position":8,"original_position":8,"commit_id":"5895fa82fc80cf4d920c1b4835809aff6f562b5b","original_commit_id":"5895fa82fc80cf4d920c1b4835809aff6f562b5b","user":{"login":"TeoTwawki","id":6871475,"avatar_url":"https://avatars.githubusercontent.com/u/6871475?v=3","gravatar_id":"","url":"https://api.github.com/users/TeoTwawki","html_url":"https://github.com/TeoTwawki","followers_url":"https://api.github.com/users/TeoTwawki/followers","following_url":"https://api.github.com/users/TeoTwawki/following{/other_user}","gists_url":"https://api.github.com/users/TeoTwawki/gists{/gist_id}","starred_url":"https://api.github.com/users/TeoTwawki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeoTwawki/subscriptions","organizations_url":"https://api.github.com/users/TeoTwawki/orgs","repos_url":"https://api.github.com/users/TeoTwawki/repos","events_url":"https://api.github.com/users/TeoTwawki/events{/privacy}","received_events_url":"https://api.github.com/users/TeoTwawki/received_events","type":"User","site_admin":false},"body":"is m_PMob->getMobMod(MOBMOD_EXP_BONUS)  null instead of zero when they don't have it?","created_at":"2015-03-16T03:03:11Z","updated_at":"2015-03-16T03:03:11Z","html_url":"https://github.com/DarkstarProject/darkstar/pull/1081#discussion_r26457469","pull_request_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081","_links":{"self":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments/26457469"},"html":{"href":"https://github.com/DarkstarProject/darkstar/pull/1081#discussion_r26457469"},"pull_request":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081"}}},"pull_request":{"url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081","id":31210218,"html_url":"https://github.com/DarkstarProject/darkstar/pull/1081","diff_url":"https://github.com/DarkstarProject/darkstar/pull/1081.diff","patch_url":"https://github.com/DarkstarProject/darkstar/pull/1081.patch","issue_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/1081","number":1081,"state":"open","locked":false,"title":"Added ability to disabled all exp and loot via mobmods. @gedads said he needed to disable those on some mobs.","user":{"login":"TeoTwawki","id":6871475,"avatar_url":"https://avatars.githubusercontent.com/u/6871475?v=3","gravatar_id":"","url":"https://api.github.com/users/TeoTwawki","html_url":"https://github.com/TeoTwawki","followers_url":"https://api.github.com/users/TeoTwawki/followers","following_url":"https://api.github.com/users/TeoTwawki/following{/other_user}","gists_url":"https://api.github.com/users/TeoTwawki/gists{/gist_id}","starred_url":"https://api.github.com/users/TeoTwawki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeoTwawki/subscriptions","organizations_url":"https://api.github.com/users/TeoTwawki/orgs","repos_url":"https://api.github.com/users/TeoTwawki/repos","events_url":"https://api.github.com/users/TeoTwawki/events{/privacy}","received_events_url":"https://api.github.com/users/TeoTwawki/received_events","type":"User","site_admin":false},"body":"https://github.com/DarkstarProject/darkstar/pull/1081/files?w=1\r\n\r\n@gedads this\r\n```lua\r\nfunction onMobInitialize(mob)\r\n    mob:setMobMod(MOBMOD_GIL_MAX, -1); -- disables gil\r\n    mob:setMobMod(MOBMOD_EXP_BONUS, -1); -- disables exp\r\n    mob:setMobMod(MOBMOD_NO_DROPS, 1); -- disables all loot, even seals\r\nend;\r\n```\r\nwill do what you needed.","created_at":"2015-03-16T00:00:41Z","updated_at":"2015-03-16T03:03:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"096cd4ffc253374df452ef6ca08a710614dffe8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081/commits","review_comments_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081/comments","review_comment_url":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DarkstarProject/darkstar/issues/1081/comments","statuses_url":"https://api.github.com/repos/DarkstarProject/darkstar/statuses/5895fa82fc80cf4d920c1b4835809aff6f562b5b","head":{"label":"TeoTwawki:master","ref":"master","sha":"5895fa82fc80cf4d920c1b4835809aff6f562b5b","user":{"login":"TeoTwawki","id":6871475,"avatar_url":"https://avatars.githubusercontent.com/u/6871475?v=3","gravatar_id":"","url":"https://api.github.com/users/TeoTwawki","html_url":"https://github.com/TeoTwawki","followers_url":"https://api.github.com/users/TeoTwawki/followers","following_url":"https://api.github.com/users/TeoTwawki/following{/other_user}","gists_url":"https://api.github.com/users/TeoTwawki/gists{/gist_id}","starred_url":"https://api.github.com/users/TeoTwawki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeoTwawki/subscriptions","organizations_url":"https://api.github.com/users/TeoTwawki/orgs","repos_url":"https://api.github.com/users/TeoTwawki/repos","events_url":"https://api.github.com/users/TeoTwawki/events{/privacy}","received_events_url":"https://api.github.com/users/TeoTwawki/received_events","type":"User","site_admin":false},"repo":{"id":17575092,"name":"darkstar","full_name":"TeoTwawki/darkstar","owner":{"login":"TeoTwawki","id":6871475,"avatar_url":"https://avatars.githubusercontent.com/u/6871475?v=3","gravatar_id":"","url":"https://api.github.com/users/TeoTwawki","html_url":"https://github.com/TeoTwawki","followers_url":"https://api.github.com/users/TeoTwawki/followers","following_url":"https://api.github.com/users/TeoTwawki/following{/other_user}","gists_url":"https://api.github.com/users/TeoTwawki/gists{/gist_id}","starred_url":"https://api.github.com/users/TeoTwawki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeoTwawki/subscriptions","organizations_url":"https://api.github.com/users/TeoTwawki/orgs","repos_url":"https://api.github.com/users/TeoTwawki/repos","events_url":"https://api.github.com/users/TeoTwawki/events{/privacy}","received_events_url":"https://api.github.com/users/TeoTwawki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TeoTwawki/darkstar","description":"FFXI Server Emulator","fork":true,"url":"https://api.github.com/repos/TeoTwawki/darkstar","forks_url":"https://api.github.com/repos/TeoTwawki/darkstar/forks","keys_url":"https://api.github.com/repos/TeoTwawki/darkstar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeoTwawki/darkstar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeoTwawki/darkstar/teams","hooks_url":"https://api.github.com/repos/TeoTwawki/darkstar/hooks","issue_events_url":"https://api.github.com/repos/TeoTwawki/darkstar/issues/events{/number}","events_url":"https://api.github.com/repos/TeoTwawki/darkstar/events","assignees_url":"https://api.github.com/repos/TeoTwawki/darkstar/assignees{/user}","branches_url":"https://api.github.com/repos/TeoTwawki/darkstar/branches{/branch}","tags_url":"https://api.github.com/repos/TeoTwawki/darkstar/tags","blobs_url":"https://api.github.com/repos/TeoTwawki/darkstar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeoTwawki/darkstar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeoTwawki/darkstar/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeoTwawki/darkstar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeoTwawki/darkstar/statuses/{sha}","languages_url":"https://api.github.com/repos/TeoTwawki/darkstar/languages","stargazers_url":"https://api.github.com/repos/TeoTwawki/darkstar/stargazers","contributors_url":"https://api.github.com/repos/TeoTwawki/darkstar/contributors","subscribers_url":"https://api.github.com/repos/TeoTwawki/darkstar/subscribers","subscription_url":"https://api.github.com/repos/TeoTwawki/darkstar/subscription","commits_url":"https://api.github.com/repos/TeoTwawki/darkstar/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeoTwawki/darkstar/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeoTwawki/darkstar/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeoTwawki/darkstar/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeoTwawki/darkstar/contents/{+path}","compare_url":"https://api.github.com/repos/TeoTwawki/darkstar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeoTwawki/darkstar/merges","archive_url":"https://api.github.com/repos/TeoTwawki/darkstar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeoTwawki/darkstar/downloads","issues_url":"https://api.github.com/repos/TeoTwawki/darkstar/issues{/number}","pulls_url":"https://api.github.com/repos/TeoTwawki/darkstar/pulls{/number}","milestones_url":"https://api.github.com/repos/TeoTwawki/darkstar/milestones{/number}","notifications_url":"https://api.github.com/repos/TeoTwawki/darkstar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeoTwawki/darkstar/labels{/name}","releases_url":"https://api.github.com/repos/TeoTwawki/darkstar/releases{/id}","created_at":"2014-03-09T22:16:50Z","updated_at":"2015-03-16T02:52:19Z","pushed_at":"2015-03-16T02:52:18Z","git_url":"git://github.com/TeoTwawki/darkstar.git","ssh_url":"git@github.com:TeoTwawki/darkstar.git","clone_url":"https://github.com/TeoTwawki/darkstar.git","svn_url":"https://github.com/TeoTwawki/darkstar","homepage":"https://forums.dspt.info/index.php","size":103715,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"DarkstarProject:master","ref":"master","sha":"c1e420c6d2f38c6e1abf45598ad9552d43770f51","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-03-16T01:29:43Z","pushed_at":"2015-03-16T01:29:42Z","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":166365,"stargazers_count":88,"watchers_count":88,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":132,"mirror_url":null,"open_issues_count":82,"forks":132,"open_issues":82,"watchers":88,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081"},"html":{"href":"https://github.com/DarkstarProject/darkstar/pull/1081"},"issue":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/issues/1081"},"comments":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/issues/1081/comments"},"review_comments":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081/comments"},"review_comment":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/pulls/1081/commits"},"statuses":{"href":"https://api.github.com/repos/DarkstarProject/darkstar/statuses/5895fa82fc80cf4d920c1b4835809aff6f562b5b"}}}}