Broker_HitCrit

68 - HitCrit doesn't work for monks

What steps will reproduce the problem?
1. Install the addon.
2. Start a monk character.
3. Try to get the tooltip from your Broker-display.

What is the expected output? What do you see instead?
The display will show nothing for HitCrit, and you get 2 errors instead the tooltip.

What version of the product are you using?
2.22.3-release

Do you have an error log of what happened?
These are the errors from BugSack:

["message"] = "Broker_HitCrit\\Broker_HitCrit-2.22.3-release.lua:2349 Usage: GetSpecializationInfo(specIndex[, isInspect[, isPet]])",
            ["time"] = "2012/09/25 05:08:04",
            ["stack"] = "<in C code>
Broker_HitCrit\\Broker_HitCrit-2.22.3-release.lua:2349 in function <Broker_HitCrit\\Broker_HitCrit.lua:2343
(tail call): ?
<in C code>
<string>:\"safecall Dispatcher[1]\":9: in function <string>:\"safecall Dispatcher[1]\":5
(tail call): ?
Ace3-r1066\\AceAddon-3.0\\AceAddon-3.0-11.lua:543 in function \"EnableAddon\"
Ace3-r1066\\AceAddon-3.0\\AceAddon-3.0-11.lua:636 in function <Ace3\\AceAddon-3.0\\AceAddon-3.0.lua:621
<in C code>
AddonLoader\\AddonLoader-r124-release.lua:125 in function \"LoadAddOn\"
AddonLoader-r124-release\\Conditions.lua:142 in function <AddonLoader\\Conditions.lua:132
AddonLoader-r124-release\\Conditions.lua:157 in function <AddonLoader\\Conditions.lua:147",

["message"] = "Broker_HitCrit\\Broker_HitCrit-2.22.3-release.lua:1172 attempt to index upvalue \"db\" (a nil value)",
            ["time"] = "2012/09/25 05:15:46",
            ["locals"] = "--snipped; if you need this, I can edit my ticket--",
            ["stack"] = "Broker_HitCrit\\Broker_HitCrit-2.22.3-release.lua:1172 in function \"OnEnter\"
StatBlockCore\\StatBlockCore-v2.73.lua:613 in function <StatBlockCore\\StatBlockCore.lua:602",

Please provide any additional information below.
Maybe the addon doesn't know the monk class? It would xplain why it's working for every other character.

User When Change
Ydrisselle Sep 29, 2012 at 15:58 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Reported
Sep 29, 2012
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees