예제 #1
0
 public static int Damage(Obj_AI_Hero target)
 =>
 Bools.IsCharged(target) ?
 (int)(Variables.E.GetDamage(target) *
       ((0.30f * target.GetBuffCount("TristanaECharge")) + 1f) +
       Variables.R.GetDamage(target))
     :
 (int)Variables.R.GetDamage(target);
예제 #2
0
 public static void ExecuteAuto(EventArgs args)
 {
     /// <summary>
     /// The Q Combo Logic.
     /// </summary>
     if (Variables.Q.IsReady() &&
         Variables.Menu.Item($"{Variables.MainMenuName}.qsettings.useqauto").GetValue <bool>() &&
         (Bools.IsCharged(Targets.Target) || !Variables.E.IsReady()))
     {
         Variables.Q.Cast();
     }
 }