private static void OnEnemyGapcloser(ActiveGapcloser gapcloser) { if (Config.Item("gapClose").GetValue <bool>()) { Jayce.knockAway(gapcloser.Sender); } }
public static void OnPosibleToInterrupt(Obj_AI_Base unit, InterruptableSpell spell) { if (Config.Item("autoInter").GetValue <bool>() && (int)spell.DangerLevel > 0) { Jayce.knockAway(unit); } }
private static void OnPosibleToInterrupt(Obj_AI_Hero sender, Interrupter2.InterruptableTargetEventArgs args) { if (Config.Item("autoInter").GetValue <bool>() && (int)args.DangerLevel > 0) { Jayce.knockAway(sender); } }