Petbot/modules
megaproxy 710ff5ac9c Implement interactive gym battle system with full battle engine integration
**NEW FEATURES:**
- Full 3-pet gym battles with turn-based combat
- Interactive attack selection (\!attack <move>)
- Item usage during gym battles (\!use <item>)
- Progressive battles through gym leader's team
- Proper gym battle state tracking and advancement

**BATTLE MECHANICS:**
- Players fight through all 3 gym pets sequentially
- Can use all battle commands: \!attack, \!moves, \!use
- Cannot flee from gym battles (must \!forfeit instead)
- Battle engine integration maintains all existing combat features
- Automatic progression to next gym pet when one is defeated

**GYM BATTLE FLOW:**
1. \!gym challenge "gym name" - starts battle with first pet
2. Standard turn-based combat using \!attack <move>
3. When gym pet defeated, automatically advance to next pet
4. Complete victory after defeating all 3 gym pets
5. \!forfeit available to quit gym battle with honor

**DATABASE UPDATES:**
- Added active_gym_battles table for state tracking
- Gym battle progression and team management
- Integration with existing player_gym_battles for victory tracking

**COMMANDS ADDED:**
- \!forfeit - quit current gym battle
- Enhanced \!gym challenge with full battle system
- Battle system now handles gym vs wild battle contexts

This creates the proper Pokemon-style gym experience where players strategically
battle through the gym leader's team using their full arsenal of moves and items.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 13:08:25 +01:00
..
__init__.py Implement gym battle system with location-based challenges 2025-07-14 12:36:40 +01:00
achievements.py Initial commit: Complete PetBot IRC Game 2025-07-13 23:57:39 +01:00
admin.py Initial commit: Complete PetBot IRC Game 2025-07-13 23:57:39 +01:00
base_module.py Initial commit: Complete PetBot IRC Game 2025-07-13 23:57:39 +01:00
battle_system.py Implement interactive gym battle system with full battle engine integration 2025-07-14 13:08:25 +01:00
core_commands.py Update all web links to use petz.rdx4.com domain 2025-07-14 00:27:53 +01:00
exploration.py Fix travel command location name matching 2025-07-14 00:33:12 +01:00
gym_battles.py Implement interactive gym battle system with full battle engine integration 2025-07-14 13:08:25 +01:00
inventory.py Add complete item collection system (v0.2.0) 2025-07-14 00:19:57 +01:00
pet_management.py Update all web links to use petz.rdx4.com domain 2025-07-14 00:27:53 +01:00