Petbot/modules
megaproxy bd455f1be5 Implement comprehensive experience and leveling system
**NEW FEATURES:**
- Complete EXP system with Pokemon-style stat calculation
- Level-based stat growth and automatic HP restoration on level up
- Experience gain from catches and battle victories
- Visual level up notifications with stat increases

**EXPERIENCE SOURCES:**
- Successful catches: 5 EXP × caught pet level
- Wild battle victories: 10 EXP × defeated pet level
- Gym battle victories: 20 EXP × defeated pet level (2x multiplier)

**LEVELING MECHANICS:**
- Cubic growth formula: level³ × 4 - 12 (smooth progression)
- Level cap at 100
- Stats recalculated on level up using Pokemon formulas
- Full HP restoration on level up
- Real-time stat increase display

**EXPERIENCE DISPLAY:**
- \!team command now shows "EXP: X to next" for active pets
- Level up messages show exact stat gains
- Experience awarded immediately after catch/victory

**STAT CALCULATION:**
- HP: (2 × base + 31) × level / 100 + level + 10
- Other stats: (2 × base + 31) × level / 100 + 5
- Progressive growth ensures meaningful advancement

**BATTLE INTEGRATION:**
- EXP awarded after wild battles, gym individual battles, and catches
- Different multipliers for different victory types
- First active pet receives all experience

This creates proper RPG progression where pets grow stronger through gameplay,
encouraging both exploration (catches) and combat (battles) for advancement.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 16:11:20 +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 comprehensive experience and leveling system 2025-07-14 16:11:20 +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 Implement comprehensive experience and leveling system 2025-07-14 16:11:20 +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 Implement comprehensive experience and leveling system 2025-07-14 16:11:20 +01:00