forked from syntaxbullet/AuroraBot-discord
feat: Add lootbox item type with weighted rewards and dedicated UI for item usage results.
This commit is contained in:
@@ -159,7 +159,6 @@ export const inventoryService = {
|
||||
|
||||
const results: string[] = [];
|
||||
|
||||
// 2. Apply Effects
|
||||
// 2. Apply Effects
|
||||
const { effectHandlers } = await import("./effects/registry");
|
||||
|
||||
@@ -179,7 +178,7 @@ export const inventoryService = {
|
||||
await inventoryService.removeItem(userId, itemId, 1n, txFn);
|
||||
}
|
||||
|
||||
return { success: true, results, usageData };
|
||||
return { success: true, results, usageData, item };
|
||||
}, tx);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user