public static Obj_AI_Base GetCondemnTarget(Vector3 fromPosition) { switch (MenuExtensions.GetItemValue <StringList>("dz191.vhr.misc.condemn.condemnmethod").SelectedIndex) { case 0: //VH Revolution return(VHRevolution.GetTarget(fromPosition)); case 1: //VH Reborn return(VHReborn.GetTarget(fromPosition)); case 2: //Marksman / Gosu return(Marksman.GetTarget(fromPosition)); case 3: //Shine# return(Shine.GetTarget(fromPosition)); } return(null); }
public static Obj_AI_Base GetCondemnTarget(Vector3 fromPosition) { switch (MenuGenerator.miscMenu["dz191.vhr.misc.condemn.condemnmethod"].Cast <ComboBox>().CurrentValue) { case 0: //VH Revolution return(VHRevolution.GetTarget(fromPosition)); case 1: //VH Reborn return(VHReborn.GetTarget(fromPosition)); case 2: //Marksman / Gosu return(VayneHunter_Reborn.Skills.Condemn.Methods.Marksman.GetTarget(fromPosition)); case 3: //Shine# return(Shine.GetTarget(fromPosition)); } return(null); }