Exemplo n.º 1
0
 private void SpellInit()
 {
     if (LocalPlayer.Instance.CharName != "Varesh")
     {
         return;
     }
     ActiveSkills.AddFromDatabase();
 }
Exemplo n.º 2
0
 private void SpellInit()
 {
     if (LocalPlayer.Instance.CharName == "Shen Rao" || string.IsNullOrEmpty(LocalPlayer.Instance.CharName))
     {
         ActiveSkills.AddFromDatabase();
         AM1Info    = AbilityDatabase.Get("LightningBolt");
         AscendedM1 = new SkillBase(AbilitySlot.Ability1, SkillType.Circle, AM1Info.Range, AM1Info.Speed, AM1Info.Radius, AM1Info.FixedDelay);
     }
 }
Exemplo n.º 3
0
 private static void Game_OnMatchStart(EventArgs args)
 {
     _shouldUse = false;
     Main.DelayAction(delegate
     {
         try
         {
             var addons = AddonMenus.Active.Where(a => a.SupportedCharacters.Contains(LocalPlayer.Instance.CharName)).ToArray();
             _shouldUse = !addons.Any();
             if (_shouldUse)
             {
                 ActiveSkills.AddFromDatabase();
             }
             MenuHandler.AimbotMenu.Hidden = !_shouldUse;
         }
         catch (Exception e)
         {
             Console.WriteLine(e);
         }
     }, 0.2f);
 }