Commit Graph

15 Commits

Author SHA1 Message Date
646f62d2e9 feat(minigames): implement dual durability system for tools and weapons
- Introduced separation between `tool` (for gathering) and `weaponTool` (for combat) in minigames.
- Adjusted durability reduction logic to apply a 50% reduction for weapons used in combat to prevent instant breakage.
- Updated `RunResult` type to include `weaponTool` information.
- Enhanced `runMinigame` logic to handle weapon degradation during combat scenarios.
- Updated user commands to reflect both tool and weapon durability in outputs.
- Modified scheduled mob attacks to respect the new durability system.
- Added comprehensive documentation on the new dual durability feature and its implications for gameplay balance.
2025-10-09 02:23:51 -05:00
3a311c8bb6 feat: agregar lógica de penalización por fatiga en recompensas; actualizar tipos de recompensa para incluir monedas base y monedas después de la penalización 2025-10-09 01:57:58 -05:00
0b0a73d114 feat: agregar penalización por fatiga en recompensas de minijuegos; ajustar lógica de recompensas y modificar tipos para incluir modificadores 2025-10-09 01:49:36 -05:00
2befd4a278 feat: integrate combat system with equipment and HP persistence
- Refactored combat mechanics to utilize player equipment stats for damage and defense calculations.
- Implemented a system to track player HP across combat encounters, including regeneration rules upon defeat.
- Enhanced tool management by introducing a logging system for tool breaks, allowing players to view recent tool usage and breakage events.
- Added commands for viewing combat history and tool break logs, providing players with insights into their performance.
- Updated various game commands to utilize new formatting functions for combat summaries and tool information.
- Introduced a new mob data structure to define mob characteristics and scaling based on area levels.
2025-10-09 00:44:30 -05:00
b66379d790 refactor: mejorar la legibilidad del código en los comandos de mina, pelear y pescar; ajustar formato en la función de durabilidad de herramientas 2025-10-09 00:14:07 -05:00
1c086ec025 feat: agregar barra de durabilidad y resumen de combate en comandos de mina, pelear y pescar; implementar comando para inspeccionar herramientas 2025-10-09 00:12:56 -05:00
de39e7e487 feat: agregar categoría a varios comandos y mejorar la presentación de mensajes 2025-10-08 23:06:16 -05:00
67643595f3 feat: add TypeScript type checking task to VSCode configuration
feat: implement area metadata blocks in game commands for enhanced area details

fix: refactor game commands to utilize new area metadata blocks and improve code consistency

feat: enhance Appwrite API integration with additional collections and storage support

refactor: update componentsV2 to support image blocks in display rendering
2025-10-07 22:17:03 -05:00
cdcc339693 feat: Enhance offer editing command with interactive selection and improved error handling
- Added interactive selection for offers in the `offerEdit` command, allowing users to choose an offer to edit.
- Improved permission checks with detailed error messages.
- Refactored editor display and components for better readability and user experience.
- Updated modal handling for various editing options (base, price, window, limits, metadata) to ensure consistent UI updates.
- Enhanced feedback messages for successful updates and cancellations.
- Integrated item fetching and formatting for better display of rewards in `pelear`, `pescar`, `plantar`, and `racha` commands.
- Improved item display in the shop command with consistent formatting and icons.
2025-10-05 21:37:54 -05:00
b263b10b0f Refactor game area resolution and argument parsing for game commands 2025-10-05 19:58:26 -05:00
0b7ec0ee32 feat(game): add area fallback logic for commands and helpers 2025-10-05 19:44:54 -05:00
66a984d74e feat(game-commands): add generic argument parser and integrate for mina, pelear, pescar 2025-10-05 19:34:45 -05:00
1b1aa40358 Maldicion se me olvido poner que las areas fueran detectadas auto 2025-10-05 18:18:54 -05:00
0990533f6e feat(economy): enhance minigame commands to track stats, quest progress, and achievements 2025-10-05 05:35:32 -05:00
dcc8e20840 feat(economy): add minigame commands for mining, fighting, fishing, and farming 2025-10-05 01:54:12 -05:00