Commit Graph

27 Commits

Author SHA1 Message Date
b5701df7ae feat: implementar sistema de efectos de estado con persistencia en la base de datos 2025-10-09 01:01:12 -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
44aad43df6 Refactor economy service and types for improved readability and functionality
- Reformatted code for consistent styling and indentation in service.ts
- Enhanced item reward structure in types.ts to include probability for chest rewards
- Added randomization modes for chest rewards: 'all', 'single', and 'roll-each'
- Updated functions in service.ts to handle new reward structures and improve error handling
- Ensured better organization and clarity in function parameters and return types
2025-10-08 23:34:55 -05:00
03f66f2f82 feat: ajustar bloques divisores en los comandos de mina y racha para mejorar la presentación 2025-10-08 23:18:34 -05:00
04adcf3c64 feat: implement user and guild existence checks to prevent foreign key constraint errors 2025-10-06 13:40:05 -05:00
0c87ead245 feat(stats): streamline updateStats function to handle updates more efficiently 2025-10-05 20:27:11 -05:00
5bbc14a0cc feat(wallet): initialize new wallets with a default coin amount 2025-10-05 20:21:29 -05:00
3ece18ec50 feat(economy): enhance player command with improved display components and stats overview 2025-10-05 05:48:47 -05:00
0990533f6e feat(economy): enhance minigame commands to track stats, quest progress, and achievements 2025-10-05 05:35:32 -05:00
b10cc89583 feat(economy): implement streak and stats commands with detailed user feedback 2025-10-05 05:28:07 -05:00
c868e3bf80 refactor(economy): enhance type definitions and improve channel message handling 2025-10-05 05:19:16 -05:00
a0da2ffa98 feat(economy): add commands for opening chests, consuming items, purchasing from shops, crafting, enchanting, equipping items, smelting, and claiming smelting jobs 2025-10-05 02:08:59 -05:00
d04f54eb3d feat(economy): add interactive editors for creating and editing EconomyItems and Mobs 2025-10-05 01:20:52 -05:00
97cc384a1c feat(economy): add types for minigame engine requirements and rewards 2025-10-05 00:51:27 -05:00
eff35e906c feat(economy): add ToolProps and FoodProps types for item metadata 2025-10-05 00:51:24 -05:00
df07f56e8d feat(economy): implement smelting job creation and claiming logic 2025-10-05 00:51:20 -05:00
948941bb40 feat(minigames): implement runMinigame function with cooldown, rewards, and tool durability management 2025-10-05 00:51:16 -05:00
fcc400f671 feat(cooldown): implement cooldown management functions for user actions 2025-10-05 00:51:13 -05:00
767b1ee63a feat(economy): implement consumable item usage and healing logic 2025-10-05 00:51:10 -05:00
3fd6ca661d feat(economy): add seed script for economy items, game areas, and mobs initialization 2025-10-05 00:51:07 -05:00
e95876851f feat(equipment): implement equipment management and effective stats calculation; add functions for player state, equipment retrieval, and HP adjustment 2025-10-05 00:50:55 -05:00
0f1366de65 feat(demo): add demo run script for testing user and guild setup; implement basic mining minigame 2025-10-05 00:50:51 -05:00
0fea8b0e77 feat(attacks): implement scheduled mob attack processing; handle damage application and equipment durability 2025-10-05 00:50:47 -05:00
413868f4be feat(types): add flexible JSON types for economy layer; define item pricing, rewards, and inventory state 2025-10-05 00:04:02 -05:00
a5d4e87444 feat(economy): implement inventory management and economy features; add item handling, wallet management, and shop interactions 2025-10-05 00:03:57 -05:00