Task 2: Crafting - disable Prepare for non-enchanted items, limit Design to owned gear types
This commit is contained in:
@@ -422,6 +422,9 @@ export function createCraftingSlice(
|
||||
const instance = state.equipmentInstances[equipmentInstanceId];
|
||||
if (!instance) return false;
|
||||
|
||||
// Don't allow preparing enchanted items - they need to be disenchanted first
|
||||
if (instance.enchantments.length > 0) return false;
|
||||
|
||||
const prepTime = calculatePrepTime(instance.totalCapacity);
|
||||
const manaCost = calculatePrepManaCost(instance.totalCapacity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user