SkipIfCooldown

Skips this step when the item cooldown exceeds the threshold on entry. Use spellID for a spell. Omit once to monitor continuously, for example < 300 on a farming/waiting step.

Format de la valeur
table
Portée
step

Les descriptions techniques sont conservées dans leur anglais d’origine. Les noms des champs et les exemples Lua sont inchangés.

Exemples

Exemple issu des sources. Remplacez les identifiants et les valeurs selon votre route ; ce site n’exécute pas de Lua.

Lua · 01
SkipIfCooldown = { { itemID = 6948, operator = ">", seconds = 2, once = true } }

Paramètres documentés

Paramètres documentésFonctionnement et détailsFormat de la valeur
itemIDShown in the source example; this does not establish a required field.number
operatorShown in the source example; this does not establish a required field.string
secondsShown in the source example; this does not establish a required field.number
onceShown in the source example; this does not establish a required field.boolean

Fonctionnement et détails

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.
Level requirement forms
FormMeaning / supported fields
MinLevel = 10Whole level threshold.
Grind = 87.5Level 87 with at least 50% XP progress.
MinLevel = "MidnightDelves"Named dynamic threshold from the configured active XP bonuses.
Grind = { level = 3, xp = 325 }Level 3 with at least 325 XP into that level.
Grind = { level = 4, xp = -700 }At most 700 XP remaining before level 4.
Grind = { level = 60, xp = 0, questLogXP = { 4901, 4508 } }Deducts the current rewards of listed, completed quests still in the player's log. Unknown XP, unfinished quests and already rewarded quests give no credit.
SkipIfCooldown = { { itemID = 6948, operator = ">", seconds = 2, once = true } }Skips this step when the item cooldown exceeds the threshold on entry. Use spellID for a spell. Omit once to monitor continuously, for example < 300 on a farming/waiting step.
Supported fieldsStep Grind, Level, MinLevel, MaxLevel, SkipForLvl. Route-selection level thresholds remain numeric; BeLvl does not accept profiles or absolute XP tables.
Absolute XP validationFinite integers: level >= 1, signed xp. Uses the current client's XP range for the relevant level; out-of-range targets clamp to its boundaries. Missing XP data delays completion.

Rechercher dans le wiki

Bien démarrer avec APRRoutes et compatibilitéDes automatismes à votre mesureUne interface à votre goûtUne étape vous bloque ?Les commandes du quotidienCréer et partager une routeFaire ses quêtes en groupe
Consulter le wiki