Exemplo n.º 1
0
 protected override void OnBeforeAttack(myOrbwalker.BeforeAttackEventArgs args)
 {
     if (args.Target is Obj_AI_Hero && args.Target.IsValidTarget() && args.Target.IsEnemy)
     {
         if ((myOrbwalker.ActiveMode == myOrbwalker.OrbwalkingMode.Combo && config.Item("UseWCombo").GetValue<bool>() ||
             myOrbwalker.ActiveMode == myOrbwalker.OrbwalkingMode.Harass && config.Item("UseWHarass").GetValue<bool>()) &&
             !Player.IsWindingUp &&
             W.IsReady())
         {
             W.Cast();
         }
     }
     if (args.Target is Obj_AI_Minion)
     {
         if (myOrbwalker.ActiveMode == myOrbwalker.OrbwalkingMode.LaneClear &&
             config.Item("UseWFarm").GetValue<bool>() &&
             !Player.IsWindingUp &&
             W.IsReady())
         {
             W.Cast();
         }
     }
     if (args.Target is Obj_AI_Minion && args.Target.Team == GameObjectTeam.Neutral)
     {
         if (!args.Target.Name.Contains("Mini") &&
             config.Item("UseWJFarm").GetValue<bool>() &&
             !Player.IsWindingUp &&
             W.IsReady())
         {
             W.Cast();
         }
     }
 }
Exemplo n.º 2
0
 protected override void OnBeforeAttack(myOrbwalker.BeforeAttackEventArgs args)
 {
     if (args.Target is Obj_AI_Minion && args.Target.Team == GameObjectTeam.Neutral)
     {
         if (myOrbwalker.ActiveMode == myOrbwalker.OrbwalkingMode.JungleClear &&
             !args.Target.Name.Contains("Mini") &&
             !Player.IsWindingUp &&
             Orbwalking.InAutoAttackRange(args.Target))
         {
             myUtility.UseItems(2, null);
         }
     }
 }
Exemplo n.º 3
0
 protected override void OnBeforeAttack(myOrbwalker.BeforeAttackEventArgs args)
 {
     if (args.Target is Obj_AI_Minion && args.Target.Team == GameObjectTeam.Neutral)
     {
         if (myOrbwalker.ActiveMode == myOrbwalker.OrbwalkingMode.JungleClear &&
             config.Item("UseEJFarm").GetValue<bool>() && E.IsReady() && !EBuff() &&
             !args.Target.Name.Contains("Mini") &&
             !Player.IsWindingUp &&
             Orbwalking.InAutoAttackRange(args.Target))
         {
             myUtility.UseItems(2, null);
             E.Cast();
         }
     }
 }
Exemplo n.º 4
0
 protected virtual void OnBeforeAttack(myOrbwalker.BeforeAttackEventArgs args)
 {
 }