public static void InitializeModes() { switch (SpellsMenu.GetComboBoxValue("chance")) { case 0: { hitchance = HitChance.High; } break; case 1: { hitchance = HitChance.Medium; } break; case 2: { hitchance = HitChance.Low; } break; } switch (SpellsMenu.GetComboBoxValue("Intdanger")) { case 0: { Intdanger = DangerLevel.High; } break; case 1: { Intdanger = DangerLevel.Medium; } break; case 2: { Intdanger = DangerLevel.Low; } break; } Game.OnUpdate += Game_OnTick; Gapcloser.OnGapcloser += Gapcloser_OnGapcloser; Interrupter.OnInterruptableSpell += Interrupter_OnInterruptableSpell; }