I'm working on a mod and I need to know the spec of each mage. I know that using the following code won't work because I need to wait for a response from INSPECT_TALENT_READY.
Here is code that I know needs to be changed a bit;
Code:
for i = 1, GetNumRaidMembers() do
if UnitClass("raid"..i) == "Mage" then
NotifyInspect("raid"..i)
end
end
I have a couple of ways that I think might work, but I don't think that they would be very effecient.
Any help?