raethkcj / RatingBuster

An item comparison tool for WoW Classic.
GNU General Public License v2.0
58 stars 14 forks source link

How to fix position % values on stats crit, hit... #16

Closed ZendorES closed 3 years ago

ZendorES commented 3 years ago

I need to move the value in percentage to the end of stat image

I need ."...X p. (x,xx%)"

Thx!!

raethkcj commented 3 years ago

Hmm, I made some changes that I think will work, although this could affect more than I'm intending, so I'd appreciate if you could test it.

Basically, this will treat the numberPatterns in each locale file (esES.lua etc.) as if they were actually numbers. So with the pattern defined there, 6 p will be considered a number instead of just 6.

https://github.com/raethkcj/RatingBuster/commit/14b56a630c5cda4e8d692cf45b82dd52a6deb3bf

ZendorES commented 3 years ago

Perfect!!! image

Thx, I have many doubts, I am new to this and I need to make more changes, when I do not know how to continue I will tell you about it here!