#Interrupt Duration

22 messages · Page 1 of 1 (latest)

vague karma
#

https://wago.io/qbruuKi5c

im having issues understanding the changes I need to make to get the Icon to show for the respective interrupt. I've looked at the wow-wiki and searched in discord and know about the changes to C_Spell.GetSpellInfo, but im not understanding how to apply it here.

Wago.io is a database of sharable World of Warcraft addon elements

hallow lake
#

what exactly do you want this aura to do?

vague karma
#

so when I or a party/raid member interrupts it shows they interrupted and the lockout duration. It works, but the icon doesnt show anymore since TWW cause the changes to the API

hallow lake
#

just asking because I read "nameplate interrupts" and saw like 100 lines of code

#

which sounds obscene

#

as for your question: C_Spell.GetSpellInfo returns a table

#

and not multiple values like the old GetSpellInfo did in the past

#

so using select(3, -- whaterver) to get the texture id doesnt work anymore

#

C_Spell.GetSpellInfo(spellId).iconID is what you want. Or simply use C_Spell.GetSpellTexture(spellId) to begin with

#

you don't need to do class colouring manually, WA does that as a format option (just doesn't work for the followers in follower dungeons, hence "Shuja Grimaxe" not being coloured there)

#

you don't need to grab the units name with string work, WA does that as a format option
and you most certainly don't need FRAME_UPDATE as an event

vague karma
#

okay thank you so much for taking the time to explain the API changes better then i could understand. i appreciate that. and thank you for rewriting it to something way more simple. i was beating my head trying to figure it out.

hallow lake
#

though I don't know if what I posted there is exactly what you wanted.
right now it just adds an icon of the interrupt (and who interrupted) to the nameplate of the mob that got interrupted, for the duration of the lockout you set in the table there in on init

vague karma
#

no that is exactly what i wanted. i probably just explained it wrong.

hallow lake
#

nah you didn't. that's how I understood it. just doesn't hurt to be double sure

#

to be fair though, are the "lockouts" of regular kicks even relevant anymore for PvE?

#

since Blizzard made it so that it's actually a proper school based lockout now for mobs

#

so they can just continue casting stuff from another school

#

Only stuff like silence is still "true"

vague karma
#

not really relevant tbh. i just look at it in keys/raid to see who kicked since im usually looking at either my feet or nameplates. so mostly just cosmetic i guess.