Fight a pet that's slower than yours and use Nevermore.
The ability the enemy uses this turn will be put on a 5 round lockdown.
See enabled icon while it should be disabled.
Any Screenshots?
The second ability is not usable and should thus be disabled with a 4 round lockdown.
Fix?
In Battle:GetAbility(i), check the third return value of self:GetAbilityState(i) which is lockdown, treat it like cooldown. The scripts addon just takes max(cooldown, lockdown).
Which software were you running?
Please describe the bug. The ability icons in battle do not correctly reflect an ability on lockdown (not cooldown).
Please describe how to reproduce it.
Any Screenshots?
![image](https://github.com/Jaliborc/PetTracker/assets/2866005/ab93e8f4-71cb-4209-878f-a89f5b0fb139)
The second ability is not usable and should thus be disabled with a 4 round lockdown.
Fix?
In
Battle:GetAbility(i)
, check the third return value ofself:GetAbilityState(i)
which islockdown
, treat it likecooldown
. The scripts addon just takesmax(cooldown, lockdown)
.