PetTracker

PetTracker

12M Downloads

Lua error in petbattle, frog bug ?

Hermonii opened this issue · 2 comments

commented

Which software were you running?

  • Addon version name: 11.0.7
  • Client used: Retail

Have you read the changelog?
Yes

Please describe the bug.

During a petbattle.
Each turn the error pop up and the skills werent good like we can see on the screen.

Please describe how to reproduce it.
Do a battle pet, but looks like isnt with all battles.
Looks like the bug was with the skill from the frog "Croak".
There wowhead link to the pet : https://www.wowhead.com/npc=222736/subterranean-dartswog

Any Screenshots?
WoWScrnShot_090424_121037

Error Logs are Important!
Message: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
Time: Wed Sep 4 12:11:14 2024
Count: 7
Stack: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
[string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/ability.lua"]:17: in function GetModifier' [string "@Interface/AddOns/PetTracker/addons/main/classes/combat/abilityButton.lua"]:27: in function Display'
[string "@Interface/AddOns/PetTracker/addons/battle/enemyBar.lua"]:58: in function <...terface/AddOns/PetTracker/addons/battle/enemyBar.lua:53>
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...e/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Interface/AddOns/Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Interface/AddOns/Blizzard_SharedXMLBase/GlobalCallbackRegistry.lua"]:9: in function <...ns/Blizzard_SharedXMLBase/GlobalCallbackRegistry.lua:8>

Locals: self =

{
requisite = false
id = 931
certain = true
pet =
{
}
cooldown = false
}
target =
{
index = 2
owner = 1
}
_ = 931
_ = "Coassement"
icon = 804966
_ = 0
_ = "Les chances de coup critique sont réduites de [abs(abilityStateMod(40,520))]%."
_ = 1
type = nil
healing = false

commented

I'm having the same issue for while battling wild pets. It doesn't happen with every pet grouping and unfortunately, I haven't noticed a pattern. FYI, here is my latest Lua error:

Message: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
Time: Thu Sep 5 00:00:40 2024
Count: 1
Stack: .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
[string "@Interface/AddOns/PetTracker/addons/main/classes/abstract/ability.lua"]:17: in function GetModifier' [string "@Interface/AddOns/PetTracker/addons/main/classes/combat/abilityButton.lua"]:27: in function Display'
[string "@Interface/AddOns/PetTracker/addons/main/classes/combat/petSlot.lua"]:72: in function Display' [string "@Interface/AddOns/PetTracker/addons/battle/switcher.lua"]:78: in function UpdateFor'
[string "@Interface/AddOns/PetTracker/addons/battle/switcher.lua"]:69: in function Update' [string "@Interface/AddOns/PetTracker/addons/battle/switcher.lua"]:28: in function PetBattlePetSelectionFrame_Show'
[string "@Interface/AddOns/Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:197: in function `PetBattleFrame_PetSelectionFrameUpdateVisible'
[string "*Blizzard_PetBattleUI.xml:1496_OnClick"]:2: in function <[string "*Blizzard_PetBattleUI.xml:1496_OnClick"]:1>

Locals: self =

{
requisite = false
id = 931
certain = true
pet =
{
}
cooldown = false
}
target =
{
index = 1
owner = 1
}
_ = 931
_ = "Croak"
icon = 804966
_ = 0
_ = "Your critical strike chance has been reduced by [abs(abilityStateMod(40,520))]%."
_ = 1
type = nil
healing = false

commented

Found an other time this error and i can confirm that it's the "Croak" skill that trigger it.