public void DisplayInformation() { if (k < 10) { InfoBox.Text = "Select this option to "; if (k == 1) { InfoBox.Text += "choose an attack."; } if (k == 2) { InfoBox.Text += "choose an ability."; } if (k == 3) { InfoBox.Text += "open up the inventory."; } if (k == 4) { InfoBox.Text += "attempt to escape!"; } } else if (k < 100) { if (k % 10 < 3) { int id = FindSkill(k / 10, k % 10); EquipmentSlots equipment = Stuff.FindCharacter(1).GetEquipment(); InfoBox.Text = "Base damage: "; if (equipment.GetPrimary().GetID() != 0) { InfoBox.Text += equipment.GetPrimary().GetPower(); } else { InfoBox.Text += 15; } if (id >= 0) { Skill skill = Stuff.FindSkill(id); InfoBox.Text += "\nName: " + skill.GetName() + "\n" + skill.GetDescription() + "\n" + "Deals " + skill.GetPower() + "% of base damage" + "\nCosts " + skill.GetManaCost() + " mana"; } else { InfoBox.Text = "INVALID OPTION!"; } } } else { int target = FindTarget(k); if (target >= 0) { Monster monster = Stuff.GetBattle().GetMonsterParty()[target - 1]; InfoBox.Text = "Level: " + monster.GetLVL() + "\nName: " + monster.GetName() + "\n" + monster.GetDescription() + "\n"; } else { InfoBox.Text = "INVALID OPTION!"; } } }