コード例 #1
0
 public static void BadaoActivate()
 {
     BadaoGravesConfig.BadaoActivate();
     BadaoGravesCombo.BadaoActivate();
     BadaoGravesBurst.BadaoActivate();
     BadaoGravesAuto.BadaoActivate();
     BadaoGravesJungle.BadaoActivate();
     Spellbook.OnCastSpell           += Spellbook_OnCastSpell;
     EnsoulSharp.Player.OnIssueOrder += OnIssueOrder;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
ファイル: BadaoGraves.cs プロジェクト: Dekryptor/Port-1
 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;
 }
コード例 #4
0
 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);
 }