PitBull Unit Frames 4.0

60 - Extend layouts for class specific setup

What is the enhancement in mind?

The current setup is fine. I do setup pitbull to look the same in all my classes (position / size  / indicator wise).

Yet there are special cases where i want to configure Pitbull for class specific issues.

Warlocks / Mages / Priests have dog-tags for Banish / Polymorph / Shackle Undead with countdowns.

Maybe the Text-Tags would be extended to 'Show for Class:X'.

How should it look and feel?

The chosen Indicator would show up for Class:X, but would be ignored (save CPU time / space) while Class:Y is logged in.

User When Change
essmene Jan 11, 2009 at 12:36 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Shefki Shefki Aug 21, 2009 at 15:19 UTC - 0 likes

    Well as far as text tags you can already hide them based on class with the DogTags if syntax and with if conditionals in LuaTexts. E.G.

    local _,class = UnitClass("player")
    if class == "MAGE" then
       -- something
    Last edited Aug 21, 2009 by Shefki
  • Avatar of Nandini Nandini Aug 18, 2009 at 02:13 UTC - 0 likes

    I would oppose such a feature because I feel that it would needlessly complicate the configuration UI when a suitable solution is already available. Yes, changing 10 profiles does require 10 times more work for users who regularly play 10 classes and require separate unitframe features for each of them. I would argue that it's better for those few users to spend that extra time than to clutter up the configuration UI for the other 99% of users.

    If you are interested simply in texts that only display (or change their display) when the player is a certain class, you can probably accomplish this using LuaTexts already.

  • Avatar of essmene essmene Aug 17, 2009 at 13:27 UTC - 0 likes

    The problem is that profiles do not _share_ data.

    So if you have 10 'class' profiles and want to change the position of a single frame, the other profiles won't adopt this setup.

    Copying does not work - it will require setting up the class specific stuff again or 10x manual tweaking.

  • Avatar of Nandini Nandini Aug 17, 2009 at 06:36 UTC - 0 likes

    It seems like this can already be handled using profiles. Perhaps profile support was not yet fully implemented when this ticket was originally opened.



Last updated
Mar 30, 2012
Jan 11, 2009
New - Issue has not had initial review yet.
Enhancement - A change which is intended to better the project in some way
Medium - Normal priority.

Reported by

Possible assignees