public static void BadaoActivate() { BadaoGravesConfig.BadaoActivate(); BadaoGravesCombo.BadaoActivate(); BadaoGravesBurst.BadaoActivate(); BadaoGravesAuto.BadaoActivate(); BadaoGravesJungle.BadaoActivate(); Spellbook.OnCastSpell += Spellbook_OnCastSpell; EnsoulSharp.Player.OnIssueOrder += OnIssueOrder; }
public static void BadaoActivate() { BadaoGravesConfig.BadaoActivate(); BadaoGravesCombo.BadaoActivate(); BadaoGravesBurst.BadaoActivate(); BadaoGravesAuto.BadaoActivate(); BadaoGravesJungle.BadaoActivate(); Spellbook.OnCastSpell += Spellbook_OnCastSpell; Obj_AI_Base.OnIssueOrder += Obj_AI_Base_OnIssueOrder; }
public static void BadaoActivate() { BadaoGravesConfig.BadaoActivate(); BadaoGravesCombo.BadaoActivate(); BadaoGravesBurst.BadaoActivate(); BadaoGravesAuto.BadaoActivate(); BadaoGravesJungle.BadaoActivate(); Spellbook.OnCastSpell += Spellbook_OnCastSpell; EloBuddy.Player.OnIssueOrder += Obj_AI_Base_OnIssueOrder; //Game.OnUpdate += Game_OnUpdate; }
private static void OnIssueOrder(AIBaseClient sender, PlayerIssueOrderEventArgs args) { if (BadaoMainVariables.Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.None && !BurstKey.GetValue <KeyBind>().Active) { return; } if (!sender.IsMe) { return; } if (args.Order != GameObjectOrder.AttackUnit) { return; } if (args.Target == null) { return; } if (!(args.Target is AIBaseClient)) { return; } if (Player.Distance(args.Target.Position) > Player.BoundingRadius + Player.AttackRange + args.Target.BoundingRadius - 20) { args.Process = false; return; } if (!BadaoGravesHelper.CanAttack()) { args.Process = false; return; } BadaoGravesCombo.OnIssueOrder(sender, args); BadaoGravesBurst.OnIssueOrder(sender, args); BadaoGravesJungle.OnIssueOrder(sender, args); }