ySeries is a series of small independant addons.
They alle have in common that they are fully movable and that they can be placed anywhere on your screen.
When in combat the frames are locked to prevent accidental movement of the frames.
The availabe addons are:
If you want to modify the the look of any of these addons, modify the constants in the lua file.
You can use any text editor (I use Notepad++).
This is the version history of the ySeries.
August 28, 2019
- Added yExperiencePoints Classic
May 10, 2019
- Updated the TOC of the ySeries (finally) and better placement of the text inside the frame.
Juli 19, 2018:
- Updated yArmour for version 8.0.1 (BfA)
October 15, 2017:
- Added yGuildTabard
October 9, 2017:
- Added yExperiencePoints
September 5, 2017:
- Added yArmor
- Added tooltips the existing addons.
August 14, 2017:
- Initial release of the ySeries.
An example of the ySeries.
What if, instead of three separate addons for the primary stats, you had just one for primary stats that dynamically changed depending on which spec you're in?
Using GetSpecialization() you can get the spec ID for the spec the player is currently in, and with GetSpecializationInfo() you can know which primary stat is used (without having to hardcode in a list.)
This will output 1 (strength), 2 (agility) or 4 (intellect) into primaryStat, which are the same as the LE_UNIT_STAT_STRENGTH, LE_UNIT_STAT_AGILITY and LE_UNIT_STAT_INTELLECT constants.
That way you only need to have one addon installed and it'll cover whichever primary stat you'd be interested in seeing for your current character. Also only need to maintain 1 addon if it needs to be worked on and updated :p
ySeries started as a simple addon for my fury warrior, as I wanted to display his current strenght.
Then I though about dispaying all his main stats (even if they are not relevant).
So I made the four independant ones (yArmor was made later).
And yes I thought about making just one addon whith a simple menu where you could choose which stats to display.
But I liked the fact that these addons are really small (only 11k or so).
So I decided to make several small addons instead of one bigger one. :)
And I know how to use GetSpecialization(), GetSpecializationRole() and GetSpecializationInfo(), thay are used in the tooltips.
(and "how to use" means in this case copied from PaperDollFrame.lua :D).
Wowprogramming has been dead for a couple of years now, as Cladhaire has moved on to other projects in his life and career.
Reference Wowpedia.org for up-to-date API documentation.
yGuildTaberd has been added to the ySeries.
Choose from a square or a circular guild tabard.
Also works when you are (not yet) in a guild.
Use the slash commands /yGT or /yGuildTabard to show or hide the Guild Tabard.
Use the slash commands /ygt square and /ygt circle to change the Guild Tabard.
After changing the game needs to be reloaded for the change take effect.
yPlayerHP and yTargetHP
yPlayerHP and yTargetHP have been added to the ySeries.
I added yExperiencePointsClassic to the ySeries.
As requested by a user, yCriticalStrike added to ySeries.
|All times are GMT -6. The time now is 02:57 PM.|
vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI