Esempio n. 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;
 }
Esempio n. 2
0
        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);
        }
Esempio n. 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);
        }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
 internal KhazixMenu GenerateMenu()
 {
     Config = new KhazixMenu();
     return Config;
 }
Esempio n. 6
0
 internal KhazixMenu GenerateMenu()
 {
     Config = new KhazixMenu();
     return(Config);
 }