promotional bannermobile promotional banner

Kaladrax's Battle Pets 2 Level

Tracks pet battle wins, losses, and XP gains to estimate how many battles your character needs to level up.

File Details

PetBattle2Level V1.0.2.zip

  • R
  • Feb 1, 2026
  • 9.51 KB
  • 46
  • 5.5.3
  • MoP Classic

File Name

PetBattle2Level V1.0.2.zip

Supported Versions

  • 5.5.3

# Changelog - PetBattle2Level (PB2L)

All notable changes to this project will be documented in this file.

---

## [1.0.2] - 2026-01-31

### Added
- Added a "Lifetime Wild Bestiary" to the Interface Options panel.
- Added persistent tracking for pet wins, losses, and last encounter dates.
- Added character-specific archiving using "Name - Realm" keys.
- Added a master debug mode toggle via `/pb debug`.

### Changed
- Improved the UI update logic to sort the session pet list alphabetically.
- Updated the Options Panel to feature a high-contrast blue gradient background.

### Fixed
- Implemented `SetClampedToScreen(true)` to prevent the main
  dashboard from being moved off-screen.
- Integrated a `Slider` in the Options Panel to allow precise
  main window scaling (25% to 200%).
- Fixed a potential Lua error in `PET_BATTLE_PET_CHANGED` by
  adding validation for the `petIndex` argument.

---

## [1.0.1] - 2026-01-29

### Added
- Implemented intelligent loss detection using a 2-second `C_Timer` delay
  after `PET_BATTLE_OVER` to check for XP updates.
- Added `/pb size` slash command for quick UI scaling.
- Added session-based battle counter that resets on login.

### Fixed
- Fixed an issue where "Remaining Battles" would display incorrect values
  immediately following a character level-up.

---

## [1.0.0] - 2026-01-25

### Added
- Initial release for MoP Classic 5.5.3.
- Core XP tracking and "Battles to Level" estimation logic.
- Movable and resizable main dashboard.
- Slash commands `/pb` and `/pb2l`.