Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
587 B
3
Indexable
Never
// Show Imbuements Slots
	uint32_t imbuementslots = item ? item->getImbuementSlots() : it.imbuementslots;
	
	if (imbuementslots) {
		s << "\nImbuements: (Empty Slot";

		// Add multiple slots if more than one
		for (uint32_t i = 1; i < imbuementslots; ++i) {
			s << ", Empty Slot";
		}

		s << ").";
	}
	
// Show Classification and Tier on item 
    uint32_t classification = item ? item->getClassification() : it.classification;
	uint32_t tier = item ? item->getTier() : it.tier;
	
    if (classification) {
		s << "\nClassification: " << classification << " Tier: " << tier << ".";
	}