ClassSpec

Restricts to a specialization ID. For routes, failing this condition makes the route disabled rather than hidden.

Formato do valor
constant reference
Escopo
step-condition, parallel-group-condition, next-route-condition, prefab-condition, route-availability-condition

As descrições técnicas são mantidas no inglês original. Os nomes dos campos e os exemplos em Lua não são alterados.

Exemplos

Exemplo das fontes. Substitua IDs e valores de acordo com sua rota; este site não executa Lua.

Lua · 01
ClassSpec = APR.Specs["Mage - Frost"]

Comportamento e detalhes

Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.

Filters and Conditions

Conditions on the same table combine with AND. Use AnyOf for alternatives, AllOf for repeated predicates and Not to invert a whole condition table.

Filters and Conditions
ScopeSupported conditions / result
Steps and parallelSteps[].conditionsAll filters below; group conditions control insertion, while a failed step filter skips that step.
Route conditions: visibilityInterfaceVersion, InterfaceVersionExact, DontHaveSpell, IsQuestReadyForTurnIn, HasAchievement, DontHaveAchievement, Faction, Race, Class, ClassNot, Event, AlliedRace, IsQuestCompleted, IsQuestUncompleted. Failure hides the route.
Route conditions: availabilityNumeric Level, MinLevel, MaxLevel, BeLvl, plus ClassSpec and Zones. Failure disables the route.
Route-level AnyOfAlternatives use step filters; failure hides the route, including failures of nested level conditions.
Conditional nextRoute / prefab entriesUse step filters; these affect the suggestion or prefab membership.

Pesquisar na wiki

Primeiros passos com o APRRotas e compatibilidadeAutomação do seu jeitoDeixe a interface do seu jeitoNão consegue avançar de etapa?Comandos do dia a diaCrie e compartilhe uma rotaMissões em grupo
Explorar a wiki