Timers missing for Enemy Pet Bar in new version
SirArioch opened this issue · 13 comments
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.
Motion Seconded. Took me a while to find out where the problem was, but I'm pretty sure this is it.
Thirded. Would very much like to see the return of the numbers for tracking enemy cooldowns.
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.
@Bloodleh That must be it.
not getting the boxes eithe rof opponents attack list so unsure whats happened
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
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