feat: Add lootbox item type with weighted rewards and dedicated UI for item usage results.

This commit is contained in:
syntaxbullet
2026-01-05 12:52:34 +01:00
parent 5606fb6e2f
commit 599684cde8
6 changed files with 109 additions and 10 deletions

View File

@@ -4,7 +4,8 @@ import {
handleReplyMessage,
handleXpBoost,
handleTempRole,
handleColorRole
handleColorRole,
handleLootbox
} from "./handlers";
import type { EffectHandler } from "./types";
@@ -14,5 +15,6 @@ export const effectHandlers: Record<string, EffectHandler> = {
'REPLY_MESSAGE': handleReplyMessage,
'XP_BOOST': handleXpBoost,
'TEMP_ROLE': handleTempRole,
'COLOR_ROLE': handleColorRole
'COLOR_ROLE': handleColorRole,
'LOOTBOX': handleLootbox
};