Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with v11.0.5 (retail) #404

Open
Gaviin1242 opened this issue Aug 31, 2024 · 1 comment
Open

Error with v11.0.5 (retail) #404

Gaviin1242 opened this issue Aug 31, 2024 · 1 comment

Comments

@Gaviin1242
Copy link

Getting the following error during pet battle WQ in Isle of Dorn.

1x .../PetTracker/addons/main/classes/abstract/ability.lua:17: Usage: GetAttackModifier(attackType, defenseType)
[string "=[C]"]: in function GetAttackModifier' [string "@PetTracker/addons/main/classes/abstract/ability.lua"]:17: in function GetModifier'
[string "@PetTracker/addons/main/classes/combat/abilityButton.lua"]:27: in function Display' [string "@PetTracker/addons/main/classes/combat/petSlot.lua"]:72: in function Display'
[string "@PetTracker/addons/battle/switcher.lua"]:78: in function UpdateFor' [string "@PetTracker/addons/battle/switcher.lua"]:68: in function Update'
[string "@PetTracker/addons/battle/switcher.lua"]:28: in function PetBattlePetSelectionFrame_Show' [string "@Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:205: in function PetBattleFrame_UpdatePetSelectionFrame'
[string "@Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua"]:119: in function <Blizzard_PetBattleUI/Blizzard_PetBattleUI.lua:108>

Locals:
(*temporary) = nil
(*temporary) = 10

@AlexL1118
Copy link

Yes, it looks like self:GetInfo() sometimes returns type as nil. I did not understand when and why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants