GovtGeek / Outfitter

Outfitter - Classic
MIT License
5 stars 0 forks source link

CATA - Primary & Secondary Talent Automation #26

Open Aetherdan opened 1 month ago

Aetherdan commented 1 month ago

The automation options for primary and secondary talent automation aren't available for Classic Cataclysm. Is this a limitation with the forking of the addon or is this something that was missed?

DanSheps commented 1 month ago

You can do a custom script for this (Also choose "Disable in Combat"), just in case:

-- $EVENTS ACTIVE_TALENT_GROUP_CHANGED
-- $DESC Equips event on Spec Change
-- $SETTING spec={Label="Spec", Type="Number"}

if not isEquipped and GetActiveTalentGroup() == setting.spec then
    print('Equipping Outfit "' .. outfit.Name .. '"')
    equip = true
else
    return
end

Then there will be a setting for the "spec", you would choose "1" for the Primary spec and "2" for the Secondary spec