Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1750x [string "return function()..."]:7: attempt to perform arithmetic on field '?' (a nil value)
- [string "return function()..."]:7: in function <[string "return function()..."]:1>
- WeakAuras\RegionTypes\icon.lua:226: in function `UpdateCustomText'
- WeakAuras\WeakAuras-2.0.9.9.lua:5119: in function <WeakAuras\WeakAuras.lua:5115>
- Locals:
- customTextFunc = <function> defined return function()
- if type(pvptrinketcds) ~= "table" then
- pvptrinketcds = {}
- end
- targetGUID = UnitGUID("target")
- if targetGUID then
- local cooldown = 120 - (time() - pvptrinketcds[targetGUID])
- if cooldown <= 0 then
- pvptrinketcds[targetGUID] = nil
- end
- return cooldown
- end
- end
- :1
- region = <unnamed> {
- 0 = <userdata>
- values = <table> {
- }
- frameId = "pvp_-_trinket_cd"
- Color = <function> defined @WeakAuras\RegionTypes\icon.lua:186
- duration = 0
- Expand = <function> defined @WeakAuras\WeakAuras.lua:3839
- expirationTime = 1.#INF
- SetDurationInfo = <function> defined @WeakAuras\RegionTypes\icon.lua:431
- stacks = <unnamed> {
- }
- SetIcon = <function> defined @WeakAuras\RegionTypes\icon.lua:252
- GetColor = <function> defined @WeakAuras\RegionTypes\icon.lua:197
- button = <unnamed> {
- }
- icon = <unnamed> {
- }
- color_g = 1
- color_b = 1
- Collapse = <function> defined @WeakAuras\WeakAuras.lua:3827
- color_r = 1
- PreShow = <function> defined @WeakAuras\RegionTypes\icon.lua:434
- MSQGroup = <table> {
- }
- SetName = <function> defined @WeakAuras\RegionTypes\icon.lua:268
- Scale = <function> defined @WeakAuras\RegionTypes\icon.lua:370
- color_a = 0.78000000119209
- SetStacks = <function> defined @WeakAuras\RegionTypes\icon.lua:243
- cooldown = WeakAurasCooldownpvp_-_trinket_cd {
- }
- UpdateCustomText = <function> defined @WeakAuras\RegionTypes\icon.lua:225
- }
- values = <table> {
- stacks = 1
- icon = "|TIcons\inv_jewelry_trinketpvp_02:12:12:0:0:64:64:4:60:4:60|t"
- name = "PvP - Trinket CD"
- }
- UpdateText = <function> defined @WeakAuras\RegionTypes\icon.lua:205
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement