Magic School detection?
it doesn't look like there is any "easy" way to identify spell school information at runtime based on a SpellID or any similar "combat log" data. nor does UnitCastingInfo() or GetSpellInfo() seem to supply anything that could serve as a handle on this.
does anyone know of any (hopefully current/maintained) 3rd-party addon that tries to provide an API for this sort of thing? i would like to be able to select colors (and/or allow the user to specify colors) for various elements of my addon's UI in a fashion categorized by "spell school" (i.e. shadow, physical, arcane, fire, "rune" if applicable, etc). thanks in advance. |
One of the args in the combat log is spell school. http://www.wowwiki.com/API_COMBAT_LO...T#Spell_School
|
Quote:
i am looking at dumps of COMBAT_LOG_UNFILTERED events right now, from my mage. looks like the spell school is only listed in SPELL_DAMAGE combat events. not in SPELL_CAST_START combat events, nor in UNIT_SPELLCAST_SENT log events. so, coloring a cast bar, or coloring some sort of cast warning text of some sort, for events with a "cast time", based on spell school looks like it could be tricky. i suppose i could track SPELL_DAMAGE (and other such combat log DAMAGE events) and map SpellID to school over time, by sniffing the combat log. save the mapping in Saved Variables, and even let the user edit the mapping, specify custom colors for specific events, all that jazz. anyway, thanks for the pointer. i will cogitate on this some more. at least it appears to be doable in some form, even if somewhat indirectly. |
All times are GMT -6. The time now is 04:34 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI