public static void ExecuteE(Obj_AI_Hero enemy) { switch (Config.CondemnMethod.SelectedValue) { case "Shine": Condemn.ShineCondemn(enemy, Config.PushDistance.Value); break; case "Asuna": Condemn.AsunaCondemn(enemy, Config.PushDistance.Value); break; case "360": if (Condemn.Condemn360(enemy, Config.PushDistance.Value)) { Spells.E.Cast(enemy); } break; } }
public static void ExecuteE(AIHeroClient enemy) { switch (Config.CondemnMethod) { case 0: Condemn.ShineCondemn(enemy, Config.PushDistance); break; case 1: Condemn.AsunaCondemn(enemy, Config.PushDistance); break; case 2: if (Condemn.Condemn360(enemy, Config.PushDistance)) { Spells.E.Cast(enemy); } break; } }