Error during pet battles
p3lim opened this issue ยท 0 comments
8x BattlePetBreedID/BreedTooltips.lua:131: attempt to perform arithmetic on local 'quality' (a nil value)
[BattlePetBreedID/BreedTooltips.lua]:131: in function 'BPBID_SetBreedTooltip'
[BattlePetBreedID/BreedTooltips.lua]:379: in function <BattlePetBreedID/BreedTooltips.lua:309>
[C]: ?
[C]: in function 'PetBattleUnitFrame_UpdateDisplay'
[Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua]:1014: in function <...Blizzard_PetBattleUI/Shared/Blizzard_PetBattleUI.lua:1007>
Locals:
parent = PetBattlePrimaryUnitTooltip {
StatsLabel = FontString {
}
Border = Texture {
}
XPBar = Texture {
}
ResistantToLabel = FontString {
}
petIndex = 1
Delimiter2 = Texture {
}
AbilityName3 = FontString {
}
PetType = Frame {
}
healthTextFormat = "Health: %d/%d"
SpeedAdvantage = FontString {
}
XPText = FontString {
}
HealthBG = Texture {
}
AttackIcon = Texture {
}
petOwner = 2
CollectedText = FontString {
}
XPBG = Texture {
}
Debuffs = Frame {
}
AttackAmount = FontString {
}
xpTextFormat = "XP: %d/%d"
WeakToLabel = FontString {
}
xpBarWidth = 230
HealthText = FontString {
}
layoutType = "TooltipDefaultLayout"
SpeedIcon = Texture {
}
weakToTextures = <table> {
}
AbilityIcon2 = Texture {
}
ResistantTo1 = Texture {
}
HealthBorder = Texture {
}
Delimiter = Texture {
}
ActualHealthBar = Texture {
}
Icon = Texture {
}
Level = FontString {
}
XPBorder = Texture {
}
WeakTo1 = Texture {
}
NineSlice = Frame {
}
AbilityIcon3 = Texture {
}
AbilityName2 = FontString {
}
SpeedAdvantageIcon = Texture {
}
SpeedAmount = FontString {
}
resistantToTextures = <table> {
}
AbilityName1 = FontString {
}
Name = FontString {
}
AbilityIcon1 = Texture {
}
SpeciesName = FontString {
}
healthBarWidth = 230
AbilitiesLabel = FontString {
}
}
speciesID = 378
tblBreedID = <table> {
1 = 7
}
rareness = 4
tooltipDistance = nil
rarity = 4
breedtip = BPBID_BreedTooltip {
waitingForData = false
BottomOverlay = Texture {
}
supportsDataRefresh = true
NineSlice = Frame {
}
updateTooltipTimer = 0.200000
StatusBar = BPBID_BreedTooltipStatusBar {
}
TextRight1 = BPBID_BreedTooltipTextRight1 {
}
textLeft1Font = "GameTooltipHeaderText"
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
layoutType = "TooltipDefaultLayout"
TextLeft1 = BPBID_BreedTooltipTextLeft1 {
}
textRight1Font = "GameTooltipHeaderText"
TextRight2 = BPBID_BreedTooltipTextRight2 {
}
TextLeft2 = BPBID_BreedTooltipTextLeft2 {
}
textLeft2Font = "GameTooltipText"
}
breedtiptext = "BPBID_BreedTooltip"
extratip = false
filterText = ""
collectedPets = <table> {
1 = "|cff0070ddL5 (H/B)|r"
2 = "|cff1eff00L5 (H/P)|r"
}
(for index) = 2197
(for limit) = 2496
(for step) = 1
i = 2197
petID = "BattlePet-0-000009A16070"
speciesID2 = 378
owned = false
customName = nil
level = 0
favorite = false
isRevoked = false
speciesName = "Rabbit"
icon = 254857
petType = 5
companionID = 61080
tooltip = "|cFFFFD200Pet Battle: |rAzshara, Blade's Edge Mountains, Crystalsong Forest, Darkshore, Dun Morogh, Duskwood, Elwynn Forest, Eversong Woods, Feralas, Highmountain, Hillsbrad Foothills, Howling Fjord, Moonglade, Mount Hyjal, Mulgore, Nagrand, Redridge Mountains, Silvermoon City, Silverpine Forest, Stonetalon Mountains, Stormwind City, Tirisfal Glades, Western Plaguelands, Westfall, Wetlands"
description = "When you have two rabbits, you'll often soon have three."
isWild = true
canBattle = true
isTradeable = false
isUnique = false
obtainable = true
speciesID = nil
customName = nil
level = nil
xp = nil
maxXp = nil
displayID = nil
isFavorite = nil
name = nil
icon = nil
petType = nil
creatureID = nil
sourceText = nil
description = nil
isWild = nil
canBattle = nil
tradable = nil
unique = nil
obtainable = nil
health = nil
maxHealth = nil
power = nil
speed = nil
rarity = nil
breedNum = "ERR"
quality = nil
resultslist = nil
breed = "ERR"
(*temporary) = <table> {
1 = "|cff0070ddL5 (H/B)|r"
2 = "|cff1eff00L5 (H/P)|r"
}
(*temporary) = <table> {
1 = <table> {
}
2 = <table> {
}
3 = <table> {
}
4 = <table> {
}
5 = <table> {
}
6 = <table> {
}
7 = <table> {
}
8 = <table> {
}
0 = <table> {
}
}
(*temporary) = 1
(*temporary) = 3
(*temporary) = "ERR"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'quality' (a nil value)"
internal = <table> {
cacheTime = false
resultsCache = <table> {
}
rarityCache = <table> {
}
MAX_BREEDS = 10
breedCache = <table> {
}
LibStub = <table> {
}
speciesCache = <table> {
}
}