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