Get an Epic Experience with Premium

Pokemon Trainer: The Pet Battle Mod

Battle Pets Login to Add Favorites
  • Project Manager: grdn
  • World of Warcraft
  • 4,930 Monthly Downloads
  • Supports: 6.0.2
  • 364,739 Total Downloads
  • Updated 10/26/2014
  • Created 07/14/2012
  • 332 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File:
Support development! **

About Pokemon Trainer: The Pet Battle Mod

Pokemon Trainer: The Pet Battle Mod

Pokemon Trainer (PT) was the very first pet battle related addon for World of Warcraft on Curse and is your individual combat helper when it comes to pet battles. It is completely overhauled and rewritten. Choose between the next-generation or the old combat display and start duelling until your keyboard catchs fire.

  • Main features (during pet battles)
    • Choose between two combat displays
    • Displays pets rarity, level difficulties, speed indicators
    • Displays both your and enemys abilities with cooldowns, bonuses and weaknesses
    • Highlights abilities whenever they do more damage for any reason - never again miss a chance to blast your enemy
    • Scans enemy abilities during PVP battles and marks them with a green checkmark if scanning was successful
    • Displays pets breed IDs as text and/or icon
  • Additional, optional features
    • Adds relevant info about your team in the tooltip when hovering or targeting battle pets
    • Displays a small window on your UI with two buttons:
      • Revive Pets (Spell) with current cooldown
      • Pet Bandages (Item) with current amount in bags
    • Colors known and unknown pets in the auction house
  • Type /pt for setting up PT!

Difference between Frame and Tooltip combat display

Read more!

Requests, Bug Reports and Localization

  • Please use the Ticket System on CurseForge to report bugs, unintended behaviour, request for features, etc. I won't handle any kind of requests via comments on Curse anymore. Thanks.
  • I refuse to translate my addons with translators like Google since it feels wrong. If you can provide localized strings, please use the CurseForge localization tool.

Thanks to

Detritis who tested almost every new v1 alpha package, reported bugs and suggested new ideas for the mod. Without you, Mate, PT wouldn't be as smart as it is now.

Nullberri from PetJournal Enhanced and other great pet battle mods. Thanks for sharing your pet breed infos as a library when I asked for it. Please download Nullberris mods to support him.

r138 | grdn | 2014-10-25 16:20:14 +0000 (Sat, 25 Oct 2014) | 1 line
Changed paths:
   A /tags/ (from /trunk:137)

See previous commits.
r137 | grdn | 2014-10-25 16:13:33 +0000 (Sat, 25 Oct 2014) | 1 line
Changed paths:
   M /trunk/Modules/AuctionSearch.lua

- Cut developer print off AuctionSearch.lua
r136 | grdn | 2014-10-25 16:12:36 +0000 (Sat, 25 Oct 2014) | 4 lines
Changed paths:
   M /trunk/PokemonTrainer.toc

- AuctionSearch should now recognize EVERY pet in the AuctionHouse
- Regardless of the filter
- It will display whether or not you collected a pet
- Added much data to Data.lua (item ID -> species ID)
r135 | grdn | 2014-10-25 16:10:24 +0000 (Sat, 25 Oct 2014) | 1 line
Changed paths:
   M /trunk/Data.lua
   M /trunk/Modules/AuctionSearch.lua
   A /trunk/_scripts/ScanItemID_2_BattlePetID.html

- Removed trash
r134 | grdn | 2014-10-25 14:09:22 +0000 (Sat, 25 Oct 2014) | 1 line
Changed paths:
   D /trunk/5.4-r1

r133 | grdn | 2014-10-25 14:07:48 +0000 (Sat, 25 Oct 2014) | 2 lines
Changed paths:
   M /trunk/Core.lua

- Applied a fix for (thx to esiemiat):
Error Message: ...e\AddOns\Blizzard_PetJournal\Blizzard_PetJournal.lua line 771: attempt to perform arithmetic on local 'rarity' (a nil value)
r132 | grdn | 2014-10-25 13:58:25 +0000 (Sat, 25 Oct 2014) | 2 lines
Changed paths:
   M /trunk/Data.lua
   M /trunk/_scripts/Developer.lua

- Removed Ramping Ability Info from Data.lua as the current ramping state of abilities cannot be parsed anymore.
- Currently, Ramping Frames and functions are left in the code. Maybe there is another way to track the ramping state of abilities in the future.
r130 | grdn | 2014-10-19 17:07:42 +0000 (Sun, 19 Oct 2014) | 3 lines
Changed paths:
   M /trunk/Core.lua
   M /trunk/Data.lua
   M /trunk/PokemonTrainer.toc

