PetTracker

PetTracker

12M Downloads

Timers missing for Enemy Pet Bar in new version

SirArioch opened this issue · 13 comments

commented

Running Softwar (issues missing this information will be deleted):

  • Addon version: 8.3.1

Have you read the changelog? (please don't waste our time)
YES

*Describe the bug
Timers missing for Enemy Pet Bar in new version

To Reproduce
Do a pet battle

Expected behaviour
Timers were present for enemy pets prior to this update.

Screenshots
No timer on enemy "Soothe" and "Cleansing Rain" though they are grayed out.
image

commented

Motion Seconded. Took me a while to find out where the problem was, but I'm pretty sure this is it.

commented

Thirded. Would very much like to see the return of the numbers for tracking enemy cooldowns.

commented

I digged through the code and the author forgot to initialize two local variables in file addons\main\classes\combat\abilityButton.lua:

After lines 23-27:

function Ability:Display(ability, target)
	if ability then
		local unusable = ability.cooldown or ability.requisite
		local color = (unusable or not ability.certain) and .5 or 1
		local modifier = ability:GetModifier(target)

Add these 2 lines:

		local cooldown = ability.cooldown
		local requisite = ability.requisite

And it will work.

commented

Yup same here they’ve gone since update :-/

commented

Thanks Bloodleh, this fixed worked perfectly!!

commented

Worked like a charm! Thanks for that my friend!

commented

@Bloodleh That must be it.

commented

Since new update still not getting timers

commented

not getting the boxes eithe rof opponents attack list so unsure whats happened

commented

image

commented

I haven't seen it stated this way, so just to add... I am seeing the timers on wild battles, but not on Trainer or Epic Pet battles. I'm also not seeing it on PVP, but I don't know if that's by design or not as I did not PVP prior to this week.
Example of missing trainer is Farmer Nishi

commented

I haven't seen it stated this way, so just to add... I am seeing the timers on wild battles, but not on Trainer or Epic Pet battles. I'm also not seeing it on PVP, but I don't know if that's by design or not as I did not PVP prior to this week.
Example of missing trainer is Farmer Nishi

Yes you cld see the timers and stuff in pvp it’s gone again now which is frustrating given it’s pet battle week

commented

I have the same problem - only in PVP pet battles... Very frustrating!