Пример #1
0
 public static void AfterAttack(AttackableUnit unit, AttackableUnit target)
 {
     if (target is Obj_Building || target is Obj_HQ ||
         target is Obj_Barracks || target is Obj_BarracksDampener)
     {
         return;
     }
     if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Combo)
     {
         Combo.AfterAttackCombo(unit, target);
     }
     if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.Mixed)
     {
         Harass.AfterAttackHarass(unit, target);
     }
     if (Orbwalker.ActiveMode == Orbwalking.OrbwalkingMode.LaneClear)
     {
         JungleClear.AfterAttackJungleClear(unit, target);
         LaneClear.AfterAttackLaneClear(unit, target);
     }
 }