示例#1
0
 internal static HitChance HarassHitChance(KhazixMenu menu)
 {
     int hitchance = SephKhazix.Khazix.getBoxItem(SephKhazix.KhazixMenu.harass, "Harass.WHitchance");
     switch (hitchance)
     {
         case 0:
             return HitChance.Low;
         case 1:
             return HitChance.Medium;
         case 2:
             return HitChance.High;
     }
     return HitChance.Medium;
 }
示例#2
0
文件: Helper.cs 项目: volder1/PortAIO
        internal static EloBuddy.SDK.Enumerations.HitChance HarassHitChance(KhazixMenu menu)
        {
            int hitchance = SephKhazix.Khazix.getBoxItem(SephKhazix.KhazixMenu.harass, "Harass.WHitchance");

            switch (hitchance)
            {
            case 0:
                return(EloBuddy.SDK.Enumerations.HitChance.Low);

            case 1:
                return(EloBuddy.SDK.Enumerations.HitChance.Medium);

            case 2:
                return(EloBuddy.SDK.Enumerations.HitChance.High);
            }
            return(EloBuddy.SDK.Enumerations.HitChance.Medium);
        }
示例#3
0
        internal static HitChance HarassHitChance(KhazixMenu menu)
        {
            string hitchance = menu.GetSLVal("Harass.WHitchance");

            switch (hitchance)
            {
            case "Low":
                return(HitChance.Low);

            case "Medium":
                return(HitChance.Medium);

            case "High":
                return(HitChance.High);
            }
            return(HitChance.Medium);
        }
示例#4
0
文件: Helper.cs 项目: Burbb/Portaio
        internal static HitChance HarassHitChance(KhazixMenu menu)
        {
            int hitchance = SephKhazix.Khazix.getSliderItem(SephKhazix.KhazixMenu.harass, "Harass.WHitchance");

            switch (hitchance)
            {
            case 0:
                return(HitChance.Low);

            case 1:
                return(HitChance.Medium);

            case 2:
                return(HitChance.High);
            }
            return(HitChance.Medium);
        }
示例#5
0
 internal KhazixMenu GenerateMenu()
 {
     Config = new KhazixMenu();
     return Config;
 }
示例#6
0
文件: Helper.cs 项目: volder1/PortAIO
 internal KhazixMenu GenerateMenu()
 {
     Config = new KhazixMenu();
     return(Config);
 }