Go to file
hant 8014ba64e6 Implement potion pool (小绿瓶) system
- Add potionPool property to Player (initial: 1000 HP)
- Add addPotionPool(), consumePotionPool(), hasPotionPool() methods
- Modify Battle.php to add healing drops directly to pool instead of inventory
- Update InventoryPanel.php useItem() to consume from pool
- Update InventoryPanel.php autoHeal() to use pool system
- Add pool display in inventory header and stats panel
- Healing items no longer take inventory space after drops

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-07 18:51:21 +08:00
.idea Fix web state management: handleInput now returns structured data 2025-12-07 13:14:48 +08:00
bin 法术 2025-12-02 23:13:38 +08:00
src Implement potion pool (小绿瓶) system 2025-12-07 18:51:21 +08:00
test Implement Server-Sent Events (SSE) for real-time battle streaming 2025-12-07 10:50:30 +08:00
web Move input from text box to terminal 2025-12-07 15:13:14 +08:00
.DS_Store first 2025-12-05 09:38:15 +08:00
.gitignore 技能优化 2025-12-05 17:38:10 +08:00
box.json first 2025-12-01 18:13:15 +08:00
build-phar.php first 2025-12-01 18:13:15 +08:00
build.sh first 2025-12-01 18:13:15 +08:00
composer.json Implement WebSocket real-time communication for game 2025-12-07 12:21:30 +08:00
composer.lock Implement WebSocket real-time communication for game 2025-12-07 12:21:30 +08:00
save.json Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
start-server.sh first 2025-12-01 18:13:15 +08:00
test-websocket.php Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
websocket-process-server.php Fix event loop initialization and handle pipe errors 2025-12-07 14:17:28 +08:00
websocket-server.php Implement WebSocket real-time communication for game 2025-12-07 12:21:30 +08:00