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.
- 값 형식
- table
- 적용 범위
- step
기술 설명은 영어 원문으로 유지됩니다. 필드 이름과 Lua 예제는 변경되지 않았습니다.
예제
원문 예제입니다. 노선에 맞게 ID와 값을 바꾸세요. 이 웹사이트는 Lua를 실행하지 않습니다.
Lua · 01
SkipIfCooldown = { { itemID = 6948, operator = ">", seconds = 2, once = true } }문서화된 매개변수
| 문서화된 매개변수 | 동작 및 세부 사항 | 값 형식 |
|---|---|---|
itemID | Shown in the source example; this does not establish a required field. | number |
operator | Shown in the source example; this does not establish a required field. | string |
seconds | Shown in the source example; this does not establish a required field. | number |
once | Shown in the source example; this does not establish a required field. | boolean |
동작 및 세부 사항
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
| Scope | Supported conditions / result |
|---|---|
Steps and parallelSteps[].conditions | All filters below; group conditions control insertion, while a failed step filter skips that step. |
Route conditions: visibility | InterfaceVersion, InterfaceVersionExact, DontHaveSpell, IsQuestReadyForTurnIn, HasAchievement, DontHaveAchievement, Faction, Race, Class, ClassNot, Event, AlliedRace, IsQuestCompleted, IsQuestUncompleted. Failure hides the route. |
Route conditions: availability | Numeric Level, MinLevel, MaxLevel, BeLvl, plus ClassSpec and Zones. Failure disables the route. |
Route-level AnyOf | Alternatives use step filters; failure hides the route, including failures of nested level conditions. |
Conditional nextRoute / prefab entries | Use step filters; these affect the suggestion or prefab membership. |
Level requirement forms
| Form | Meaning / supported fields |
|---|---|
MinLevel = 10 | Whole level threshold. |
Grind = 87.5 | Level 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 fields | Step Grind, Level, MinLevel, MaxLevel, SkipForLvl. Route-selection level thresholds remain numeric; BeLvl does not accept profiles or absolute XP tables. |
| Absolute XP validation | Finite 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. |