static ConsumablesItems() { ConsumablesMenu.AddGroupLabel("Health Pot"); UseHealthPot = ConsumablesMenu.Add("useHealthPot", new CheckBox("Use Health Pot ?")); MinHealthPot = ConsumablesMenu.Add("minHealthPot", new Slider("Min Health to use Health Pot", 30)); ConsumablesMenu.AddGroupLabel("Biscuit"); UseBiscuit = ConsumablesMenu.Add("useBiscuit", new CheckBox("Use Biscuit ?")); MinHealthBiscuit = ConsumablesMenu.Add("minhpBiscuit", new Slider("Min Health to use Biscuit", 30)); MinManaBiscuit = ConsumablesMenu.Add("minmpBiscuit", new Slider("Min Mana to use Biscuit", 30)); ConsumablesMenu.AddGroupLabel("Refill Potion"); UseRefillPotion = ConsumablesMenu.Add("useRefill", new CheckBox("Use Refill Potion ?")); MinHPRefillPotion = ConsumablesMenu.Add("minhpRefill", new Slider("Min Health to use Refill Potion", 30)); ConsumablesMenu.AddGroupLabel("Corrupt Potion"); UseCorrupt = ConsumablesMenu.Add("useCorrupt", new CheckBox("Use Corrupt Potion ?")); MinHealthCorrupt = ConsumablesMenu.Add("minhpCorrupt", new Slider("Min Health to use Corrupt Potion", 30)); MinManaCorrupt = ConsumablesMenu.Add("minmpCorrupt", new Slider("Min Mana to use Corrupt Potion", 30)); ConsumablesMenu.AddGroupLabel("Hunter`s Potion"); UseHunter = ConsumablesMenu.Add("useHunter", new CheckBox("Use Hunter`s Potion ?")); MinHealthHunter = ConsumablesMenu.Add("minhpHunter", new Slider("Min Health to use Hunter`s Potion", 30)); MinManaHunter = ConsumablesMenu.Add("minmpHunter", new Slider("Min Mana to use Hunter`s Potion", 30)); }
static ConsumablesItems() { // Initialize the menu values ConsumablesMenu.AddGroupLabel("Health Pot"); UseHealthPot = ConsumablesMenu.Add("useHealthPot", new CheckBox("Use Health Pot ?")); MinHealthPot = ConsumablesMenu.Add("minHealthPot", new Slider("Min Health to use Health Pot", 30)); ConsumablesMenu.AddSeparator(); ConsumablesMenu.AddGroupLabel("Biscuit"); UseBiscuit = ConsumablesMenu.Add("useBiscuit", new CheckBox("Use Biscuit ?")); MinHealthBiscuit = ConsumablesMenu.Add("minhpBiscuit", new Slider("Min Health to use Biscuit", 30)); MinManaBiscuit = ConsumablesMenu.Add("minmpBiscuit", new Slider("Min Mana to use Biscuit", 30)); ConsumablesMenu.AddSeparator(); ConsumablesMenu.AddGroupLabel("Refill Potion"); UseRefillPotion = ConsumablesMenu.Add("useRefill", new CheckBox("Use Refill Potion ?")); MinHPRefillPotion = ConsumablesMenu.Add("minhpRefill", new Slider("Min Health to use Refill Potion", 30)); ConsumablesMenu.AddSeparator(); ConsumablesMenu.AddGroupLabel("Corrupt Potion"); UseCorrupt = ConsumablesMenu.Add("useCorrupt", new CheckBox("Use Corrupt Potion ?")); MinHealthCorrupt = ConsumablesMenu.Add("minhpCorrupt", new Slider("Min Health to use Corrupt Potion", 30)); MinManaCorrupt = ConsumablesMenu.Add("minmpCorrupt", new Slider("Min Mana to use Corrupt Potion", 30)); ConsumablesMenu.AddSeparator(); ConsumablesMenu.AddGroupLabel("Hunter`s Potion"); UseHunter = ConsumablesMenu.Add("useHunter", new CheckBox("Use Hunter`s Potion ?")); MinHealthHunter = ConsumablesMenu.Add("minhpHunter", new Slider("Min Health to use Hunter`s Potion", 30)); MinManaHunter = ConsumablesMenu.Add("minmpHunter", new Slider("Min Mana to use Hunter`s Potion", 30)); UseHunterMinionWillDie = ConsumablesMenu.Add("useHunterMinionWillDie", new CheckBox("Use Hunter`s Potion when jungle minion will die ?")); ConsumablesMenu.AddSeparator(); }