private void castItemsFull(Obj_AI_Base target) { if (target.Distance(player) < 500) { sumItems.cast(SummonerItems.ItemIds.Ghostblade); sumItems.castIgnite((Obj_AI_Hero)target); } if (target.Distance(player) < 500) { sumItems.cast(SummonerItems.ItemIds.BotRK, target); sumItems.cast(SummonerItems.ItemIds.Cutlass, target); } if (target.Distance(player.ServerPosition) < (400 + target.BoundingRadius - 20)) { sumItems.cast(SummonerItems.ItemIds.Tiamat); sumItems.cast(SummonerItems.ItemIds.Hydra); } }
public void doCombo(AIHeroClient target) { castOmen(target); if (!isHammer) { if (castEonQ != null) { castEonSpell(target); } //DO QE combo first if (E1.IsReady() && Q1.IsReady() && gotManaFor(true, false, true)) { castQEPred(target); } else if (Q1.IsReady() && gotManaFor(true)) { castQPred(target); } else if (W1.IsReady() && gotManaFor(false, true) && targetInRange(getClosestEnem(), 650f)) { W1.Cast(); sumItems.cast(SummonerItems.ItemIds.Ghostblade); }//and wont die wih 1 AA else if (!Q1.IsReady() && !W1.IsReady() && R1.IsReady() && hammerWillKill(target) && hamQCDRem == 0 && hamECDRem == 0)// will need to add check if other form skills ready { if (player.CountEnemiesInRange(700) > 0 && !Q1.IsReady()) { R1.Cast(); } } } else { if ((!Q2.IsReady() && R2.IsReady() && player.Distance(getClosestEnem()) > 350) || player.Distance(getClosestEnem()) > 700) { sumItems.cast(SummonerItems.ItemIds.Ghostblade); R2.Cast(); } if (Q2.IsReady() && gotManaFor(true) && targetInRange(target, Q2.Range) && player.Distance(target) > 300) { sumItems.cast(SummonerItems.ItemIds.Ghostblade); Q2.Cast(target); } if (E2.IsReady() && gotManaFor(false, false, true) && targetInRange(target, E2.Range) && shouldIKnockDatMadaFaka(target)) { E2.Cast(target); } if (W2.IsReady() && gotManaFor(false, true) && targetInRange(target, W2.Range)) { W2.Cast(); } } }
public static void doCombo(Obj_AI_Hero target) { Q.SetSkillshot(getNewQSpeed(), 50f, float.MaxValue, false, SkillshotType.SkillshotLine); if (target == null) { return; } useHydra(target); if (target.Distance(Player) < 500) { sumItems.cast(SummonerItems.ItemIds.Ghostblade); } if (target.Distance(Player) < 500 && (Player.Health / Player.MaxHealth) * 100 < 85) { sumItems.cast(SummonerItems.ItemIds.BotRK, target); } if (YasuoSharp.Config.Item("smartR").GetValue <bool>() && R.IsReady()) { useRSmart(); } if (YasuoSharp.Config.Item("smartW").GetValue <bool>()) { putWallBehind(target); } if (YasuoSharp.Config.Item("useEWall").GetValue <bool>()) { eBehindWall(target); } if (!useESmart(target)) { //Console.WriteLine("test"); List <Obj_AI_Hero> ignore = new List <Obj_AI_Hero>(); ignore.Add(target); Obj_AI_Base bestos = null; gapCloseE(target.Position.To2D()); } useQSmart(target); }
public void useItems(AIHeroClient target) { if (target.Distance(player) < 500) { sumItems.cast(SummonerItems.ItemIds.Ghostblade); } if (target.Distance(player) < 300) { sumItems.cast(SummonerItems.ItemIds.Hydra); } if (target.Distance(player) < 300) { sumItems.cast(SummonerItems.ItemIds.Tiamat); } if (target.Distance(player) < 300) { sumItems.cast(SummonerItems.ItemIds.Cutlass, target); } if (target.Distance(player) < 500 && (player.Health / player.MaxHealth) * 100 < 85) { sumItems.cast(SummonerItems.ItemIds.BotRK, target); } }