-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hello :) After new patch i fixed error in tooltips.lua GetSpellInfo replaced with C_Spell.GetSpellInfo
But i have problem to fix second error which is below:
5x TrueStatValues/Tooltips.lua:72: attempt to call method 'gsub' (a nil value)
[string "@TrueStatValues/Tooltips.lua"]:72: in function OnTooltip' [string "@TrueStatValues/Core.lua"]:120: in function <TrueStatValues/Core.lua:118> [string "=(tail call)"]: ? [string "=[C]"]: in function securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:61: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:56>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:81: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:77>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:117: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:107>
[string "=[C]"]: in function SetAttribute' [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:142: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:135> [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:288: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:238> [string "=[C]"]: in function securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:235: in function ProcessInfo' [string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:427: in function AppendInfo'
[string "@Blizzard_UIPanels_Game/Mainline/PaperDollFrame.lua"]:1181: in function `onEnterFunc'
[string "*CharacterFrame.xml:125_OnEnter"]:2: in function <[string "*CharacterFrame.xml:125_OnEnter"]:1>
Locals:
self =
modules =
}
defaultModuleLibraries =
}
optionsFrame = Frame {
}
name = "TrueStatValues"
orderedModules =
}
TertiaryStatBrackets =
}
baseName = "TrueStatValues"
db =
}
enabledState = true
StatBrackets =
}
defaultModuleState = true
}
ev = "OnTooltipSetSpell"
tooltip = GameTooltip {
ItemTooltip = Frame {
}
AllTheThingsOnTooltipClearedHook = true
BottomOverlay = Texture {
}
NineSlice = Frame {
}
textLeft1Font = "GameTooltipHeaderText"
hasMoney = 1
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
TextLeft1 = GameTooltipTextLeft1 {
}
StatusBar = GameTooltipStatusBar {
}
numMoneyFrames = 1
supportsDataRefresh = true
shoppingTooltips =
}
waitingForData = false
processingInfo =
}
infoList =
}
progressBarPool =
}
updateTooltipTimer = 0.042000
TextRight1 = GameTooltipTextRight1 {
}
supportsItemComparison = true
textRight1Font = "GameTooltipHeaderText"
layoutType = "TooltipDefaultLayout"
textLeft2Font = "GameTooltipText"
__hasCounters = false
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
}
tt1 = GameTooltipTextLeft1 {
}
text = "Mastery: Savant"
(for state) =
}
(for control) = 26
statId = 26
label =
castTime = 0
name = "Mastery: Savant"
minRange = 0
originalIconID = 135738
iconID = 135738
maxRange = 0
spellID = 190740
}
(*temporary) = nil
(*temporary) =
castTime = 0
name = "Mastery: Savant"
minRange = 0
originalIconID = 135738
iconID = 135738
maxRange = 0
spellID = 190740
}
(*temporary) = "%-"
(*temporary) = "%%-"
(*temporary) = "attempt to call method 'gsub' (a nil value)"
addon =
MasteryConv = 185.299994
TrueStatInfo =
}
VersConv = 206.477136
LeechConv = 270.007272
BaseAvoidanceRating = 1379
BaseSpeedRating = 396
tsv =
}
BaseLeechRating = 387
CritConv = 185.299994
BaseCritRating = 5016
BaseMasteryRating = 7643
BaseHasteRating = 2970
BaseVersatilityRating = 5970
AvoidConv = 144.003878
SpeedConv = 45.001212
HasteConv = 174.711423
}
statLabelMap =
}
statEventMap =
11 = "OnShow"
17 = "OnShow"
21 = "OnShow"
29 = "OnShow"
26 = "OnTooltipSetSpell"
14 = "OnShow"
20 = "OnShow"
}
patterns =
11 = "%s([,0-9]+) Critical Strike"
17 = "%s([,0-9]+) Leech"
21 = "%s([,0-9]+) Avoidance"
29 = "%s([,0-9]+) Versatility"
26 = "%s([,0-9]+) Mastery"
14 = "%s([,0-9]+) Speed"
20 = "%s([,0-9]+) Haste"
}