示例#1
0
 private void BeforeAttack(Orbwalk.BeforeAttackEventArgs Args)
 {
     if ((Orbwalk.CurrentMode == Orbwalk.Mode.Combo || Orbwalk.CurrentMode == Orbwalk.Mode.Harass) && GetValue <bool>(Orbwalk.CurrentMode.ToString(), "E") && Args.Target is Obj_AI_Hero && E.Cast(PacketCast))
     {
         return;
     }
     else if (Orbwalk.CurrentMode == Orbwalk.Mode.LaneClear && GetValue <bool>("Clear", "E") && Args.Target is Obj_AI_Minion && E.Cast(PacketCast))
     {
         return;
     }
 }
示例#2
0
 private void BeforeAttack(Orbwalk.BeforeAttackEventArgs Args)
 {
     if (!W.IsReady())
     {
         return;
     }
     if (Orbwalk.CurrentMode == Orbwalk.Mode.LastHit && GetValue <bool>("Misc", "WLastHit") && Args.Target is Obj_AI_Minion && CanKill((Obj_AI_Minion)Args.Target, W, GetBonusDmg((Obj_AI_Minion)Args.Target)) && W.Cast(PacketCast))
     {
         return;
     }
 }
示例#3
0
 private void BeforeAttack(Orbwalk.BeforeAttackEventArgs Args)
 {
     if (!Q.IsReady())
     {
         return;
     }
     if (Orbwalk.CurrentMode == Orbwalk.Mode.Harass && GetValue <bool>("Harass", "Q") && Args.Target is Obj_AI_Hero && Q.Cast(PacketCast))
     {
         return;
     }
     else if (((Orbwalk.CurrentMode == Orbwalk.Mode.LastHit && GetValue <bool>("Misc", "QLastHit")) || (Orbwalk.CurrentMode == Orbwalk.Mode.LaneClear && GetValue <bool>("Clear", "Q") && GetValue <StringList>("Clear", "QMode").SelectedIndex == 1)) && Args.Target is Obj_AI_Minion && CanKill((Obj_AI_Minion)Args.Target, Q) && Q.Cast(PacketCast))
     {
         return;
     }
 }