private static Dictionary <SpecialItemAttribute, List <ParserSpecialStat> > GetSpecialRange(int itemId) { ItemSlot slot = ItemMetadataStorage.GetSlot(itemId); if (Item.IsAccessory(slot)) { return(ItemOptionRangeStorage.GetAccessorySpecialRanges()); } if (Item.IsArmor(slot)) { return(ItemOptionRangeStorage.GetArmorSpecialRanges()); } if (Item.IsWeapon(slot)) { return(ItemOptionRangeStorage.GetWeaponSpecialRanges()); } return(ItemOptionRangeStorage.GetPetSpecialRanges()); }
private static Dictionary <StatId, List <ParserStat> > GetRange(int itemId) { ItemSlot slot = ItemMetadataStorage.GetSlot(itemId); if (Item.IsAccessory(slot)) { return(ItemOptionRangeStorage.GetAccessoryRanges()); } if (Item.IsArmor(slot)) { return(ItemOptionRangeStorage.GetArmorRanges()); } if (Item.IsWeapon(slot)) { return(ItemOptionRangeStorage.GetWeaponRanges()); } return(ItemOptionRangeStorage.GetPetRanges()); }