Esempio n. 1
0
 public static void Drawing_OnEndScene(EventArgs args)
 {
     try
     {
         if (Player.IsDead)
         {
             return;
         }
         foreach (var enemy in ObjectManager.Get <AIHeroClient>().Where(ene => ene.IsValidTarget() && !ene.IsZombie))
         {
             if (_MainMenu.Item("Alistar_Indicator").GetValue <bool>())
             {
                 Indicator.unit = enemy;
                 Indicator.drawDmg(getComboDamage(enemy), new ColorBGRA(255, 204, 0, 160));
             }
         }
     }
     catch (Exception)
     {
         if (NowTime() > ErrorTime)
         {
             Chat.Print(ChampName + " in FreshBooster isn't Load. Error Code 05");
             ErrorTime = TickCount(10000);
         }
     }
 }
Esempio n. 2
0
 //Thx BestTuks and Hoola
 private static void Drawing_OnEndScene(EventArgs args)
 {
     foreach (var enemy in ObjectManager.Get <AIHeroClient>()
              .Where(ene => ene.IsValidTarget()))
     {
         Indicator.unit = enemy;
         Indicator.drawDmg(getComboDamage(enemy), SharpDX.Color.Aqua);
     }
 }
Esempio n. 3
0
        public static void Draw(EventArgs args)
        {
            foreach (var enemy in ObjectManager.Get<AIHeroClient>().Where(ene => ene.LSIsValidTarget() && !ene.IsZombie))
            {
                if (!MenuConfig.DrawDmg) continue;

                Indicator.unit = enemy;
                Indicator.drawDmg(Dmg.EDamage(enemy), new ColorBGRA(255, 204, 0, 170));
            }
        }
Esempio n. 4
0
 private static void OnEndScene(EventArgs args)
 {
     if (Config.SubMenu("Draw").Item("DrawD").GetValue <bool>())
     {
         foreach (var enemy in
                  ObjectManager.Get <Obj_AI_Hero>().Where(ene => !ene.IsDead && ene.IsEnemy && ene.IsVisible))
         {
             Hpi.unit = enemy;
             Hpi.drawDmg(CalcDamage(enemy), Color.Green);
         }
     }
 }
Esempio n. 5
0
 private static void Drawing_OnEndScene(EventArgs args)
 {
     foreach (
         var enemy in
         ObjectManager.Get <AIHeroClient>()
         .Where(ene => ene.IsValidTarget() && ene.IsEnemy && !ene.IsZombie))
     {
         if (drawMenu["Dind"].Cast <CheckBox>().CurrentValue)
         {
             Indicator.unit = enemy;
             Indicator.drawDmg(DamageToUnit(enemy), new ColorBGRA(255, 204, 0, 170));
         }
     }
 }