Are spell ranks available using the COMBAT_LOG_EVENT_UNFILTERED event? Looking through the description on Wowpedia (and other sites) it’s not evident how to obtain the rank of the given spell using the CLEU event.
Cheers,
EDIT: I know about GetSpellInfo() but (1) would like not make a function call if I could just read a bit mask, but (2) GetSpellInfo() returns nil for the rank.
Not from CLEU, no. There is https://wow.gamepedia.com/UNIT_SPELLCAST_SUCCEEDED
which has the spell Id but it only fires for the player in classic. Afterwards you could map it to spell rank with https://www.wowinterface.com/downloads/info24984-ClassicSpellRanks.html
If you want to somehow get the spell Ids from other players you have to resort to using GetSpellInfo() on the CLEU spell names but it will be difficult to derive any spell Id or rank from that
Thanks. Your answer validates what I had reconciled myself to do, i.e., create a mapping between spell ids and spell ranks. I just didn’t know where to go for the ranks and have been exploring the Spell Book API. So, thank you for the links.
Cheers,