Task 2 progress: Remove Transference from LootTab essence list, delete Ascension skills
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m41s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m41s
This commit is contained in:
@@ -72,7 +72,7 @@ export function LootInventoryDisplay({
|
||||
|
||||
// Count items
|
||||
const materialCount = Object.values(inventory.materials).reduce((a, b) => a + b, 0);
|
||||
const essenceCount = elements ? Object.values(elements).reduce((a, e) => a + e.current, 0) : 0;
|
||||
const essenceCount = elements ? Object.entries(elements).reduce((a, [id, e]) => id === 'transference' ? a : a + e.current, 0) : 0;
|
||||
const blueprintCount = inventory.blueprints.length;
|
||||
const equipmentCount = Object.keys(equipmentInstances).length;
|
||||
const totalItems = materialCount + blueprintCount + equipmentCount;
|
||||
@@ -108,6 +108,7 @@ export function LootInventoryDisplay({
|
||||
? Object.entries(elements)
|
||||
.filter(([id, state]) => {
|
||||
if (!state.unlocked || state.current <= 0) return false;
|
||||
if (id === 'transference') return false; // Transference is not loot
|
||||
if (searchTerm && !ELEMENTS[id]?.name.toLowerCase().includes(searchTerm.toLowerCase())) return false;
|
||||
return true;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user