Exemple #1
0
 private void OnPossibleToInterrupt(Obj_AI_Hero sender, Interrupter2.InterruptableTargetEventArgs args)
 {
     if (config.Item("useQint", true).GetValue <bool>())
     {
         if (Qint.CanCast(sender))
         {
             Q.Cast(sender);
         }
     }
 }
Exemple #2
0
 private void OnPossibleToInterrupt(AIHeroClient sender, Interrupter2.InterruptableTargetEventArgs args)
 {
     if (getCheckBoxItem(miscMenu, "useQint"))
     {
         if (Qint.CanCast(sender))
         {
             Q.Cast(sender, getCheckBoxItem(config, "packets"));
         }
     }
 }