This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: How to hide selected (enemy) player's buffs ?  (Read 1154 times)

Barbz

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 48
    • View Profile
    • YHOOL
How to hide selected (enemy) player's buffs ?
« 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 ?

Makpptfox

  • Contributors
  • Loreweaver
  • *****
  • Posts: 103
    • View Profile
Re: How to hide selected (enemy) player's buffs ?
« Reply #1 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.
« Last Edit: April 28, 2017, 05:26:10 pm by Makpptfox »
For support, send your Discord's ID by PM.

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: How to hide selected (enemy) player's buffs ?
« Reply #2 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.

Barbz

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 48
    • View Profile
    • YHOOL
Re: How to hide selected (enemy) player's buffs ?
« Reply #3 on: May 10, 2017, 11:14:01 pm »
I'll keep that in mind, thank you.