set_class
Assign a character class and optional ascendancy to the active build, re-rooting the passive tree for class-specific calculations. Returns stats.
Instructions
Set the active build's character class and (optionally) ascendancy.
class_name is a base class (e.g. "Mercenary", "Witch", "Ranger"); ascendancy is one of
its ascendancies (e.g. "Witchhunter"). This re-roots the passive tree at that class's start,
so subsequent passive search/allocate/optimize operate on the correct class. It does NOT clear
existing gear/skills/config — call new_build first if you want a clean slate. Returns stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| class_name | Yes | ||
| ascendancy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||