Exemplo n.º 1
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (args.Target.Type == GameObjectType.obj_AI_Hero)
     {
         args.Process = Helpers.CardMgr.CanProcessAttack;
     }
 }
Exemplo n.º 2
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (Spells[Q].IsReady() && ComboUseQ && args.Target.Type == GameObjectType.AIHeroClient && Orbwalker.ActiveMode == SCommon.Orbwalking.Orbwalker.Mode.Combo)
     {
         Spells[Q].Cast();
         args.Process = false;
     }
 }
Exemplo n.º 3
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (Orbwalker.ActiveMode == SCommon.Orbwalking.Orbwalker.Mode.Combo && args.Target.Type == GameObjectType.AIHeroClient)
     {
         if (Spells[E].IsReady() && ComboUseE)
         {
             Spells[E].Cast();
         }
     }
 }
Exemplo n.º 4
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (args.Target.Type == GameObjectType.AIHeroClient)
     {
         if (Orbwalker.ActiveMode == SCommon.Orbwalking.Orbwalker.Mode.Combo)
         {
             if (Spells[Q].IsReady() && ComboUseQ)
             {
                 Spells[Q].CastOnUnit(args.Target as AIHeroClient);
                 args.Process = false;
             }
         }
         else if (Orbwalker.ActiveMode == SCommon.Orbwalking.Orbwalker.Mode.Mixed)
         {
             if (Spells[Q].IsReady() && HarassUseQ)
             {
                 Spells[Q].CastOnUnit(args.Target as AIHeroClient);
                 args.Process = false;
             }
         }
     }
 }
Exemplo n.º 5
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (Orbwalker.ActiveMode == SCommon.Orbwalking.Orbwalker.Mode.Combo && args.Target.Type == GameObjectType.obj_AI_Hero)
     {
         if  (Spells[E].IsReady() && ComboUseE)
             Spells[E].Cast();
     }
 }
Exemplo n.º 6
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (args.Target.Type == GameObjectType.obj_AI_Hero)
         args.Process = Helpers.CardMgr.CanProcessAttack;
 }
Exemplo n.º 7
0
 protected virtual void Orbwalking_BeforeAttack(BeforeAttackArgs args)
 {
     //
 }
Exemplo n.º 8
0
 /// <summary>
 /// The BeforeAttack event which called by orbwalker.
 /// </summary>
 /// <param name="args">The args.</param>
 protected virtual void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     //
 }
Exemplo n.º 9
0
 protected override void OrbwalkingEvents_BeforeAttack(BeforeAttackArgs args)
 {
     if (Orbwalker.ActiveMode == SCommon.Orbwalking.Orbwalker.Mode.Combo && args.Target.Type == GameObjectType.obj_AI_Hero)
     {
         if (Spells[Q].IsReady() && ComboUseQ)
         {
             Spells[Q].CastOnUnit(args.Target as Obj_AI_Hero);
             args.Process = false;
         }
     }
 }