Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: Barbz on April 27, 2017, 09:09:15 pm

Title: How to hide selected (enemy) player's buffs ?
Post by: Barbz on April 27, 2017, 09:09:15 pm
Reposting it in a better subforum (I think)

Hello,

I would like to hide players' buffs. It means that if you encounter a player, you don't know which buff he has. You should still be able to see your own buffs, and eventually (not required) friendly players' buffs (same faction, same group, same raid). I think it is exactly how it works in Vanilla so I would like to make it similar in WOTLK.

I know there are DBC parameters like these :
   SPELL_ATTR0_HIDDEN_CLIENTSIDE                = 0x00000080, //  7 Spells with this attribute are not visible in spellbook or aura bar
   SPELL_ATTR0_HIDE_IN_COMBAT_LOG               = 0x00000100, //  8 This attribite controls whether spell appears in combat logs
SPELL_ATTR1_DONT_DISPLAY_IN_AURA_BAR         = 0x10000000, // 28 client doesn't display these spells in aura bar

But since I already tested a lot of spells, I suppose these parameters completely hide the buffs, even from the buff owner, which make them very unpractical to use.

Any idea ?
Title: Re: How to hide selected (enemy) player's buffs ?
Post by: Makpptfox on April 28, 2017, 04:47:00 pm
If I understand correctly, you should be able to do it with some lua/xml editing on the targetframe, dont know where exactly tho.
Title: Re: How to hide selected (enemy) player's buffs ?
Post by: schlumpf on April 28, 2017, 06:33:53 pm
This should be done server side. The server decides what auras to send. It should just be patched not to.
Title: Re: How to hide selected (enemy) player's buffs ?
Post by: Barbz on May 10, 2017, 11:14:01 pm
I'll keep that in mind, thank you.