using default nameplate debuff filter
https://www.wowinterface.com/forums/...ad.php?t=58558
the code in the last post here allows you to change what debuffs show on nameplates with the ShouldShowBuff function but there is no way to tell if the debuff is yours or not? even though there is another parameter it is always false? i have tried nameplateAuras and plater but just wanna get it working with normal nameplates if possible please and thanks |
I think caster is the UnitID. You should be able to check this against player, pet, and/or vehicle. The args can change over the years though.
|
Quote:
The caster parameter seems to be always false bool from print? Name is a table and I need to use name["name"] to get the name from it? I can use self.unit but it is the target not the source... the targetdummy nameplate https://www.wowinterface.com/forums/...d.php?p=340221 i wish someone would make an addon that manages the default blizzard aura frames |
I'm guessing this is for retail as the function replaced doesn't exist in classic. That being said, this is the original function. It appears to have been changed for Dragon Flight.
Lua Code:
aura seems to be a table returned by C_UnitAuras.GetAuraDataByAuraInstanceID() / C_UnitAuras.GetAuraDataBySlot(). |
All times are GMT -6. The time now is 10:58 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI