Outfitter

71 - Request: change stats on character sheet

Automatically switching gear when you go from primary spec to secondary is fantastic. But I still need to change the displayed stats in the little drop down on the character sheet, for instance to display defense when in tanking gear and melee when in dps.

In the settings for each outfit, there are options to display/hide cloak and hat, and to change title. Could you please add an option to change the displayed stats here as well?

I have been able to find the code for this. It's in PaperDollFrame.lua in a function called PlayerStatFrameRightDropDown_OnClick(). A working example, in the form of a macro:

/run local stat="PLAYERSTAT_DEFENSES"; UIDropDownMenu_SetSelectedValue(getglobal("PlayerStatFrameRightDropDown"),stat); SetCVar("playerStatRightDropdown", stat); UpdatePaperdollStats("PlayerStatFrameRight", stat);

stat can be the values "PLAYERSTAT_BASE_STATS", "PLAYERSTAT_MELEE_COMBAT", "PLAYERSTAT_RANGED_COMBAT", "PLAYERSTAT_SPELL_COMBAT" or "PLAYERSTAT_DEFENSES".

User When Change
Mundocani Oct 11, 2010 at 01:54 UTC Changed status from Accepted to Declined
Mundocani Sep 28, 2009 at 04:33 UTC Changed status from New to Accepted
Gamon34 Sep 28, 2009 at 02:49 UTC Create

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

  • 3 comments
  • Avatar of Mundocani Mundocani Oct 11, 2010 at 01:54 UTC - 0 likes

    Looks like WoW has made this obsolete, closing the ticket

  • Avatar of Gamon34 Gamon34 Sep 28, 2009 at 13:39 UTC - 0 likes

    Alright, thanks.

  • Avatar of Mundocani Mundocani Sep 28, 2009 at 04:32 UTC - 0 likes

    I'll consider this for sometime in the future, but I think it's really outside of what Outfitter should do (ie, it's not actually related to outfits per-se, but to dual specs and the display on the character sheet).  But it's sort of Outfitter-related since your stats are determined in part by what you're wearing.

    Regardless of whether I add it, you could also change your scripts to do it for you.  Choose the Primary Talents or Secondary Talents script and then change the script to Custom and at the end insert something like this:

    if equip then SetCVar("playerStatRightDropdown", "PLAERSTAT_MELEE_COMBAT") end

    That'll change the setting at the same time the script tries to equip the outfit.  It probably won't cause the character window to change if it's already open, but normally it won't be and it will update the menu to the correct setting when you do open it.

  • 3 comments

Facts

Last updated
Oct 11, 2010
Reported
Sep 28, 2009
Status
Declined - We decided not to take action on this ticket.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees