Quantcast
Download
(270Kb)
Download
Updated: 05-04-23 11:19 AM
Compatibility:
Embers of Neltharion (10.1.0)
Updated:05-04-23 11:19 AM
Created:10-28-22 10:03 AM
Downloads:658
Favorites:7
MD5:
10.1.0

Pet Battle Scripts

Version: v1.7.5
by: pkiller162 [More]




🐉 Battle Pet Combat Scripting🐉

  • Write scripts to automate pet battles
  • Assign scripts to pet teams
  • Full Rematch integration
  • Export and share scripts

This addon is a fork of the popular, but now abandoned, tdbattlePetScript addon.

Getting Started

It is always a good idea to backup your WTF folder before replacing an addon to ensure no data is lost!
If you already have tdBattlePetScript and tdBattlePetScript_Rematch installed, remove them both.

⚠️ Do not remove any saved variables otherwise this will also wipe your scripts.

Then download & install the addon from either:

This addon takes the same name (tdBattlePetScript) under the hood so you should never have to transfer scripts over manually!

Documentation & Support

Please see the wiki for full addon documentation.
If there is a problem, please raise it here or contact Super#0100 on Discord.

Screenshots


Credits

v1.7.5
  • Fixed locale strings

v1.7

Breaking Changes
  • change(next) now skips dead pets as well as pets that can't be swapped in due to debuffs. Previously change(next) only skipped to the exactly next pet, and if that was unable to be swapped in did nothing. It now first checks whether the next pet can be swapped in, and if it can't checks the one after the next pet, until it finds a valid pet or loops around to the current pet.

Other
  • Updated for Dragonflight 10.1
  • Added an option to have an audible notification once the battle round finished and the "autobattle" button becomes active again. Disabled by default.
  • ElvUI detection is now working correctly if the global toggle for "all Blizzard frames" is disabled, rather than just the petbattle one.

v1.6
  • Updated calculation for can_explode, to use "<=" instead of "<".
  • ElvUI users no longer have a piece of unused art on top of their screen during pet battles.
  • The addon name should no longer show up twice in various tooltips.
  • Updated readme to reflect an issue with Rematch when uninstalling tdBattlePetScript.

v1.5
  • Updated to WoW 10.0.2

v1.4
  • Fixed issue with Test button not correctly disabling during pet battle animations
  • Fixed issue where the Test button crashed on if/endif blocks in the script.
  • Fixed condition (pet) type to correctly handle bad pets (e.g. self(#4).type) again.
  • Added collected.count to the Pets API (the amount of a specific pet you have in your collection).
  • Added collected.max to the Pets API (the maximum amount of a specific pet you can have in your collection).

v1.3
  • Added script test button (allows you to see the next action that will be taken without having to run the script)
  • Updated UI icon in script editor
  • Notification boxes now fade out after a few seconds

v1.2
  • Fixed LUA error when attempting to export talents
  • Fixed LUA error in the script selector
  • Updated the size of some pet battle UI components

v1.1
  • Added addon options menu
  • Fixed various localization issues
  • Various small bugfixes

v1.0
  • Updated for Dragonflight.
  • Added collected to the Pets API (true if the pet is in your collection).
  • Added trap to the Status API (true if the trap is usable (or potentially usable if enemy hp is low enough)).
  • Fixed condition behavior when the condition includes a non-existent pet or ability. This allows (among others) using ability (Ghostly Bite:654) [enemy.ability (Mudslide:572).duration < 5], even if the current pet does not have Mudslide, to be used in generic scripts. See the discussion in this issue for more detail and exact semantics.
  • Merged Rematch addon into main code.
  • General bug fixes
Archived Files (13)
File Name
Version
Size
Author
Date
v1.7
270kB
pkiller162
05-04-23 11:09 AM
v1.7
269kB
pkiller162
05-03-23 05:07 PM
v1.6
250kB
pkiller162
04-01-23 02:18 PM
v1.5
250kB
pkiller162
11-16-22 11:45 AM
v1.4
250kB
pkiller162
11-13-22 05:05 PM
v1.3
249kB
pkiller162
11-12-22 05:33 PM
v1.2
249kB
pkiller162
11-11-22 02:25 PM
v1.2
248kB
pkiller162
11-11-22 02:06 PM
v1.1
248kB
pkiller162
11-10-22 04:47 PM
v1.1
248kB
pkiller162
11-10-22 04:13 PM
v1.1
248kB
pkiller162
11-10-22 04:10 PM
v1.0
247kB
pkiller162
11-08-22 04:48 PM
1.0
213kB
pkiller162
10-28-22 10:03 AM


Post A Reply Comment Options
Unread 11-11-22, 03:11 PM  
pkiller162
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 1
Uploads: 1
Originally Posted by Meebsy
Is tdBattlePetScripts really abandoned now as they did push an update for DF a little while ago, or did DengSir pass the baton so to speak?
He passed the batton to me at the start of SL. I was the one that did the update for DF but via a convoluted release process But we have limited access to the source code and Curse project that is required to fix certain bugs (such as Github settings and no access to the Rematch TD plugin that had some bugs in) hence it was easier to fork this.
Report comment to moderator  
Reply With Quote
Unread 11-08-22, 06:40 PM  
Meebsy
A Murloc Raider
 
Meebsy's Avatar

Forum posts: 6
File comments: 53
Uploads: 0
Is tdBattlePetScripts really abandoned now as they did push an update for DF a little while ago, or did DengSir pass the baton so to speak?
__________________
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: