public static bool IsWeapon(string itemBase) { if (Bows.Contains(itemBase)) { return(true); } if (Claws.Contains(itemBase)) { return(true); } if (OneHandedAxes.Contains(itemBase)) { return(true); } if (OneHandedMaces.Contains(itemBase)) { return(true); } if (OneHandedSwords.Contains(itemBase)) { return(true); } if (TwoHandedAxes.Contains(itemBase)) { return(true); } if (TwoHandedMaces.Contains(itemBase)) { return(true); } if (TwoHandedSwords.Contains(itemBase)) { return(true); } if (Sceptres.Contains(itemBase)) { return(true); } if (Daggers.Contains(itemBase)) { return(true); } if (Staves.Contains(itemBase)) { return(true); } if (Wands.Contains(itemBase)) { return(true); } return(false); }
public static bool IsSixLinkable(string itemType) { if (Bows.Contains(itemType)) { return(true); } if (TwoHandedAxes.Contains(itemType)) { return(true); } if (TwoHandedMaces.Contains(itemType)) { return(true); } if (TwoHandedSwords.Contains(itemType)) { return(true); } if (BodyArmors.Contains(itemType)) { return(true); } return(false); }