→ WoW API
Changes the active specialization/talents/glyphs group (dual-spec).
- Number - Specialization group to activate; 1 for primary, 2 for secondary.
- This function is not protected, but you can only be change specializations while not in combat.
- Passing invalid specGroup indices fails silently.