Description
This AddOn is mainly for users who have hidden the MainBar but want to have a ReputationBar and a XP/HonorBar. The bars are moveable and scaleable.
The first bar shows the reputation status of the last gained faktion. It switches automaticly the shown faction anytime you get reputation. With a right click you can select the watched faction.
The second bar shows selectable an XP bar or an honor bar. The XP bar changes colors when at rest and displays a second rest bar behind the first. It functions sort of like the real XP bar when it gains rest. If the player reaches level 60 it switch automaticaly to the honor bar.
USAGE: /xrhb <keyword> <args>
KEYWORDS:
show - Show the bars
hide - Hide the bars
texthover - Toggles the hovermode to show the bartext ***NEW-1.02***
setscale <1.0> - Set the scaling of the bars [*1] ***NEW-1.03***
setbar2mode xp/honor - Show the xp/honor bar
blizzxp show/hide - Show/hide the blizz xp bar
blizzrep show/hide - Show/hide the blizz reputation bar
setxptext <text> - Set the text of the ExperienceBar
sethonortext <text> - Set the text of the HonorBar
setreptext <text> - Set the text of the ReputationBar ***NEW-1.02***
VARIABLES (to be used with setxptext): [*2]
&xppercent - returns xp in percent
&xpremaining - returns xp left to next level
&xppercentremaining - returns xp left to next level in percent
&xpcurrent - returns current xp
&xpmax - returns maximum xp possible for the level
&xprest - returns rest xp
&xppercentrest - returns rest xp in percent
VARIABLES (to be used with sethonortext): [*2]
&rankname - returns rank's name
&rank - returns ranknumber
&rankpercent - returns rank in percent
VARIABLES (to be used with setreptext): ***NEW-1.02***
&reppercent - returns rep in percent
&reppercentremaining - returns rep left to next standing in percent
&repcurrent - returns current rep
&repmax - returns maximum rep possible for the level
&repremaining - returns rep left to next standing
&repstanding - returns standing
&repname - returns faction name
[*1] The arg of setscale is e float point number. Default is 1.0 if you want to replace the original blizz bars use a scaling of 1.4
[*2] Some names of the vars are changed for better grouping. i think its better to do it now then make later a bigger renaming. You DON'T need to change your strings. The vars are automaticaly renamed if you update from a version smaller than 1.03
==== Known Bugs: ====
- battleground detection is not working
==== Planned: ====
- more variables for setxptext, setreptext and sethonortext
- better dropdown menu positioning
- better localization


