gameVersion

Client family: "retail", "forever" or "classic". Incompatible routes are hidden and unavailable.

Formato do valor
string
Escopo
route

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
gameVersion = "forever"
Lua · 02
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 },
    },
}

Comportamento e detalhes

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

Route Definition Options

A file may register several independent APR.RouteQuestStepList["route-key"] = { ... } entries. Follow-up routes, prerequisites and prefabs reference these keys, not file names.

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 },
    },
}

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