- Updated TOC
- Added Draenor pet data
- Workaround for wrong ability icon display
r129 | grdn | 2013-09-14 07:54:17 +0000 (Sat, 14 Sep 2013) | 1 line
Changed paths:
   A /trunk/5.4-r1 (from /trunk:128)

See r128


First Previous Page 4 of 17 Next Last
  • #207

    /agree ^ - this would be a really useful addition to an already superb addon.

  • #212

    Check out the latest alpha. =)

  • #203

    Question. Is it possible for your addon to display debuffs on non active pets? Especially wanting to keep track off when Haunt expires on a foe Ive force swapped out.

  • #213

    That's something what's on my list. Expect it soon. =)

  • #202

     Your frames do not hide when you hide your UI, ruining any chance at lovely screen shots.  As a quick fix, edit core.lua and add:

    -- Event Callbacks

    -- OnShow
    UIParent:HookScript("OnShow", function() if C_PetBattles.IsInBattle() then PTPlayer:Show() PTEnemy:Show() end end)

    -- OnHide
    UIParent:HookScript("OnHide", function() if C_PetBattles.IsInBattle() then PTPlayer:Hide() PTEnemy:Hide() end end)


    I added it in the callbacks section, around line 100.

    Last edited by Phemoir on 4/28/2013 1:00:46 PM
  • #214

    Added in alpha which I'll upload tomorrow.

  • #200

    Started a battle & this error occured. Not exactly sure why but i had done quite a few battles in quick succession before it occured.

    Message: PTEnemyPet1:SetParent(): Would create a loop parenting to <unnamed>
    Time: 04/26/13 12:43:51
    Count: 1
    Stack: [C]: ?
    [C]: ?
    [C]: in function `SetParent'
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:857: in function <...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:847>
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:886: in function <...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:884>
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:928: in function `BattleFrame_UpdateAbilityHighlights'
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:1097: in function `BattleFrame_Pet_ShowFinished'
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:1014: in function `BattleFrame_Pets_Reorganize_Exec'
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:1068: in function `BattleFrame_Pets_Reorganize_Init'
    [string "*:OnShow"]:11: in function <[string "*:OnShow"]:1>
    [C]: in function `Show'
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:387: in function `FadeIn'
    ...AddOns\PokemonTrainer\Modules\FrameCombatDisplay.lua:166: in function `?'
    ...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    [string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
    [C]: ?
    [string "safecall Dispatcher[1]"]:13: in function `?'
    ...Tom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
    ...ace\AddOns\TomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...ace\AddOns\TomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119>


  • #194

    I've noticed recently that the AH colouring feature seems to have stopped working, and I'm fairly sure it was ok before 5.2 hit. PT doesn't throw any error messages about it :(

  • #195

    Of course, I can see it. Brrr... 'll fix that in the next release (till monday I hope).

  • #197

    Excellent, thanks!

  • #196

    Fixed. I'll upload today. :)

  • #193

    Blizzard prevents addons from scanning pet abilities in PVP duels as of patch 5.2. Please hold on with comments on this subject, I'll try to figure out another niche for PokemonTrainer in assisting you during PVP duels. But remember: I don't want to force Blizzard to protect API's of pet battles. So if they don't want addons to display PVP enemies pet abilities, I must accept that. And you, too. :)

    Last edited by grdn on 3/16/2013 4:00:22 AM
  • #199

    I am finding that I'm manually looking up - hurriedly - (potential) abilities of opponent pets in PVP battles, to help me make decisions.  (As obviously one can't rely on a critter pet (for example) having only critter abilities.) If the addon was able to show the possible abilities of opponent PVP pets, I think this would be really big help for PVP battles.

    By "looking up"... i mean... searching for the pets in the pet journal.
    Which also means having to ignore the names given to pets by their owners :)

    Last edited by blamlock on 4/3/2013 5:35:05 PM
  • #198

    Blizzard kills all aspects like this of the game sadly :(

  • #184

    I encountered a problem when just loading PT, and nothing else, I would get a Libstub error coming from CallbackHandler.  So, in the TOC file, I swapped the positioning of library calls:


    This fixed the problem.  A quick guess is that Libstub should be loaded first, then CallbackHandler.  This also appears to have fixed a confliction issue with PT and BattlePetTabs (of which doesn't use libraries).

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

CoachVicious Giveaway!