Untitled

 avatar
unknown
plain_text
2 years ago
587 B
6
Indexable
// 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 << ".";
	}
Editor is loading...