{"action":"created","comment":{"url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/comments/192815348","pull_request_review_id":125664002,"id":192815348,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjgxNTM0OA==","diff_hunk":"@@ -0,0 +1,64 @@\n+LinkLuaModifier(\"modifier_item_golden_arrow\", \"items/item_golden_arrow.lua\", LUA_MODIFIER_MOTION_NONE)\n+\n+item_golden_arrow = class({\n+\tGetIntrinsicModifierName = function() return \"modifier_item_golden_arrow\" end\n+})\n+\n+modifier_item_golden_arrow = class({\n+\tIsHidden = function() return false end,\n+\tGetAttributes = function() return MODIFIER_ATTRIBUTE_MULTIPLE end,\n+\tIsPurgable = function() return false end,\n+\tRemoveOnDeath = function() return false end,\n+})\n+\n+function modifier_item_golden_arrow:DeclareFunctions()\n+\treturn {\n+\t\tMODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE,\n+\t\tMODIFIER_PROPERTY_PHYSICAL_ARMOR_BONUS,\n+\t}\n+end\n+\n+function modifier_item_golden_arrow:GetModifierPreAttack_BonusDamage()\n+\treturn self:GetAbility():GetSpecialValueFor(\"bonus_damage\")\n+end\n+\n+function modifier_item_golden_arrow:GetModifierPhysicalArmorBonus()\n+\treturn self:GetAbility():GetSpecialValueFor(\"bonus_armor\")\n+end\n+\n+if IsServer() then\n+\tfunction item_golden_arrow:OnSpellStart()\n+\t\tlocal caster = self:GetCaster()\n+\t\tlocal stacks = caster:GetModifierStackCount(\"modifier_item_golden_arrow\", self)\n+\t\tlocal coof = stacks*self:GetSpecialValueFor(\"gold_per_stack\")\n+\t\tlocal base_gold = (self:GetSpecialValueFor(\"base_gold\")+(caster:GetLevel()*30))\n+\t\tlocal stats_debuff_per_stack = stacks*self:GetSpecialValueFor(\"stats_debuff_per_stack\")\n+\t\tlocal damage = (caster:GetModifierStackCount(\"modifier_item_golden_arrow\", self)) * (self:GetSpecialValueFor(\"damage_per_stack\"))\n+\t\tlocal cooldown = self:GetCooldown(self:GetLevel() ) + ( stacks * (self:GetSpecialValueFor(\"cooldown_per_stack\")))\n+\n+\t\tcaster:EmitSound(\"Arena.Items.GoldenArrow.Activate\")\n+\n+\t\tModifyStacksLua(self, caster,caster, \"modifier_item_golden_arrow\", 1)\n+\n+\t\tParticleManager:SetParticleControlEnt(ParticleManager:CreateParticle(\"particles/arena/items_fx/coffee_bean_refresh.vpcf\", PATTACH_ABSORIGIN_FOLLOW, caster), 0, caster, PATTACH_POINT_FOLLOW, \"attach_hitloc\", caster:GetAbsOrigin(), true)\n+\n+\t\tif caster:IsRealHero() then\n+\t\t\tif caster:GetStrength() and caster:GetAgility() and caster:GetIntellect() > 5 then\n+\t\t\t\tcaster:ModifyStrength(stats_debuff_per_stack)\n+\t\t\t\tcaster:ModifyAgility(stats_debuff_per_stack)\n+\t\t\t\tcaster:ModifyIntellect(stats_debuff_per_stack)\n+\n+\t\t\t\tGold:ModifyGold(caster, base_gold)","path":"game/scripts/vscripts/items/item_golden_arrow.lua","position":51,"original_position":51,"commit_id":"47db68bb134494ec8cce8888346d77661957c20a","original_commit_id":"47db68bb134494ec8cce8888346d77661957c20a","user":{"login":"shimaosu","id":36099666,"node_id":"MDQ6VXNlcjM2MDk5NjY2","avatar_url":"https://avatars0.githubusercontent.com/u/36099666?v=4","gravatar_id":"","url":"https://api.github.com/users/shimaosu","html_url":"https://github.com/shimaosu","followers_url":"https://api.github.com/users/shimaosu/followers","following_url":"https://api.github.com/users/shimaosu/following{/other_user}","gists_url":"https://api.github.com/users/shimaosu/gists{/gist_id}","starred_url":"https://api.github.com/users/shimaosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimaosu/subscriptions","organizations_url":"https://api.github.com/users/shimaosu/orgs","repos_url":"https://api.github.com/users/shimaosu/repos","events_url":"https://api.github.com/users/shimaosu/events{/privacy}","received_events_url":"https://api.github.com/users/shimaosu/received_events","type":"User","site_admin":false},"body":"cause it is gold that caster loses when dies","created_at":"2018-06-04T17:10:04Z","updated_at":"2018-06-04T17:10:04Z","html_url":"https://github.com/ark120202/angel-arena-black-star/pull/163#discussion_r192815348","pull_request_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/comments/192815348"},"html":{"href":"https://github.com/ark120202/angel-arena-black-star/pull/163#discussion_r192815348"},"pull_request":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163"}},"in_reply_to_id":192809091},"pull_request":{"url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163","id":192393134,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMzkzMTM0","html_url":"https://github.com/ark120202/angel-arena-black-star/pull/163","diff_url":"https://github.com/ark120202/angel-arena-black-star/pull/163.diff","patch_url":"https://github.com/ark120202/angel-arena-black-star/pull/163.patch","issue_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues/163","number":163,"state":"open","locked":false,"title":"New Item: Golden Arrow","user":{"login":"shimaosu","id":36099666,"node_id":"MDQ6VXNlcjM2MDk5NjY2","avatar_url":"https://avatars0.githubusercontent.com/u/36099666?v=4","gravatar_id":"","url":"https://api.github.com/users/shimaosu","html_url":"https://github.com/shimaosu","followers_url":"https://api.github.com/users/shimaosu/followers","following_url":"https://api.github.com/users/shimaosu/following{/other_user}","gists_url":"https://api.github.com/users/shimaosu/gists{/gist_id}","starred_url":"https://api.github.com/users/shimaosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimaosu/subscriptions","organizations_url":"https://api.github.com/users/shimaosu/orgs","repos_url":"https://api.github.com/users/shimaosu/repos","events_url":"https://api.github.com/users/shimaosu/events{/privacy}","received_events_url":"https://api.github.com/users/shimaosu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-04T12:34:45Z","updated_at":"2018-06-04T17:10:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ecc165d21ab58f0857692b3061c7aec3ede3e07","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163/commits","review_comments_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163/comments","review_comment_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues/163/comments","statuses_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/statuses/47db68bb134494ec8cce8888346d77661957c20a","head":{"label":"shimaosu:feature/goldenarrow","ref":"feature/goldenarrow","sha":"47db68bb134494ec8cce8888346d77661957c20a","user":{"login":"shimaosu","id":36099666,"node_id":"MDQ6VXNlcjM2MDk5NjY2","avatar_url":"https://avatars0.githubusercontent.com/u/36099666?v=4","gravatar_id":"","url":"https://api.github.com/users/shimaosu","html_url":"https://github.com/shimaosu","followers_url":"https://api.github.com/users/shimaosu/followers","following_url":"https://api.github.com/users/shimaosu/following{/other_user}","gists_url":"https://api.github.com/users/shimaosu/gists{/gist_id}","starred_url":"https://api.github.com/users/shimaosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimaosu/subscriptions","organizations_url":"https://api.github.com/users/shimaosu/orgs","repos_url":"https://api.github.com/users/shimaosu/repos","events_url":"https://api.github.com/users/shimaosu/events{/privacy}","received_events_url":"https://api.github.com/users/shimaosu/received_events","type":"User","site_admin":false},"repo":{"id":136022238,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYwMjIyMzg=","name":"angel-arena-black-star","full_name":"shimaosu/angel-arena-black-star","owner":{"login":"shimaosu","id":36099666,"node_id":"MDQ6VXNlcjM2MDk5NjY2","avatar_url":"https://avatars0.githubusercontent.com/u/36099666?v=4","gravatar_id":"","url":"https://api.github.com/users/shimaosu","html_url":"https://github.com/shimaosu","followers_url":"https://api.github.com/users/shimaosu/followers","following_url":"https://api.github.com/users/shimaosu/following{/other_user}","gists_url":"https://api.github.com/users/shimaosu/gists{/gist_id}","starred_url":"https://api.github.com/users/shimaosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimaosu/subscriptions","organizations_url":"https://api.github.com/users/shimaosu/orgs","repos_url":"https://api.github.com/users/shimaosu/repos","events_url":"https://api.github.com/users/shimaosu/events{/privacy}","received_events_url":"https://api.github.com/users/shimaosu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shimaosu/angel-arena-black-star","description":null,"fork":true,"url":"https://api.github.com/repos/shimaosu/angel-arena-black-star","forks_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/forks","keys_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/teams","hooks_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/hooks","issue_events_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/issues/events{/number}","events_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/events","assignees_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/assignees{/user}","branches_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/branches{/branch}","tags_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/tags","blobs_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/git/refs{/sha}","trees_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/statuses/{sha}","languages_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/languages","stargazers_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/stargazers","contributors_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/contributors","subscribers_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/subscribers","subscription_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/subscription","commits_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/commits{/sha}","git_commits_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/git/commits{/sha}","comments_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/comments{/number}","issue_comment_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/issues/comments{/number}","contents_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/contents/{+path}","compare_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/merges","archive_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/downloads","issues_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/issues{/number}","pulls_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/pulls{/number}","milestones_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/milestones{/number}","notifications_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/labels{/name}","releases_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/releases{/id}","deployments_url":"https://api.github.com/repos/shimaosu/angel-arena-black-star/deployments","created_at":"2018-06-04T12:32:14Z","updated_at":"2018-06-04T12:32:42Z","pushed_at":"2018-06-04T15:14:31Z","git_url":"git://github.com/shimaosu/angel-arena-black-star.git","ssh_url":"git@github.com:shimaosu/angel-arena-black-star.git","clone_url":"https://github.com/shimaosu/angel-arena-black-star.git","svn_url":"https://github.com/shimaosu/angel-arena-black-star","homepage":"http://www.dota-aabs.com/","size":557420,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"ark120202:develop","ref":"develop","sha":"9275de6d48ca0ecd333c26c87ef10e7cd0186fbc","user":{"login":"ark120202","id":11750369,"node_id":"MDQ6VXNlcjExNzUwMzY5","avatar_url":"https://avatars0.githubusercontent.com/u/11750369?v=4","gravatar_id":"","url":"https://api.github.com/users/ark120202","html_url":"https://github.com/ark120202","followers_url":"https://api.github.com/users/ark120202/followers","following_url":"https://api.github.com/users/ark120202/following{/other_user}","gists_url":"https://api.github.com/users/ark120202/gists{/gist_id}","starred_url":"https://api.github.com/users/ark120202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ark120202/subscriptions","organizations_url":"https://api.github.com/users/ark120202/orgs","repos_url":"https://api.github.com/users/ark120202/repos","events_url":"https://api.github.com/users/ark120202/events{/privacy}","received_events_url":"https://api.github.com/users/ark120202/received_events","type":"User","site_admin":false},"repo":{"id":91339706,"node_id":"MDEwOlJlcG9zaXRvcnk5MTMzOTcwNg==","name":"angel-arena-black-star","full_name":"ark120202/angel-arena-black-star","owner":{"login":"ark120202","id":11750369,"node_id":"MDQ6VXNlcjExNzUwMzY5","avatar_url":"https://avatars0.githubusercontent.com/u/11750369?v=4","gravatar_id":"","url":"https://api.github.com/users/ark120202","html_url":"https://github.com/ark120202","followers_url":"https://api.github.com/users/ark120202/followers","following_url":"https://api.github.com/users/ark120202/following{/other_user}","gists_url":"https://api.github.com/users/ark120202/gists{/gist_id}","starred_url":"https://api.github.com/users/ark120202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ark120202/subscriptions","organizations_url":"https://api.github.com/users/ark120202/orgs","repos_url":"https://api.github.com/users/ark120202/repos","events_url":"https://api.github.com/users/ark120202/events{/privacy}","received_events_url":"https://api.github.com/users/ark120202/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ark120202/angel-arena-black-star","description":null,"fork":false,"url":"https://api.github.com/repos/ark120202/angel-arena-black-star","forks_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/forks","keys_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/teams","hooks_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/hooks","issue_events_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues/events{/number}","events_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/events","assignees_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/assignees{/user}","branches_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/branches{/branch}","tags_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/tags","blobs_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/git/refs{/sha}","trees_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/statuses/{sha}","languages_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/languages","stargazers_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/stargazers","contributors_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/contributors","subscribers_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/subscribers","subscription_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/subscription","commits_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/commits{/sha}","git_commits_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/git/commits{/sha}","comments_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/comments{/number}","issue_comment_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues/comments{/number}","contents_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/contents/{+path}","compare_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/merges","archive_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/downloads","issues_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues{/number}","pulls_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls{/number}","milestones_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/milestones{/number}","notifications_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/labels{/name}","releases_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/releases{/id}","deployments_url":"https://api.github.com/repos/ark120202/angel-arena-black-star/deployments","created_at":"2017-05-15T13:14:54Z","updated_at":"2018-06-04T16:26:59Z","pushed_at":"2018-06-04T16:26:58Z","git_url":"git://github.com/ark120202/angel-arena-black-star.git","ssh_url":"git@github.com:ark120202/angel-arena-black-star.git","clone_url":"https://github.com/ark120202/angel-arena-black-star.git","svn_url":"https://github.com/ark120202/angel-arena-black-star","homepage":"http://www.dota-aabs.com/","size":557329,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":8,"open_issues":35,"watchers":7,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163"},"html":{"href":"https://github.com/ark120202/angel-arena-black-star/pull/163"},"issue":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues/163"},"comments":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/issues/163/comments"},"review_comments":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163/comments"},"review_comment":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/pulls/163/commits"},"statuses":{"href":"https://api.github.com/repos/ark120202/angel-arena-black-star/statuses/47db68bb134494ec8cce8888346d77661957c20a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"shimaosu"}}