Spell Q = new Spell(SpellSlot.Q, 1000); Q.SetSkillshot(0.25f, 70f, 2000f, false, SkillshotType.SkillshotLine);
Spell R = new Spell(SpellSlot.R, 5000); R.SetSkillshot(0.5f, 300f, 2000f, true, SkillshotType.SkillshotCircle);This code will create a new skill-shot spell for the champion's R ability with a range of 5000. The SetSkillshot function is then used to specify the properties of the projectile, including a delay of 0.5 seconds, a radius of 300 units, a speed of 2000 units per second, and a type of SkillshotCircle. In conclusion, the SetSkillshot function is a powerful tool provided by the LeagueSharp.Common library that allows developers to create complex skill-shot spells for League of Legends bots.