SkipForPrimaryProfessions

Skip once at least X primary professions are learned (positive integer). 2 keeps the step with zero or one profession. Cooking, fishing, first aid and archaeology never count.

Formato del valor
number
Ámbito
step-condition, parallel-group-condition, next-route-condition, prefab-condition

Las descripciones técnicas se conservan en su inglés original. Los nombres de los campos y los ejemplos de Lua no se modifican.

Ejemplos

Ejemplo de las fuentes. Sustituye los ID y valores según tu ruta; este sitio no ejecuta Lua.

Lua · 01
SkipForPrimaryProfessions = 2
Lua · 02
SkipForPrimaryProfessions = 1
Lua · 03
APR.RouteQuestStepList["Forever-Training-Example"] = {
    label = "Training example",
    gameVersion = "forever",
    mapID = 1411,
    conditions = { Faction = "Horde", Class = "MAGE" },
    steps = {
        {
            LearnSkill = { spellID = 7411 },
            MinLevel = 5,
            SkipForPrimaryProfessions = 2,
            Coord = { x = -4960.0, y = -791.3 },
            Zone = 1411,
        },
        { PickUp = { 96873 }, Skill = { skillID = 333, rank = 1 }, Zone = 1411 },
        { RouteCompleted = true },
    },
}

Funcionamiento y detalles

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.
Primary-profession threshold

SkipForPrimaryProfessions = 1 skips a reminder once any primary profession is learned; 2 skips only once two are learned. Learning or unlearning refreshes the condition.

Example Route
APR.RouteQuestStepList["Forever-Training-Example"] = {
    label = "Training example",
    gameVersion = "forever",
    mapID = 1411,
    conditions = { Faction = "Horde", Class = "MAGE" },
    steps = {
        {
            LearnSkill = { spellID = 7411 },
            MinLevel = 5,
            SkipForPrimaryProfessions = 2,
            Coord = { x = -4960.0, y = -791.3 },
            Zone = 1411,
        },
        { PickUp = { 96873 }, Skill = { skillID = 333, rank = 1 }, Zone = 1411 },
        { RouteCompleted = true },
    },
}

Buscar en la wiki

Primeros pasos con APRRutas y compatibilidadAutomatización a tu medidaUna interfaz a tu gusto¿No puedes avanzar de paso?Comandos de uso diarioCrea y comparte una rutaMisiones en grupo
Explorar la wiki