LibDualSpec-1.0
Adds spec profile support to individual AceDB-3.0 databases and provides AceDBOptions-3.0 hooks to handle it.
This allows the user to enable the spec profile feature to select alternate profiles to be set on specialization switch.
This feature is disabled by default and the user has to create the alternate profiles themselves.
Read the Quick tutorial to know how to add spec profile support to your addon. There is also an API reference, although you shouldn't be calling the API directly in most cases.
Localization
You can update localization directly on GitHub or by using the WoWAce localization tool.
I just downloaded and set this up to work with quartz to setup a dual profile, but buggrabber is getting an error that its unable to load the libdualspec but yet quarts is giving me the dual profile options now.
Updated ruRU locale.
If this works in 4.x, can you tag the repository so that it can be packaged with addons? I use "tag: latest" in .pkgmeta and it currently seems to pick up 1.6 which errors in 5.x, and i would like to start pushing a release of my addons with a version of libdualspec that also works in 5.x for minimal breakage when the patch hits. Thanks!
3x LibDualSpec-1.0\LibDualSpec-1.0-11.lua:50: attempt to compare nil with number LibDualSpec-1.0\LibDualSpec-1.0-11.lua:50: in main chunk
@Adirelle
I like your fix better :). Thanks!
Fixed in latest alpha.
WoW 5.0 changed GetActiveTalentGroup() to GetActiveSpecGroup(). I fixed this by adding
above the SetScript for OnEvent, then changed newTalentGroup's assignment to:
NoDualSpec() needs similar treatment for GetNumSpecGroups().
I would submit the fix, but attempting to login to the development git is asking for a password.