{"action":"created","comment":{"url":"https://api.github.com/repos/aura-project/aura/pulls/comments/33330269","id":33330269,"diff_hunk":"@@ -0,0 +1,415 @@\n+﻿// Copyright (c) Aura development team - Licensed under GNU GPL\n+// For more information, see license file in the main folders\n+\n+using Aura.Channel.Network.Sending;\n+using Aura.Channel.Skills.Base;\n+using Aura.Channel.Skills.Combat;\n+using Aura.Channel.Skills;\n+using Aura.Channel.World.Entities;\n+using Aura.Mabi.Const;\n+using Aura.Shared.Network;\n+using Aura.Shared.Util;\n+using Aura.Channel.World;\n+using Aura.Data.Database;\n+using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+using System.Threading.Tasks;\n+using System.Threading;\n+using Aura.Mabi.Network;\n+\n+namespace Aura.Channel.Skills.Magic\n+{\n+\t/// <summary>\n+\t/// Handler for Ice Spear\n+\t/// </summary>\n+\t/// <remarks>\n+\t/// Var1: Min Damage\n+\t/// Var2: Max Damage\n+\t/// Var3: ?\n+\t/// Var4: Explosion Range\n+\t/// Var5: Line of Sight Radius\n+\t/// </remarks>\n+\t[Skill(SkillId.IceSpear)]\n+\tpublic class IceSpear : CombatSkillHandler\n+\t{\n+\t\t/// <summary>\n+\t\t/// UseStun for the attacker, Knockback for the target, and Stun for the target - respectively.\n+\t\t/// </summary>\n+\t\tpublic const short UseStun = 500, KnockBack = 40, TargetStun = 2000;\n+\n+\t\t/// <summary>\n+\t\t/// Temporary targets for ice spear chaining\n+\t\t/// </summary>\n+\t\tpublic List<Creature> tmpTargets;\n+\n+\t\t/// <summary>\n+\t\t/// New targets after chaining\n+\t\t/// </summary>\n+\t\tpublic List<Creature> newTargets;\n+\n+\t\t/// <summary>\n+\t\t/// Prepares Ice Spear, also handles Snap Cast cast time modification\n+\t\t/// </summary>\n+\t\t/// <param name=\"creature\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <param name=\"packet\"></param>\n+\t\t/// <returns></returns>\n+\t\tpublic override bool Prepare(Creature creature, Skill skill, Packet packet)\n+\t\t{\n+\t\t\tcreature.StopMove();\n+\n+\t\t\tSend.Effect(creature, Effect.SkillInit, \"icespear\", (short)skill.Info.Id);\n+\n+\t\t\tif (creature.Conditions.Has(ConditionsD.InstanceCasting))\n+\t\t\t{\n+\t\t\t\t// Send Skill State and Change CastEnd since packet handler requires a state change to override the castTime.\n+\t\t\t\tskill.State = SkillState.Prepared;\n+\t\t\t\tskill.CastEnd = DateTime.Now;\n+\n+\t\t\t\tSend.SkillPrepare(creature, skill.Info.Id, 0);\n+\t\t\t}\n+\t\t\telse\n+\t\t\t{\n+\t\t\t\tSend.SkillPrepare(creature, skill.Info.Id, skill.GetCastTime());\n+\t\t\t}\n+\n+\t\t\treturn true;\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Readies the skill, adding the stacks and handling Chain Casting and Snap Cast if possible\n+\t\t/// </summary>\n+\t\t/// <param name=\"creature\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <param name=\"packet\"></param>\n+\t\t/// <returns></returns>\n+\t\tpublic override bool Ready(Creature creature, Skill skill, Packet packet)\n+\t\t{\n+\t\t\tif (skill.Stacks < skill.RankData.StackMax)\n+\t\t\t{\n+\t\t\t\t// Stack\n+\t\t\t\tif ((creature.Skills.Has(SkillId.ChainCasting)) || (creature.Conditions.Has(ConditionsD.InstanceCasting)))\n+\t\t\t\t\tskill.Stacks = skill.RankData.StackMax;\n+\t\t\t\telse\n+\t\t\t\t\tskill.Stacks += 1;\n+\n+\t\t\t\t// Visual Stack Update\n+\t\t\t\tSend.Effect(creature, Effect.StackUpdate, \"icespear\", (byte)skill.Stacks, (byte)0);\n+\n+\t\t\t\t// Casting motion stop?\n+\t\t\t\tSend.Effect(creature, Effect.HoldMagic, \"icespear\", (short)skill.Info.Id);\n+\t\t\t}\n+\n+\t\t\tif (creature.Conditions.Has(ConditionsD.InstanceCasting))\n+\t\t\t\tcreature.Conditions.Deactivate(ConditionsD.InstanceCasting);\n+\n+\t\t\tskill.State = SkillState.Ready;\n+\t\t\tSend.SkillReady(creature, skill.Info.Id);\n+\n+\t\t\treturn true;\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Uses the skill on the initial target, setting up the other processes for Ice Spear\n+\t\t/// </summary>\n+\t\t/// <param name=\"attacker\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <param name=\"targetEntityId\"></param>\n+\t\t/// <returns></returns>\n+\t\tpublic override CombatSkillResult Use(Creature attacker, Skill skill, long targetEntityId)\n+\t\t{\n+\t\t\tvar itarget = attacker.Region.GetCreature(targetEntityId);\n+\t\t\tif (itarget == null)\n+\t\t\t\treturn CombatSkillResult.InvalidTarget;\n+\n+\t\t\tvar itargetPosition = itarget.GetPosition();\n+\t\t\tif (!attacker.GetPosition().InRange(itargetPosition, 2000))\n+\t\t\t\treturn CombatSkillResult.OutOfRange;\n+\n+\t\t\tvar targets = this.GetIceSpearLOSChain(attacker, itarget, (int)skill.RankData.Var5);\n+\n+\t\t\tforeach (var target in targets)\n+\t\t\t{\n+\t\t\t\ttarget.StopMove();\n+\t\t\t\tSend.Effect(target, Effect.IcespearFreeze, (byte)1, (int)14500);\n+\t\t\t}\n+\n+\t\t\tvar aPos = attacker.GetPosition();\n+\t\t\tvar casterProp = new Prop(280, attacker.Region.Id, aPos.X, aPos.Y, 1f);\n+\t\t\tattacker.Region.AddProp(casterProp);\n+\n+\t\t\tSend.Effect(attacker, Effect.UseMagic, \"icespear\", (byte)1, (long)targetEntityId, (short)skill.Info.Id);\n+\n+\t\t\tvar charges = skill.Stacks;\n+\n+\t\t\tSend.SkillUseStun(attacker, skill.Info.Id, UseStun, 1);\n+\n+\t\t\tskill.Stacks = 0;\n+\n+\t\t\t// End the spear\n+\t\t\tSend.Effect(attacker, Effect.StackUpdate, \"icespear\", (byte)0, (byte)0);\n+\n+\t\t\tvar sAction = new AttackerAction(CombatActionType.SpecialHit, attacker, skill.Info.Id, targetEntityId);\n+\t\t\tsAction.Options = AttackerOptions.Result;\n+\n+\t\t\tvar cap = new CombatActionPack(attacker, skill.Info.Id);\n+\t\t\tcap.Add(sAction);\n+\n+\t\t\tforeach (var target in targets)\n+\t\t\t{\n+\t\t\t\tvar tAction = new TargetAction(CombatActionType.None, target, attacker, skill.Info.Id);\n+\t\t\t\tcap.Add(tAction);\n+\t\t\t}\n+\n+\t\t\tcap.Handle();\n+\n+\t\t\tvar t = new Thread(new System.Threading.ThreadStart(() =>\n+\t\t\t{\n+\t\t\t\tthis.IcespearProcessing(attacker, skill, targets, casterProp, 4000, charges);\n+\t\t\t}));\n+\t\t\tt.Start();\n+\n+\t\t\treturn CombatSkillResult.Okay;\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Adds freezing effects, handles explosion, and manages target list\n+\t\t/// </summary>\n+\t\t/// <param name=\"attacker\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <param name=\"targets\"></param>\n+\t\t/// <param name=\"casterProp\"></param>\n+\t\t/// <param name=\"sleep\"></param>\n+\t\t/// <param name=\"stack\"></param>\n+\t\tprotected void IcespearProcessing(Creature attacker, Skill skill, List<Creature> targets, Prop casterProp, int sleep, int stack)\n+\t\t{\n+\t\t\tfloat dmg = (stack == 5 ? 6.5f : stack);\n+\t\t\tfor (int i = stack; i >= 0; i--)\n+\t\t\t{\n+\t\t\t\tforeach (var target in targets)\n+\t\t\t\t{\n+\t\t\t\t\ttarget.StopMove();\n+\t\t\t\t\ttarget.Stun = (short)sleep;\n+\t\t\t\t\tSend.Effect(target, Effect.IcespearFreeze, (byte)1, (int)14500);\n+\t\t\t\t}\n+\t\t\t\tSystem.Threading.Thread.Sleep(sleep);\n+\t\t\t\tnewTargets = new List<Creature>();\n+\t\t\t\tforeach (var target in targets)\n+\t\t\t\t{\n+\t\t\t\t\tthis.Explode(attacker, target, skill, casterProp, dmg);\n+\n+\t\t\t\t\tnewTargets.AddRange(tmpTargets);\n+\t\t\t\t}\n+\t\t\t\ttargets = newTargets.Distinct().Where(c => !c.IsDead).Take(16).ToList();\n+\t\t\t}\n+\t\t\tattacker.Region.RemoveProp(casterProp);\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// The actual attacking portion of the skill.\n+\t\t/// Only allows chaining if the monster dies, also managing the tmpTargets list.\n+\t\t/// </summary>\n+\t\t/// <param name=\"attacker\"></param>\n+\t\t/// <param name=\"target\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <param name=\"casterProp\"></param>\n+\t\t/// <param name=\"dmgModifier\"></param>\n+\t\tprotected void Explode(Creature attacker, Creature target, Skill skill, Prop casterProp, float dmgModifier = 1f)\n+\t\t{\n+\t\t\tSend.Effect(target, Effect.IcespearFreeze, (byte)1, (int)0); // Cancels Freeze\n+\n+\t\t\tvar tPos = target.GetPosition();\n+\t\t\tvar bombProp = new Prop(280, target.Region.Id, tPos.X, tPos.Y, 1f);\n+\t\t\ttarget.Region.AddProp(bombProp);\n+\n+\t\t\tSend.Effect(target, Effect.Thunderbolt, (byte)0);\n+\n+\t\t\tvar sAction = new AttackerAction(CombatActionType.SpecialHit, attacker, skill.Info.Id, SkillHelper.GetAreaTargetID(target.Region, tPos.X, tPos.Y));\n+\t\t\tsAction.PropId = casterProp.EntityId;\n+\t\t\tsAction.Options = AttackerOptions.KnockBackHit1 | AttackerOptions.UseEffect;\n+\n+\t\t\tvar tAction = new TargetAction(CombatActionType.TakeHit, target, attacker, skill.Info.Id);\n+\t\t\ttAction.Options = TargetOptions.Result;\n+\t\t\ttarget.Stun = tAction.Stun = TargetStun;\n+\n+\t\t\tvar rnd = RandomProvider.Get();\n+\n+\t\t\tvar damage = attacker.GetRndMagicDamage(skill, (int)skill.RankData.Var1, ((int)skill.RankData.Var2 + 1)) * dmgModifier;\n+\n+\t\t\tvar critChance = this.GetCritChance(attacker, target, skill);\n+\n+\t\t\t// Critical Hit\n+\t\t\tCriticalHit.Handle(attacker, critChance, ref damage, tAction);\n+\t\t\t// M.Defense and M.Protection\n+\t\t\tSkillHelper.HandleMagicDefenseProtection(target, ref damage);\n+\t\t\t// Mana Shield\n+\t\t\tManaShield.Handle(target, ref damage, tAction);\n+\n+\t\t\ttarget.TakeDamage(tAction.Damage = damage, attacker);\n+\n+\t\t\t// Stablility Update\n+\t\t\ttarget.Stability = Creature.MinStability;\n+\n+\t\t\t// Knock down if dead\n+\t\t\tif (target.IsDead)\n+\t\t\t{\n+\t\t\t\ttAction.Options |= TargetOptions.FinishingKnockDown;\n+\n+\t\t\t\t// Ice Spear Boom with Killing Explosion\n+\t\t\t\tSend.Effect(target, 66); // Note: Making this value Effect.IcespearFreeze crashes the server, even though 66 and Effect.IcespearFreeze are the same value.\n+\t\t\t\ttarget.Region.Broadcast(new Packet(Op.Effect, bombProp.EntityId).PutInt(Effect.IcespearBoom).PutInt(target.Region.Id).PutInt(tPos.X).PutInt(tPos.Y));\n+\n+\t\t\t\t// Chain only when dead\n+\t\t\t\ttmpTargets = new List<Creature>();\n+\t\t\t\tGetIceSpearExplosionChain(attacker, target, tmpTargets, 16, (int)skill.RankData.Var4);\n+\n+\t\t\t\tif (tmpTargets.Contains(target))\n+\t\t\t\t\ttmpTargets.Remove(target);\n+\t\t\t}\n+\t\t\telse\n+\t\t\t{\n+\t\t\t\ttAction.Options |= TargetOptions.KnockDown;\n+\n+\t\t\t\t// Ice Spear Boom without Killing Explosion\n+\t\t\t\tSend.Effect(target, 66); // Note: Making this value Effect.IcespearFreeze crashes the server, even though 66 and Effect.IcespearFreeze are the same.\n+\n+\t\t\t\ttarget.Aggro(attacker);\n+\t\t\t}\n+\n+\t\t\t// React to knockback\n+\t\t\tif (tAction.IsKnockBack)\n+\t\t\t{\n+\t\t\t\tvar newPos = attacker.GetPosition().GetRelative(target.GetPosition(), KnockBack);\n+\n+\t\t\t\tPosition intersection;\n+\t\t\t\tif (target.Region.Collisions.Find(target.GetPosition(), newPos, out intersection))\n+\t\t\t\t\tnewPos = target.GetPosition().GetRelative(intersection, -50);\n+\n+\t\t\t\ttarget.SetPosition(newPos.X, newPos.Y);\n+\t\t\t}\n+\n+\t\t\tvar cap = new CombatActionPack(attacker, skill.Info.Id);\n+\t\t\tcap.Add(sAction, tAction);\n+\n+\t\t\tcap.Handle();\n+\n+\t\t\tsAction = new AttackerAction(CombatActionType.SpecialHit, attacker, skill.Info.Id, SkillHelper.GetAreaTargetID(target.Region, tPos.X, tPos.Y));\n+\t\t\tsAction.PropId = bombProp.EntityId;\n+\t\t\tsAction.Options = AttackerOptions.UseEffect;\n+\n+\t\t\tcap = new CombatActionPack(attacker, skill.Info.Id);\n+\t\t\tcap.Add(sAction);\n+\n+\t\t\tcap.Handle();\n+\n+\t\t\ttarget.Region.RemoveProp(bombProp);\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Handles the line of sight for the initial attack\n+\t\t/// </summary>\n+\t\t/// <param name=\"attacker\"></param>\n+\t\t/// <param name=\"target\"></param>\n+\t\t/// <param name=\"range\"></param>\n+\t\t/// <returns></returns>\n+\t\tpublic List<Creature> GetIceSpearLOSChain(Creature attacker, Creature target, int range)\n+\t\t{\n+\t\t\tvar aPos = attacker.GetPosition();\n+\t\t\tvar tPos = target.GetPosition();\n+\n+\t\t\tvar minX = Math.Min(aPos.X, tPos.X) - range;\n+\t\t\tvar maxX = Math.Max(aPos.X, tPos.X) + range;\n+\n+\t\t\tvar m = ((double)tPos.Y - aPos.Y) / ((double)tPos.X - aPos.X);\n+\t\t\tvar bL = (double)aPos.Y - aPos.X * m - (range / 2);\n+\t\t\tvar bH = bL + range;\n+\n+\t\t\tvar targets = attacker.GetTargetableCreaturesInRange(maxX - minX, false); // Rough filter (Note left from Legacy)\n+\n+\t\t\ttargets = targets.Where(c => \n+\t\t\t{\n+\t\t\t\tvar pos = c.GetPosition();\n+\t\t\t\treturn !c.IsDead && attacker.CanTarget(c) && (minX < pos.X && pos.X < maxX) && ((m * pos.X + bL) < pos.Y && pos.Y < (m * pos.X + bH));\n+\t\t\t}).ToList();\n+\n+\t\t\tif (!targets.Contains(target))\n+\t\t\t\ttargets.Add(target);\n+\n+\t\t\treturn targets.ToList();\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Sets up the explosion chain for when it activates\n+\t\t/// </summary>\n+\t\t/// <param name=\"attacker\"></param>\n+\t\t/// <param name=\"initialTarget\"></param>\n+\t\t/// <param name=\"targets\"></param>\n+\t\t/// <param name=\"maxTargets\"></param>\n+\t\t/// <param name=\"range\"></param>\n+\t\tpublic void GetIceSpearExplosionChain(Creature attacker, Creature initialTarget, List<Creature> targets, int maxTargets, int range)\n+\t\t{\n+\t\t\tvar inrage = attacker.GetTargetableCreaturesAround(initialTarget.GetPosition(), range, false).Where(c => attacker.CanTarget(c) && !c.IsDead).ToList();\n+\n+\t\t\tforeach (var t in inrage)\n+\t\t\t{\n+\t\t\t\tif (targets.Count >= maxTargets)\n+\t\t\t\t\treturn;\n+\t\t\t\tif (!targets.Contains(t))\n+\t\t\t\t\ttargets.Add(t);\n+\t\t\t}\n+\n+\t\t\tforeach (var t in inrage)\n+\t\t\t{\n+\t\t\t\tif (targets.Count >= maxTargets)\n+\t\t\t\t\treturn;\n+\t\t\t\tif (!targets.Contains(t))\n+\t\t\t\t\tGetIceSpearExplosionChain(attacker, t, targets, maxTargets, range);\n+\t\t\t}\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Completes the skill.\n+\t\t/// </summary>\n+\t\t/// <param name=\"creature\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <param name=\"packet\"></param>\n+\t\tpublic override void Complete(Creature creature, Skill skill, Packet packet)\n+\t\t{\n+\t\t\tSend.SkillComplete(creature, skill.Info.Id);\n+\n+\t\t\tif (skill.Stacks > 0)\n+\t\t\t\tSend.SkillComplete(creature, skill.Info.Id);\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Cancels the skill, removing any effects with it.\n+\t\t/// </summary>\n+\t\t/// <param name=\"creature\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\tpublic override void Cancel(Creature creature, Skill skill)\n+\t\t{\n+\t\t\tskill.Stacks = 0;\n+\n+\t\t\t// Visual Stack Update\n+\t\t\tSend.Effect(creature, Effect.StackUpdate, \"icespear\", (byte)skill.Stacks, (byte)0);\n+\t\t\t// Cancel Motion\n+\t\t\tSend.MotionCancel2(creature, (byte)1);\n+\t\t}\n+\n+\t\t/// <summary>\n+\t\t/// Returns the chance for a critical hit to happen.\n+\t\t/// </summary>\n+\t\t/// <param name=\"attacker\"></param>\n+\t\t/// <param name=\"target\"></param>\n+\t\t/// <param name=\"skill\"></param>\n+\t\t/// <returns></returns>\n+\t\tprotected float GetCritChance(Creature attacker, Creature target, Skill skill)\n+\t\t{\n+\t\t\tvar result = attacker.GetTotalCritChance(target.Protection);","path":"src/ChannelServer/Skills/Magic/IceSpear.cs","position":410,"original_position":410,"commit_id":"9ac95e5dc7e11746eb8f023fd6a6416028898683","original_commit_id":"9ac95e5dc7e11746eb8f023fd6a6416028898683","user":{"login":"exectails","id":5593920,"avatar_url":"https://avatars.githubusercontent.com/u/5593920?v=3","gravatar_id":"","url":"https://api.github.com/users/exectails","html_url":"https://github.com/exectails","followers_url":"https://api.github.com/users/exectails/followers","following_url":"https://api.github.com/users/exectails/following{/other_user}","gists_url":"https://api.github.com/users/exectails/gists{/gist_id}","starred_url":"https://api.github.com/users/exectails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exectails/subscriptions","organizations_url":"https://api.github.com/users/exectails/orgs","repos_url":"https://api.github.com/users/exectails/repos","events_url":"https://api.github.com/users/exectails/events{/privacy}","received_events_url":"https://api.github.com/users/exectails/received_events","type":"User","site_admin":false},"body":"GetTotalCritChance is for melee, I doubt it's the same for magic o.o","created_at":"2015-06-26T05:53:49Z","updated_at":"2015-06-26T05:53:49Z","html_url":"https://github.com/aura-project/aura/pull/174#discussion_r33330269","pull_request_url":"https://api.github.com/repos/aura-project/aura/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/aura-project/aura/pulls/comments/33330269"},"html":{"href":"https://github.com/aura-project/aura/pull/174#discussion_r33330269"},"pull_request":{"href":"https://api.github.com/repos/aura-project/aura/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/aura-project/aura/pulls/174","id":38611300,"html_url":"https://github.com/aura-project/aura/pull/174","diff_url":"https://github.com/aura-project/aura/pull/174.diff","patch_url":"https://github.com/aura-project/aura/pull/174.patch","issue_url":"https://api.github.com/repos/aura-project/aura/issues/174","number":174,"state":"open","locked":false,"title":"Added Ice Spear","user":{"login":"xeroplz","id":8395686,"avatar_url":"https://avatars.githubusercontent.com/u/8395686?v=3","gravatar_id":"","url":"https://api.github.com/users/xeroplz","html_url":"https://github.com/xeroplz","followers_url":"https://api.github.com/users/xeroplz/followers","following_url":"https://api.github.com/users/xeroplz/following{/other_user}","gists_url":"https://api.github.com/users/xeroplz/gists{/gist_id}","starred_url":"https://api.github.com/users/xeroplz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeroplz/subscriptions","organizations_url":"https://api.github.com/users/xeroplz/orgs","repos_url":"https://api.github.com/users/xeroplz/repos","events_url":"https://api.github.com/users/xeroplz/events{/privacy}","received_events_url":"https://api.github.com/users/xeroplz/received_events","type":"User","site_admin":false},"body":"Added Ice Spear Skill","created_at":"2015-06-26T02:01:08Z","updated_at":"2015-06-26T05:53:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5b26bc5a9c43253a710db76baba032261cf546f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aura-project/aura/pulls/174/commits","review_comments_url":"https://api.github.com/repos/aura-project/aura/pulls/174/comments","review_comment_url":"https://api.github.com/repos/aura-project/aura/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aura-project/aura/issues/174/comments","statuses_url":"https://api.github.com/repos/aura-project/aura/statuses/9ac95e5dc7e11746eb8f023fd6a6416028898683","head":{"label":"xeroplz:master","ref":"master","sha":"9ac95e5dc7e11746eb8f023fd6a6416028898683","user":{"login":"xeroplz","id":8395686,"avatar_url":"https://avatars.githubusercontent.com/u/8395686?v=3","gravatar_id":"","url":"https://api.github.com/users/xeroplz","html_url":"https://github.com/xeroplz","followers_url":"https://api.github.com/users/xeroplz/followers","following_url":"https://api.github.com/users/xeroplz/following{/other_user}","gists_url":"https://api.github.com/users/xeroplz/gists{/gist_id}","starred_url":"https://api.github.com/users/xeroplz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeroplz/subscriptions","organizations_url":"https://api.github.com/users/xeroplz/orgs","repos_url":"https://api.github.com/users/xeroplz/repos","events_url":"https://api.github.com/users/xeroplz/events{/privacy}","received_events_url":"https://api.github.com/users/xeroplz/received_events","type":"User","site_admin":false},"repo":{"id":38084920,"name":"aura","full_name":"xeroplz/aura","owner":{"login":"xeroplz","id":8395686,"avatar_url":"https://avatars.githubusercontent.com/u/8395686?v=3","gravatar_id":"","url":"https://api.github.com/users/xeroplz","html_url":"https://github.com/xeroplz","followers_url":"https://api.github.com/users/xeroplz/followers","following_url":"https://api.github.com/users/xeroplz/following{/other_user}","gists_url":"https://api.github.com/users/xeroplz/gists{/gist_id}","starred_url":"https://api.github.com/users/xeroplz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xeroplz/subscriptions","organizations_url":"https://api.github.com/users/xeroplz/orgs","repos_url":"https://api.github.com/users/xeroplz/repos","events_url":"https://api.github.com/users/xeroplz/events{/privacy}","received_events_url":"https://api.github.com/users/xeroplz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xeroplz/aura","description":"Open-source server emulator","fork":true,"url":"https://api.github.com/repos/xeroplz/aura","forks_url":"https://api.github.com/repos/xeroplz/aura/forks","keys_url":"https://api.github.com/repos/xeroplz/aura/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xeroplz/aura/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xeroplz/aura/teams","hooks_url":"https://api.github.com/repos/xeroplz/aura/hooks","issue_events_url":"https://api.github.com/repos/xeroplz/aura/issues/events{/number}","events_url":"https://api.github.com/repos/xeroplz/aura/events","assignees_url":"https://api.github.com/repos/xeroplz/aura/assignees{/user}","branches_url":"https://api.github.com/repos/xeroplz/aura/branches{/branch}","tags_url":"https://api.github.com/repos/xeroplz/aura/tags","blobs_url":"https://api.github.com/repos/xeroplz/aura/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xeroplz/aura/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xeroplz/aura/git/refs{/sha}","trees_url":"https://api.github.com/repos/xeroplz/aura/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xeroplz/aura/statuses/{sha}","languages_url":"https://api.github.com/repos/xeroplz/aura/languages","stargazers_url":"https://api.github.com/repos/xeroplz/aura/stargazers","contributors_url":"https://api.github.com/repos/xeroplz/aura/contributors","subscribers_url":"https://api.github.com/repos/xeroplz/aura/subscribers","subscription_url":"https://api.github.com/repos/xeroplz/aura/subscription","commits_url":"https://api.github.com/repos/xeroplz/aura/commits{/sha}","git_commits_url":"https://api.github.com/repos/xeroplz/aura/git/commits{/sha}","comments_url":"https://api.github.com/repos/xeroplz/aura/comments{/number}","issue_comment_url":"https://api.github.com/repos/xeroplz/aura/issues/comments{/number}","contents_url":"https://api.github.com/repos/xeroplz/aura/contents/{+path}","compare_url":"https://api.github.com/repos/xeroplz/aura/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xeroplz/aura/merges","archive_url":"https://api.github.com/repos/xeroplz/aura/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xeroplz/aura/downloads","issues_url":"https://api.github.com/repos/xeroplz/aura/issues{/number}","pulls_url":"https://api.github.com/repos/xeroplz/aura/pulls{/number}","milestones_url":"https://api.github.com/repos/xeroplz/aura/milestones{/number}","notifications_url":"https://api.github.com/repos/xeroplz/aura/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xeroplz/aura/labels{/name}","releases_url":"https://api.github.com/repos/xeroplz/aura/releases{/id}","created_at":"2015-06-26T01:56:45Z","updated_at":"2015-06-26T01:56:47Z","pushed_at":"2015-06-26T02:00:07Z","git_url":"git://github.com/xeroplz/aura.git","ssh_url":"git@github.com:xeroplz/aura.git","clone_url":"https://github.com/xeroplz/aura.git","svn_url":"https://github.com/xeroplz/aura","homepage":"http://aura-project.org","size":67674,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aura-project:master","ref":"master","sha":"8bd5978353725e1338beedefcfed878df9cd44b9","user":{"login":"aura-project","id":5599478,"avatar_url":"https://avatars.githubusercontent.com/u/5599478?v=3","gravatar_id":"","url":"https://api.github.com/users/aura-project","html_url":"https://github.com/aura-project","followers_url":"https://api.github.com/users/aura-project/followers","following_url":"https://api.github.com/users/aura-project/following{/other_user}","gists_url":"https://api.github.com/users/aura-project/gists{/gist_id}","starred_url":"https://api.github.com/users/aura-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aura-project/subscriptions","organizations_url":"https://api.github.com/users/aura-project/orgs","repos_url":"https://api.github.com/users/aura-project/repos","events_url":"https://api.github.com/users/aura-project/events{/privacy}","received_events_url":"https://api.github.com/users/aura-project/received_events","type":"Organization","site_admin":false},"repo":{"id":17092480,"name":"aura","full_name":"aura-project/aura","owner":{"login":"aura-project","id":5599478,"avatar_url":"https://avatars.githubusercontent.com/u/5599478?v=3","gravatar_id":"","url":"https://api.github.com/users/aura-project","html_url":"https://github.com/aura-project","followers_url":"https://api.github.com/users/aura-project/followers","following_url":"https://api.github.com/users/aura-project/following{/other_user}","gists_url":"https://api.github.com/users/aura-project/gists{/gist_id}","starred_url":"https://api.github.com/users/aura-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aura-project/subscriptions","organizations_url":"https://api.github.com/users/aura-project/orgs","repos_url":"https://api.github.com/users/aura-project/repos","events_url":"https://api.github.com/users/aura-project/events{/privacy}","received_events_url":"https://api.github.com/users/aura-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aura-project/aura","description":"Open-source server emulator","fork":false,"url":"https://api.github.com/repos/aura-project/aura","forks_url":"https://api.github.com/repos/aura-project/aura/forks","keys_url":"https://api.github.com/repos/aura-project/aura/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aura-project/aura/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aura-project/aura/teams","hooks_url":"https://api.github.com/repos/aura-project/aura/hooks","issue_events_url":"https://api.github.com/repos/aura-project/aura/issues/events{/number}","events_url":"https://api.github.com/repos/aura-project/aura/events","assignees_url":"https://api.github.com/repos/aura-project/aura/assignees{/user}","branches_url":"https://api.github.com/repos/aura-project/aura/branches{/branch}","tags_url":"https://api.github.com/repos/aura-project/aura/tags","blobs_url":"https://api.github.com/repos/aura-project/aura/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aura-project/aura/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aura-project/aura/git/refs{/sha}","trees_url":"https://api.github.com/repos/aura-project/aura/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aura-project/aura/statuses/{sha}","languages_url":"https://api.github.com/repos/aura-project/aura/languages","stargazers_url":"https://api.github.com/repos/aura-project/aura/stargazers","contributors_url":"https://api.github.com/repos/aura-project/aura/contributors","subscribers_url":"https://api.github.com/repos/aura-project/aura/subscribers","subscription_url":"https://api.github.com/repos/aura-project/aura/subscription","commits_url":"https://api.github.com/repos/aura-project/aura/commits{/sha}","git_commits_url":"https://api.github.com/repos/aura-project/aura/git/commits{/sha}","comments_url":"https://api.github.com/repos/aura-project/aura/comments{/number}","issue_comment_url":"https://api.github.com/repos/aura-project/aura/issues/comments{/number}","contents_url":"https://api.github.com/repos/aura-project/aura/contents/{+path}","compare_url":"https://api.github.com/repos/aura-project/aura/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aura-project/aura/merges","archive_url":"https://api.github.com/repos/aura-project/aura/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aura-project/aura/downloads","issues_url":"https://api.github.com/repos/aura-project/aura/issues{/number}","pulls_url":"https://api.github.com/repos/aura-project/aura/pulls{/number}","milestones_url":"https://api.github.com/repos/aura-project/aura/milestones{/number}","notifications_url":"https://api.github.com/repos/aura-project/aura/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aura-project/aura/labels{/name}","releases_url":"https://api.github.com/repos/aura-project/aura/releases{/id}","created_at":"2014-02-22T19:22:35Z","updated_at":"2015-06-24T07:17:40Z","pushed_at":"2015-06-26T02:01:08Z","git_url":"git://github.com/aura-project/aura.git","ssh_url":"git@github.com:aura-project/aura.git","clone_url":"https://github.com/aura-project/aura.git","svn_url":"https://github.com/aura-project/aura","homepage":"http://aura-project.org","size":67674,"stargazers_count":25,"watchers_count":25,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":9,"forks":42,"open_issues":9,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aura-project/aura/pulls/174"},"html":{"href":"https://github.com/aura-project/aura/pull/174"},"issue":{"href":"https://api.github.com/repos/aura-project/aura/issues/174"},"comments":{"href":"https://api.github.com/repos/aura-project/aura/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/aura-project/aura/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/aura-project/aura/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aura-project/aura/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/aura-project/aura/statuses/9ac95e5dc7e11746eb8f023fd6a6416028898683"}}}}