public void GetRarity(NPCGrade grade, string name) { if ((int)grade > 1 || TableUtility.IsChest(name)) { Rarity = Config.getRarityByGroup_BOSS(Group); } else { Rarity = Config.getRarityByGroup(Group); } Rarity = Config.Item_Check_Config(Name, Rarity); }