public static Color EnchantmentColor(this EnchantmentTier et) { switch (et) { case EnchantmentTier.Minor: return(Color.white); case EnchantmentTier.Standard: return(GenEnchantmentColor.Uncommon); case EnchantmentTier.Major: return(GenEnchantmentColor.Epic); case EnchantmentTier.Crafted: return(GenEnchantmentColor.Artifact); case EnchantmentTier.Skill: return(GenEnchantmentColor.Legendary); case EnchantmentTier.Negative: return(GenEnchantmentColor.Negative); default: return(Color.white); } }
public static Color EnchantmentColor(this EnchantmentTier et) { switch (et) { case EnchantmentTier.Minor: return(Color.white); case EnchantmentTier.Standard: return(GenEnchantmentColor.Uncommon); case EnchantmentTier.Major: return(GenEnchantmentColor.Epic); default: return(Color.white); } }