Details! sunder armor count
Hi there, I prefer using Details over Skada/Recount but one thing is not working is Sunder Armor count
The script by default is:
Code:
local combat, container, instance = ...
local total, top, amount = 0, 0, 0
local sunderName = GetSpellInfo(11597)
local actors = combat:GetActorList(DETAILS_ATTRIBUTE_MISC)
for i, actor in ipairs(actors) do
if actor:IsPlayer() and actor.spell_cast then
for spellName, count in pairs(actor.spell_cast) do
if spellName == sunderName then
container:AddValue(actor, count)
end
end
end
end
total, top = container:GetTotalAndHighestValue()
amount = container:GetNumActors()
return total, top, amount
Any pro programmer know why this is not working? :D
Ty in advance