From 540c6aae7cd4e33dd95818d7fb30c437e74d12a7 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 21 Jun 2021 02:21:20 +0000 Subject: [PATCH] rustfmt armor.rs --- src/entity/item/armor.rs | 68 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 1 deletion(-) diff --git a/src/entity/item/armor.rs b/src/entity/item/armor.rs index 25d9c5f..451852b 100644 --- a/src/entity/item/armor.rs +++ b/src/entity/item/armor.rs @@ -331,6 +331,72 @@ impl Armor { } pub fn is_rare_item(self) -> bool { - matches!(self.armor, ArmorType::HunterField | ArmorType::RangerField | ArmorType::ForceField | ArmorType::RevivalGarment | ArmorType::SpiritGarment | ArmorType::StinkFrame | ArmorType::DPartsVer101 | ArmorType::DPartsVer210 | ArmorType::ParasiteWearDeRol | ArmorType::ParasiteWearNelgal | ArmorType::ParasiteWearVajulla | ArmorType::SensePlate | ArmorType::GravitonPlate | ArmorType::AttributePlate | ArmorType::FlowensFrame | ArmorType::CustomFrameVerOo | ArmorType::DbsArmor | ArmorType::GuardWave | ArmorType::DfField | ArmorType::LuminousField | ArmorType::ChuChuFever | ArmorType::LoveHeart | ArmorType::FlameGarment | ArmorType::VirusArmorLafuteria | ArmorType::BrightnessCircle | ArmorType::AuraField | ArmorType::ElectroFrame | ArmorType::SacredCloth | ArmorType::SmokingPlate | ArmorType::StarCuirass | ArmorType::BlackHoundCuirass | ArmorType::MorningPrayer | ArmorType::BlackOdoshiDomaru | ArmorType::RedOdoshiDomaru | ArmorType::BlackOdoshiRedNimaidou | ArmorType::BlueOdoshiVioletNimaidou | ArmorType::DirtyLifejacket | ArmorType::KroesSweater | ArmorType::WeddingDress | ArmorType::SonicteamArmor | ArmorType::RedCoat | ArmorType::Thirteen | ArmorType::MotherGarb | ArmorType::MotherGarbPlus | ArmorType::DressPlate | ArmorType::Sweetheart | ArmorType::IgnitionCloak | ArmorType::CongealCloak | ArmorType::TempestCloak | ArmorType::CursedCloak | ArmorType::SelectCloak | ArmorType::SpiritCuirass | ArmorType::RevivalCuriass | ArmorType::AllianceUniform | ArmorType::OfficerUniform | ArmorType::CommanderUniform | ArmorType::CrimsonCoat | ArmorType::InfantryGear | ArmorType::LieutenantGear | ArmorType::InfantryMantle | ArmorType::LieutenantMantle | ArmorType::UnionField | ArmorType::SamuraiArmor | ArmorType::StealthSuit) + matches!( + self.armor, + ArmorType::HunterField + | ArmorType::RangerField + | ArmorType::ForceField + | ArmorType::RevivalGarment + | ArmorType::SpiritGarment + | ArmorType::StinkFrame + | ArmorType::DPartsVer101 + | ArmorType::DPartsVer210 + | ArmorType::ParasiteWearDeRol + | ArmorType::ParasiteWearNelgal + | ArmorType::ParasiteWearVajulla + | ArmorType::SensePlate + | ArmorType::GravitonPlate + | ArmorType::AttributePlate + | ArmorType::FlowensFrame + | ArmorType::CustomFrameVerOo + | ArmorType::DbsArmor + | ArmorType::GuardWave + | ArmorType::DfField + | ArmorType::LuminousField + | ArmorType::ChuChuFever + | ArmorType::LoveHeart + | ArmorType::FlameGarment + | ArmorType::VirusArmorLafuteria + | ArmorType::BrightnessCircle + | ArmorType::AuraField + | ArmorType::ElectroFrame + | ArmorType::SacredCloth + | ArmorType::SmokingPlate + | ArmorType::StarCuirass + | ArmorType::BlackHoundCuirass + | ArmorType::MorningPrayer + | ArmorType::BlackOdoshiDomaru + | ArmorType::RedOdoshiDomaru + | ArmorType::BlackOdoshiRedNimaidou + | ArmorType::BlueOdoshiVioletNimaidou + | ArmorType::DirtyLifejacket + | ArmorType::KroesSweater + | ArmorType::WeddingDress + | ArmorType::SonicteamArmor + | ArmorType::RedCoat + | ArmorType::Thirteen + | ArmorType::MotherGarb + | ArmorType::MotherGarbPlus + | ArmorType::DressPlate + | ArmorType::Sweetheart + | ArmorType::IgnitionCloak + | ArmorType::CongealCloak + | ArmorType::TempestCloak + | ArmorType::CursedCloak + | ArmorType::SelectCloak + | ArmorType::SpiritCuirass + | ArmorType::RevivalCuriass + | ArmorType::AllianceUniform + | ArmorType::OfficerUniform + | ArmorType::CommanderUniform + | ArmorType::CrimsonCoat + | ArmorType::InfantryGear + | ArmorType::LieutenantGear + | ArmorType::InfantryMantle + | ArmorType::LieutenantMantle + | ArmorType::UnionField + | ArmorType::SamuraiArmor + | ArmorType::StealthSuit + ) } }