Browse Source

rustfmt armor.rs

pull/47/head
andy 4 years ago
parent
commit
540c6aae7c
  1. 68
      src/entity/item/armor.rs

68
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
)
}
}
Loading…
Cancel
Save