Health text expansion #1649


  • Enhancment
  • Waiting
Open
  • _ForgeUser12703166 created this issue Nov 27, 2013

    What is the enhancement in mind? How should it look and feel?
    As a tank with close to 1.5 million hp in raids, it would be really nice to see my health to more than 1 decimal place. I cannot find any way to make the health text to read as 1,5XXk or even 1,5XX,XXX which would be a lot cooler than 1.5m.

    Please provide any additional information below.

  • _ForgeUser12703166 added the tags New Enhancment Nov 27, 2013
  • _ForgeUser1474348 posted a comment Nov 27, 2013

    It's hardcoded, the main X-Perl localization file can change the value prefixes.

    Warning : I didn't actually tested, so I don't really sure the changes about I posted here do works...

    Finding the "localization.lua" in the XPerl directory. And you can find some line looks like... (PS: If you're using other locale, please find the other one that match your WoW Client's locale, like if you're in deDE locale, please editing "localization.deDE.lua".)

    XPERL_LOC_LARGENUMDIV	= 1000
    XPERL_LOC_LARGENUMTAG	= "K"
    XPERL_LOC_HUGENUMDIV	= 1000000
    XPERL_LOC_HUGENUMTAG	= "M"
    

    If you want the huge one showed K, just change to...

    XPERL_LOC_LARGENUMDIV	= 1000
    XPERL_LOC_LARGENUMTAG	= "K"
    XPERL_LOC_HUGENUMDIV	= 1000
    XPERL_LOC_HUGENUMTAG	= "K"
    

    But...

    XPERL_LOC_LARGENUMDIV	= 1
    XPERL_LOC_LARGENUMTAG	= ""
    XPERL_LOC_HUGENUMDIV	= 1
    XPERL_LOC_HUGENUMTAG	= ""
    

    I don't know if it ever works...

    Also if your frame's width didn't enough, some parts of value string will bypassed, showed something like "123,456,789/12...", it's why the prefixes doing in first place.


    Edited Nov 27, 2013
  • _ForgeUser1474348 removed a tag New Nov 27, 2013
  • _ForgeUser1474348 added a tag Waiting Nov 27, 2013

To post a comment, please login or register a new account.