Giter Club home page Giter Club logo

broker_classic_training's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

broker_classic_training's Issues

Final Stress Test Bug

Hey,
I get this message while using it at the final stress test:

Message: Interface\AddOns\Broker_Classic_Training\main.lua:217: attempt to compare nil with number
Time: Fri Aug 9 16:01:31 2019
Count: 1
Stack: Interface\AddOns\Broker_Classic_Training\main.lua:217: attempt to compare nil with number
Interface\AddOns\Broker_Classic_Training\main.lua:217: in function FilterSpellBooks' Interface\AddOns\Broker_Classic_Training\main.lua:125: in function BuildTrainingData'
Interface\AddOns\Broker_Classic_Training\main.lua:298: in function ?' ...ing\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145: in function <...ing\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:145> [string "safecall Dispatcher[3]"]:4: in function <[string "safecall Dispatcher[3]"]:4> [C]: ? [string "safecall Dispatcher[3]"]:13: in function ?'
...ing\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function `Fire'
..._Classic_Training\Libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <..._Classic_Training\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals:

Warrior Rend Bug

Rend Rank 1 at lvl 4 ist displayed in the Broker Tooltip. My Warrior lvl 11 already got Rend rank 2.
Other Spells at Rank two are tracked correctly.

Error "UNIT_THREAT_LIST_UPDATE" AceEvent

i get the following error every time after Login:

Date: 2019-09-13 18:23:22
ID: 1
Error occured in: Global
Count: 1
Message: ..._Classic_Training\Libs\AceEvent-3.0\AceEvent-3.0.lua line 33:
Attempt to register unknown event "UNIT_THREAT_LIST_UPDATE"
Debug:
[C]: RegisterEvent()
..._Classic_Training\Libs\AceEvent-3.0\AceEvent-3.0.lua:33: OnUsed()
...ra_Broker_Guild_Friends\libs\CallbackHandler-1.0.lua:142: RegisterEvent()
Omen\Omen.lua:592:
Omen\Omen.lua:589
[C]: ?
...face\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:70:
...face\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:65
...face\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:527: EnableAddon()
...face\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:620:
...face\AddOns\Atlas\Libs\AceAddon-3.0\AceAddon-3.0.lua:605
[C]: LoadAddOn()
..\FrameXML\UIParent.lua:353: UIParentLoadAddOn()
..\FrameXML\UIParent.lua:380: CombatLog_LoadUI()
..\FrameXML\UIParent.lua:695:
..\FrameXML\UIParent.lua:658
Locals:
None
AddOns:
Swatter, v8.2.6377 (SwimmingSeadragon)
AraBrokerGuildFriends, vr80
AraBrokerMoney, vr12
AraBrokerReputations, vr12
AraBrokerXP, vr6
Atlas, vv1.45.01.11302
AtlasClassicWoW, vv1.45.00.11302.04
AtlasLootClassic, vv1.1.9-beta
AucAdvanced, v8.2.6385 (SwimmingSeadragon)
AucFilterBasic, v8.2.6364 (SwimmingSeadragon)
AucStatHistogram, v8.2.6366 (SwimmingSeadragon)
AucStatiLevel, v8.2.6370 (SwimmingSeadragon)
AucStatPurchased, v8.2.6367 (SwimmingSeadragon)
AucStatSimple, v8.2.6368 (SwimmingSeadragon)
AucStatStdDev, v8.2.6369 (SwimmingSeadragon)
AucUtilFixAH, v8.2.6371 (SwimmingSeadragon)
BasicMinimap, vv1-classic
BeanCounter, v8.2.6381 (SwimmingSeadragon)
BrokerClassicTraining, vv1.0.0
BrokerSysMon, vv1.0.3
BrokeruClock, vv3.3.11
DBMCore, v1.13.7
DBMDefaultSkin, v
DBMStatusBarTimers, v
Details, v
Dominos, v8.2.25
DominosCast, v
DominosRoll, v
Elephant, v3.7.8
GatherMate2, v1.45
iMail, v8.2.0
ModernQuestWatch, v1.0.8
Omen, v3.2.2
OmniCC, v8.2.4
Prat30, v3.7.34
Prat30Libraries, v
QuestFrameFixer, v1.1.1
ShadowedUnitFrames, vv4.2-Classic-Beta7
SlideBar, v8.2.6375 (SwimmingSeadragon)
Stubby, v8.2.6376 (SwimmingSeadragon)
TidyPlatesThreatPlates, v1.2.3
TitanClassic, v1.0.6.11302
TitanClassicAmmo, v1.0.6.11302
TitanClassicBag, v1.0.6.11302
TitanClassicClock, v1.0.6.11302
TitanClassicGold, v1.0.6.11302
TitanClassicLocation, v1.0.6.11302
TitanClassicLootType, v1.0.6.11302
TitanClassicPerformance, v1.0.6.11302
TitanClassicRepair, v1.0.6.11302
TitanClassicVolume, v1.0.6.11302
TitanClassicXP, v1.0.6.11302
VendorPrice, v1.2.4
WeakAuras, v2.14.6
BlizRuntimeLib_deDE v1.13.2.11302
(ck=6a5)

nil 'quest_name' line 200

I am currently a level 23 Shaman and I am on the quest chain to get my water totem. Starting getting the error below. The quest is called Call of Water. Once i commented out the if/then statement around line 200, the error went away with the addon showing:

Spells
20 Healing Stream Totem Rank 1 Quest

[but of course, with no quest name]

The Error:

4x Broker_Classic_Training\main.lua:200: attempt to concatenate field 'quest_name' (a nil value)
Broker_Classic_Training\main.lua:200: in function FormatSpells' Broker_Classic_Training\main.lua:110: in function BuildTrainingData'
Broker_Classic_Training\main.lua:285: in function `OnTooltipShow'
ChocolateBar\Chocolate.lua:249: in function <ChocolateBar\Chocolate.lua:228>

Locals:
self =

{
SetDefaultModuleLibraries = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:367
kbDEBUG = true
Enable = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:294
NewModule = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:235
EnableModule = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:332
modules =
{
}
GetModule = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:210
IterateEmbeds = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:442
defaultModuleLibraries =
{
}
Feed =
{
}
FilterSpells = defined @Broker_Classic_Training\main.lua:130
FormatSpellBooks = defined @Broker_Classic_Training\main.lua:237
SetDefaultModulePrototype = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:409
UpdateLabel = defined @Broker_Classic_Training\main.lua:66
GetLabels = defined @Broker_Classic_Training\main.lua:71
Dump = defined @Broker_Classic_Training\main.lua:30
name = "Broker_Classic_Training"
IsEnabled = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:451
orderedModules =
{
}
DisableModule = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:350
SPELLS_CHANGED = defined @Broker_Classic_Training\main.lua:311
RegisterMessage = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
constants =
{
}
IsModule = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:468
SendMessage = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:59
baseName = "Broker_Classic_Training"
PLAYER_LEVEL_UP = defined @Broker_Classic_Training\main.lua:306
SetEnabledState = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:424
PLAYER_ENTERING_WORLD = defined @Broker_Classic_Training\main.lua:301
enabledState = true
SetDefaultModuleState = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:387
RegisterEvent = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
FormatSpells = defined @Broker_Classic_Training\main.lua:163
BuildTrainingData = defined @Broker_Classic_Training\main.lua:91
GetClassColourHex = defined @Broker_Classic_Training\main.lua:37
IterateModules = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:437
UnregisterAllEvents = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
FilterSpellBooks = defined @Broker_Classic_Training\main.lua:212
GetName = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:279
defaultModuleState = true
UnregisterEvent = defined @AtlasLootClassic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
Disable = defined @bagnon\common\Wildpants\libs\AceAddon-3.0\AceAddon-3.0.lua:314
}
self = GameTooltip {
0 =
SetSpellBookItem = <function

Thunderclap replaced by missing

here is the fix:

-- @see: https://classic.wowhead.com/warrior-abilities

local WarriorClassSpells = {
[1] = {
['battle_shout:1'] = {
name = 'Battle Shout',
rank = 1,
id = 6673,
level = 1,
cost = 10,
replaced_by = { 5242, 6192, 11549, 11550, 11551 }
}
},
[4] = {
['charge:1'] = {
name = 'Charge',
rank = 1,
id = 100,
cost = 100,
level = 4,
replaced_by = { 6178, 11578 }
},
['rend:1'] = {
name = 'Rend',
rank = 1,
id = 772,
level = 4,
cost = 100,
replaced_by = { 6546, 6547, 6548, 11572, 11573 }
}
},
[6] = {
['thunder_clap:1'] = {
name = 'Thunder Clap',
rank = 1,
id = 6343,
level = 6,
cost = 100,
replaced_by = { 8198, 8204, 8205, 11580, 11581 }
},
['parry'] = {
name = 'Parry',
rank = 1,
id = 3127,
level = 6,
cost = 100,
}
},
[8] = {
['hamstring:1'] = {
name = 'Hamstring',
rank = 1,
id = 1715,
level = 8,
cost = 200,
replaced_by = { 7372, 7373 }
},
['heroic_strike:2'] = {
name = 'Heroic Strike',
rank = 2,
id = 284,
level = 8,
cost = 200,
replaced_by = { 285, 1608, 11564, 11565, 11566, 11567, 25286 }
}
},
[10] = {
['rend:2'] = {
name = 'Rend',
rank = 2,
id = 6546,
level = 10,
cost = 600,
replaced_by = { 6547, 6548, 11572, 11573 }
},
['bloodrage'] = {
name = 'Bloodrage',
rank = 0,
id = 2687,
level = 10,
cost = 600
},
['sunder_armor:1'] = {
name = 'Sunder Armor',
rank = 1,
id = 7386,
level = 10,
cost = 'quest',
replaced_by = { 7405, 8380, 11596, 11597 },
quest_name = 'Path of Defense'
},
['defensive_stance'] = {
name = 'Defensive Stance',
rank = 1,
id = 71,
level = 10,
cost = 'quest',
quest_name = 'Path of Defense'
},
['taunt'] = {
name = 'Taunt',
rank = 1,
id = 355,
level = 10,
cost = 'quest',
quest_name = 'Path of Defense'
}
},
[12] = {
['overpower:1'] = {
name = 'Overpower',
rank = 1,
id = 7384,
level = 12,
cost = 1000,
replaced_by = { 7887, 11584, 11585 }
},
['battle_shout:2'] = {
name = 'Battle Shout',
rank = 2,
id = 5242,
level = 12,
cost = 1000,
replaced_by = { 6192, 11549, 11550, 11551 }
},
['shield_bash:1'] = {
name = 'Shield Bash',
rank = 1,
id = 72,
level = 12,
cost = 1000,
replaced_by = { 1671, 1672 }
}
},
[14] = {
['demoralizing_shout:1'] = {
name = 'Demoralizing Shout',
rank = 1,
id = 1160,
level = 14,
cost = 1500,
replaced_by = { 6190, 11554, 11555, 11556 }
},
['revenge:1'] = {
name = 'Revenge',
rank = 1,
id = 6572,
level = 14,
cost = 1500,
replaced_by = { 6574, 7379, 11600, 11601, 25288 }
}
},
[16] = {
['heroic_strike:3'] = {
name = 'Heroic Strike',
rank = 3,
id = 285,
level = 16,
cost = 2000,
replaced_by = { 1608, 11564, 11565, 11566, 11567, 25286 }
},
['mocking_blow:1'] = {
name = 'Mocking Blow',
rank = 1,
id = 694,
level = 16,
cost = 2000,
replaced_by = { 7400, 7402, 20559, 20560 }
},
['shield_block'] = {
name = 'Shield Block',
rank = 0,
id = 2565,
level = 16,
cost = 2000
}
},
[18] = {
['thunder_clap:2'] = {
name = 'Thunder Clap',
rank = 2,
id = 8198,
level = 18,
cost = 3000,
replaced_by = { 8204, 8205, 11580, 11581 }
},
['disarm'] = {
name = 'Disarm',
rank = 0,
id = 676,
level = 18,
cost = 3000
}
},
[20] = {
['Rend:3'] = {
name = 'Rend',
rank = 3,
id = 6547,
level = 20,
cost = 4000,
replaced_by = { 6548, 11572, 11573 }
},
['retaliation'] = {
name = 'Retaliation',
rank = 0,
id = 20230,
level = 20,
cost = 4000
},
['cleave:1'] = {
name = 'Cleave',
rank = 1,
id = 845,
level = 20,
cost = 4000,
replaced_by = { 7369, 11608, 11609, 20569 }
},
['intimidating_shout'] = {
name = 'Intimidating Shout',
rank = 0,
id = 5246,
level = 20,
cost = 6000
}
},
[22] = {
['battle_shout:3'] = {
name = 'Battle Shout',
rank = 3,
id = 6192,
level = 22,
cost = 6000,
replaced_by = { 11549, 11550, 11551 }
},
['sunder_armor:2'] = {
name = 'Sunder Armor',
rank = 2,
id = 7405,
level = 22,
cost = 6000,
replaced_by = { 8380, 11596, 11597 }
}
},
[24] = {
['heroic_strike:4'] = {
name = 'Heroic Strike',
rank = 4,
id = 1608,
level = 24,
cost = 8000,
replaced_by = { 11564, 11565, 11566, 11567, 25286 }
},
['demoralizing_shout:2'] = {
name = 'Demoralizing Shout',
rank = 2,
id = 6190,
level = 24,
cost = 8000,
replaced_by = { 11554, 11555, 11556 }
},
['execute:1'] = {
name = 'Execute',
rank = 1,
id = 5308,
level = 24,
cost = 8000,
replaced_by = { 20658, 20660, 20661, 20662 }
},
['revenge:2'] = {
name = 'Revenge',
rank = 2,
id = 6574,
level = 24,
cost = 8000,
replaced_by = { 7379, 11600, 11601, 25288 }
}
},
[26] = {
['charge:2'] = {
name = 'Charge',
rank = 2,
id = 6178,
level = 26,
cost = 10000,
replaced_by = { 11578 }
},
['mocking_blow:2'] = {
name = 'Mocking Blow',
rank = 2,
id = 7400,
level = 26,
cost = 10000,
replaced_by = { 7402, 20559, 20560 }
},
['challenging_shout'] = {
name = 'Challenging Shout',
rank = 0,
id = 1161,
level = 26,
cost = 10000
}
},
[28] = {
['overpower:2'] = {
name = 'Overpower',
rank = 2,
id = 7887,
level = 28,
cost = 11000,
replaced_by = { 11584, 11585 }
},
['thunder_clap:3'] = {
name = 'Thunder Clap',
rank = 3,
id = 8204,
level = 28,
cost = 11000,
replaced_by = { 8205, 11580, 11581 }
},
['shield_wall'] = {
name = 'Shield Wall',
rank = 3,
id = 871,
level = 28,
cost = 11000
}
},
[30] = {
['rend:4'] = {
name = 'Rend',
rank = 4,
id = 6548,
level = 30,
cost = 12000,
replaced_by = { 11572, 11573 }
},
['cleave:2'] = {
name = 'Cleave',
rank = 2,
id = 7369,
level = 30,
cost = 12000,
replaced_by = { 11608, 11609, 20569 }
},
['slam:1'] = {
name = 'Slam',
rank = 1,
id = 1464,
level = 30,
cost = 12000,
replaced_by = { 8820, 11604, 11605 }
},
['intercept:1'] = {
name = 'Intercept',
rank = 1,
id = 20252,
level = 30,
cost = 'quest',
replaced_by = { 20616, 20617 },
quest_name = 'Unknown'
}
},
[32] = {
['hamstring:2'] = {
name = 'Hamstring',
rank = 2,
id = 7372,
level = 32,
cost = 14000,
replaced_by = { 7373 }
},
['heroic_strike:5'] = {
name = 'Heroic Strike',
rank = 5,
id = 11564,
level = 32,
cost = 14000,
replaced_by = { 11565, 11566, 11567, 25286 }
},
['battle_shout:4'] = {
name = 'Battle Shout',
rank = 4,
id = 11549,
level = 32,
cost = 14000,
replaced_by = { 11550, 11551 }
},
['berserker_rage'] = {
name = 'Berserker Rage',
rank = 0,
id = 18499,
level = 32,
cost = 14000
},
['execute:2'] = {
name = 'Execute',
rank = 2,
id = 20658,
level = 32,
cost = 14000,
replaced_by = { 20660, 20661, 20662 }
},
['shield_bash:2'] = {
name = 'Shield Bash',
rank = 2,
id = 1671,
level = 32,
cost = 14000,
replaced_by = { 1672 }
}
},
[34] = {
['demoralizing_shout:3'] = {
name = 'Demoralizing Shout',
rank = 3,
id = 11554,
level = 34,
cost = 16000,
replaced_by = { 11555, 11556 }
},
['revenge:3'] = {
name = 'Revenge',
rank = 3,
id = 7379,
level = 34,
cost = 16000,
replaced_by = { 11600, 11601, 25288 }
},
['sunder_armor:3'] = {
name = 'Sunder Armor',
rank = 3,
id = 8380,
level = 34,
cost = 16000,
replaced_by = { 11596, 11597 }
}
},
[36] = {
['mocking_blow:3'] = {
name = 'Mocking Blow',
rank = 3,
id = 7402,
level = 36,
cost = 18000,
replaced_by = { 20559, 20560 }
},
['whirlwind'] = {
name = 'Whirlwind',
rank = 0,
id = 1680,
level = 36,
cost = 18000
}
},
[38] = {
['thunder_clap:4'] = {
name = 'Thunder Clap',
rank = 4,
id = 8205,
level = 38,
cost = 20000,
replaced_by = { 11580, 11581 }
},
['pummel:1'] = {
name = 'Pummel',
rank = 1,
id = 6552,
level = 38,
cost = 20000,
replaced_by = { 6554 }
},
['slam:2'] = {
name = 'Slam',
rank = 2,
id = 8820,
level = 38,
cost = 20000,
replaced_by = { 11604, 11605 }
}
},
[40] = {
['heroic_strike:6'] = {
name = 'Heroic Strike',
rank = 6,
id = 11565,
level = 40,
cost = 22000,
replaced_by = { 11566, 11567, 25286 }
},
['rend:5'] = {
name = 'Rend',
rank = 5,
id = 11572,
level = 40,
cost = 22000,
replaced_by = { 11573 }
},
['cleave:3'] = {
name = 'Cleave',
rank = 3,
id = 11608,
level = 40,
cost = 22000,
replaced_by = { 11609, 20569 }
},
['execute:3'] = {
name = 'Execute',
rank = 3,
id = 20660,
level = 40,
cost = 22000,
replaced_by = { 20661, 20662 }
}
},
[42] = {
['battle_shout:5'] = {
name = 'Battle Shout',
rank = 5,
id = 11550,
level = 42,
cost = 32000,
replaced_by = { 11551 }
},
['intercept:2'] = {
name = 'Intercept',
rank = 2,
id = 20616,
level = 42,
cost = 32000,
replaced_by = { 20617 }
}
},
[44] = {
['overpower:3'] = {
name = 'Overpower',
rank = 3,
id = 11584,
level = 44,
cost = 34000,
replaced_by = { 11585 }
},
['demoralizing_shout:4'] = {
name = 'Demoralizing Shout',
rank = 4,
id = 11555,
level = 44,
cost = 34000,
replaced_by = { 11556 }
},
['revenge:4'] = {
name = 'Revenge',
rank = 4,
id = 11600,
level = 44,
cost = 34000,
replaced_by = { 11601, 25288 }
}
},
[46] = {
['charge:3'] = {
name = 'Charge',
rank = 3,
id = 11578,
level = 46,
cost = 36000
},
['mocking_blow:4'] = {
name = 'Mocking Blow',
rank = 4,
id = 20559,
level = 46,
cost = 36000,
replaced_by = { 20560 }
},
['slam:3'] = {
name = 'Slam',
rank = 3,
id = 11604,
level = 46,
cost = 36000,
replaced_by = { 11605 }
},
['sunder_armor:4'] = {
name = 'Sunder Armor',
rank = 4,
id = 11596,
level = 46,
cost = 36000,
replaced_by = { 11597 }
}
},
[48] = {
['heroic_strike:7'] = {
name = 'Heroic Strike',
rank = 7,
id = 11566,
level = 48,
cost = 40000,
replaced_by = { 11567, 25286 }
},
['mortal_strike:2'] = {
name = 'Mortal Strike',
rank = 2,
id = 21551,
level = 48,
cost = 200,
replaced_by = { 21552, 21553 },
talent = 'mortal_strike:1'
},
['thunder_clap:5'] = {
name = 'Thunder Clap',
rank = 5,
id = 11580,
level = 48,
cost = 40000
replaced_by = { 11581 }
},
['bloodthirst:2'] = {
name = 'Bloodthirst',
rank = 2,
id = 23892,
level = 48,
cost = 2000,
replaced_by = { 23893, 23894 },
talent = 'bloodthirst:1'
},
['execute:4'] = {
name = 'Execute',
rank = 4,
id = 20661,
level = 48,
cost = 40000,
replaced_by = { 20662 }
},
['shield_slam:2'] = {
name = 'Shield Slam',
rank = 2,
id = 23923,
level = 48,
cost = 200,
replaced_by = { 23924, 23925 },
talent = 'shield_slam:1'
}
},
[50] = {
['rend:6'] = {
name = 'Rend',
rank = 6,
id = 11573,
level = 50,
cost = 42000
},
['cleave:4'] = {
name = 'Cleave',
rank = 4,
id = 11609,
level = 50,
cost = 42000,
replaced_by = { 20569 }
},
['recklessness'] = {
name = 'Recklessness',
rank = 0,
id = 1719,
level = 50,
cost = 42000
}
},
[52] = {
['battle_shout:6'] = {
name = 'Battle Shout',
rank = 6,
id = 11551,
level = 52,
cost = 54000
},
['intercept:3'] = {
name = 'Intercept',
rank = 3,
id = 20617,
level = 52,
cost = 54000
},
['shield_bash:3'] = {
name = 'Shield Bash',
rank = 3,
id = 1672,
level = 52,
cost = 54000
}
},
[54] = {
['hamstring:3'] = {
name = 'Hamstring',
rank = 3,
id = 7373,
level = 54,
cost = 56000
},
['mortal_strike:3'] = {
name = 'Mortal Strike',
rank = 3,
id = 21552,
level = 54,
cost = 2800,
replaced_by = { 21553 },
talent = 'mortal_strike:1'
},
['bloodthirst:3'] = {
name = 'Bloodthirst',
rank = 3,
id = 23893,
level = 54,
cost = 2800,
replaced_by = { 23894 },
talent = 'bloodthirst:1'
},
['demoralizing_shout:5'] = {
name = 'Demoralizing Shout',
rank = 5,
id = 11556,
level = 54,
cost = 56000
},
['slam:4'] = {
name = 'Slam',
rank = 4,
id = 11605,
level = 54,
cost = 56000
},
['revenge:5'] = {
name = 'Revenge',
rank = 5,
id = 11601,
level = 54,
cost = 56000,
replaced_by = { 25288 }
},
['shield_slam:3'] = {
name = 'Shield Slam',
rank = 3,
id = 23924,
level = 54,
cost = 2800,
replaced_by = { 23925 },
talent = 'shield_slam:1'
}
},
[56] = {
['heroic_strike:8'] = {
name = 'Heroic Strike',
rank = 8,
id = 11567,
level = 56,
cost = 58000,
replaced_by = { 25286 }
},
['mocking_blow:5'] = {
name = 'Mocking Blow',
rank = 5,
id = 20560,
level = 56,
cost = 58000
},
['execute:5'] = {
name = 'Execute',
rank = 5,
id = 20662,
level = 56,
cost = 58000
}
},
[58] = {
['thunder_clap:6'] = {
name = 'Thunder Clap',
rank = 6,
id = 11581,
level = 58,
cost = 60000
},
['pummel:2'] = {
name = 'Pummel',
rank = 6,
id = 6554,
level = 58,
cost = 60000
},
['sunder_armor:5'] = {
name = 'Sunder Armor',
rank = 5,
id = 11597,
level = 58,
cost = 60000
}
},
[60] = {
['mortal_strike:4'] = {
name = 'Mortal Strike',
rank = 4,
id = 21553,
level = 60,
cost = 3100,
talent = 'mortal_strike:1'
},
['overpower:4'] = {
name = 'Overpower',
rank = 4,
id = 11585,
level = 60,
cost = 62000
},
['rend:7'] = {
name = 'Rend',
rank = 7,
id = 11574,
level = 60,
cost = 62000
},
['bloodthirst:4'] = {
name = 'Bloodthirst',
rank = 4,
id = 23894,
level = 60,
cost = 3100
},
['cleave:5'] = {
name = 'Cleave',
rank = 5,
id = 20569,
level = 60,
cost = 62000
},
['shield_slam:4'] = {
name = 'Shield Slam',
rank = 4,
id = 23925,
level = 60,
cost = 3100,
talent = 'shield_slam:1'
}
}
}

-- @see https://classic.wowhead.com/items/min-req-level:60/max-req-level:60/class:11/quality:3?filter=168;1;0
local WarriorClassTomes = {
['heroic_strike_ix'] = {
item_id = 21297,
name = 'Manual of Heroic Strike IX',
spell = 'Heroic Strike',
spell_id = 25286,
rank = 9,
source = 'drop',
source_drop = 'raid',
source_drop_raid = 'AQ20',
level = 60
},
['battle_shout_vii'] = {
item_id = 21298,
name = 'Manual of Battle Shout VII',
spell = 'Battle Shout',
spell_id = 25289,
rank = 7,
source = 'drop',
source_drop = 'raid',
source_drop_raid = 'AQ20',
level = 60
},
['revenge_vi'] = {
item_id = 21299,
name = 'Manual of Revenge VI',
spell = 'Revenge',
spell_id = 25288,
rank = 6,
source = 'drop',
source_drop = 'raid',
source_drop_raid = 'AQ20',
level = 60
}
}

local WarriorTalentSpells = {
['mortal_strike:1'] = {
tree = 'arms',
points = 1,
points_prereq = 30,
name = 'Mortal Strike',
spell_id = 12294,
rank = 1
},
['bloodthirst:1'] = {
tree = 'fury',
points = 1,
points_prereq = 30,
name = 'Bloodthirst',
spell_id = 23881,
rank = 1
},
['concussion_blow:1'] = {
tree = 'protection',
points = 1,
points_prereq = 20,
name = 'Concussion Blow',
spell_id = 12809,
rank = 0
},
['shield_slam:1'] = {
tree = 'protection',
points = 1,
points_prereq = 30,
name = 'Shield Slam',
spell_id = 23922,
rank = 1
}
}

_G['Broker_Classic_Training_WARRIOR'] = WarriorClassSpells
_G['Broker_Classic_Training_WARRIOR_Tomes'] = WarriorClassTomes
_G['Broker_Classic_Training_WARRIOR_Talents'] = WarriorTalentSpells

Error when hovering for tooltip

Date: 2019-08-11 17:05:09
ID: 57
Error occured in: Global
Count: 5
Message: ..\AddOns\Broker_Classic_Training\main.lua line 200:
attempt to concatenate field 'quest_name' (a nil value)
Debug:
[C]: ?
Broker_Classic_Training\main.lua:200: FormatSpells()
Broker_Classic_Training\main.lua:110: BuildTrainingData()
Broker_Classic_Training\main.lua:286: OnTooltipShow()
Broker_Classic_Training\main.lua:293:
Broker_Classic_Training\main.lua:289
TitanClassic\LDBToTitanClassic.lua:327:
TitanClassic\LDBToTitanClassic.lua:286
AddOns:
AraBrokerGuildFriends, vr80
AraBrokerXP, vr6
AtlasLootClassic, vv1.1.2-beta
BasicMinimap, vv1-classic
BrokeruClock, vv3.3.11
BrokerSysMon, vv1.0.3
BrokerClassicTraining, vv1.0.0
Details, vv8.2.0.7167 (core 140)
Dominos, v8.2.12
DominosCast
DominosRoll
Elephant, v3.7.8
ModernQuestWatch, v1.0.5
Omen, v3.2.2
OmniCC, v8.1.1
Prat30, vr1203
Prat30Libraries
QuestFrameFixer, v1.1.1
ShadowedUnitFrames, vv4.2.2
Swatter, v5.0.0
TidyPlatesThreatPlates, v9.1.12
TitanClassicAmmo, v1.0.1.11302
TitanClassicBag, v1.0.1.11302
TitanClassicClock, v1.0.1.11302
TitanClassicGold, v1.0.1.11302
TitanClassicLocation, v1.0.1.11302
TitanClassicLootType, v1.0.1.11302
TitanClassicPerformance, v1.0.1.11302
TitanClassicRepair, v1.0.1.11302
TitanClassicVolume, v1.0.1.11302
TitanClassicXP, v1.0.1.11302
TitanClassic, v1.0.1.11302
VendorPrice, v1.1.1
WeakAuras, v2.14.0-beta4
AraBrokerMoney, vr12
AraBrokerReputations, vr12
DBMCore, v1.13.0
DBMDefaultSkin
DBMStatusBarTimers

Talented Spells not Working - Warrior

['mortal_strike:2'] = {
  name = 'Mortal Strike',
  rank = 2,
  id = 21551,
  level = 48,
  cost = 200,
  replaced_by = { 21552, 21553 },
  talent = 'mortal_strike:1'
},

etc. are not working, Mortal Strike is not talented and the higher ranks are shown as unlearned.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.