local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides
G.guides.DRAGONFLIGHT = G.guides.DRAGONFLIGHT or {}

G.guides.DRAGONFLIGHT.ENCHANTING = {
    profession  = "Enchanting",
    skillLineID = 2825,
    name = "Наложение чар — Dragonflight (1–100)",

    trainers = {
        alliance = {
            {
                npcID = 193744,
                name  = "Soragosa",
                mapID = 2112,
                x = 34.8,
                y = 59.4,
            },
        },
        horde = {
            {
                npcID = 193744,
                name  = "Soragosa",
                mapID = 2112,
                x = 34.8,
                y = 59.4,
            },
        },
    },

    steps = {

        {
            min = 1,
            max = 2,
            recipes = {
                {
                    itemID = 201601,
                    crafts = 1,
                    reagents = {
                        { itemID = 201584, count = 1 },
                        { itemID = 194123, count = 3 },
                    },
                },
            },
            note = "Купите Serevite Rod у Andoris рядом с тренером. Наденьте сделанный жезл.",
        },

        {
            min = 2,
            max = 5,
            recipes = {
                {
                    spellID = 389151,
                    crafts = 1,
                    reagents = {
                        { itemID = 194123, count = 3 },
                    },
                },
            },
        },

        {
            min = 5,
            max = 15,
            recipes = {
                {
                    spellID = 388930,
                    crafts = 10,
                    reagents = {
                        { itemID = 194123, count = 3 },
                    },
                },
            },
            note = "Распыляйте снаряжение с прокачки — даёт очки до 25 навыка.",
        },

        {
            min = 15,
            max = 21,
            recipes = {
                {
                    spellID = 390823,
                    crafts = 1,
                    reagents = {
                        { itemID = 194123, count = 4 },
                        {
                            anyOf = {
                                { itemID = 189143 },
                                { itemID = 188658 },
                                { itemID = 190311 },
                            },
                            count = 3,
                        },
                        {
                            anyOf = {
                                { itemID = 191470 },
                                { itemID = 191471 },
                                { itemID = 191472 },
                            },
                            count = 2,
                        },
                    },
                },
            },
            note = "Наденьте Runed Draconium Rod. Старый жезл можно продать.",
        },

        {
            min = 21,
            max = 25,
            recipes = {
                {
                    spellID = 389298,
                    crafts = 4,
                    reagents = {
                        { itemID = 194124, count = 1 },
                    },
                },
            },
        },

        {
            min = 25,
            max = 31,
            recipes = {
                {
                    spellID = 389398,
                    crafts = 6,
                    reagents = {
                        { itemID = 194123, count = 8 },
                    },
                },
            },
            note = "На 25 открываются специализации. Выберите Enchantment первой — не тратьте очки знаний сразу!",
        },

        {
            min = 31,
            max = 35,
            recipes = {
                {
                    spellID = 389295,
                    crafts = 4,
                    reagents = {
                        { itemID = 194123, count = 5 },
                        { itemID = 194124, count = 3 },
                    },
                },
            },
        },

        {
            min = 35,
            max = 40,
            recipes = {
                {
                    spellID = 389293,
                    crafts = 5,
                    reagents = {
                        { itemID = 194123, count = 5 },
                        { itemID = 194124, count = 3 },
                    },
                },
            },
        },

        {
            min = 40,
            max = 50,
            recipes = {
                {
                    spellID = 390951,
                    crafts = 12,
                    reagents = {
                        { itemID = 194123, count = 2 },
                        {
                            anyOf = {
                                { itemID = 190315 },
                                { itemID = 190320 },
                                { itemID = 190326 },
                                { itemID = 190328 },
                            },
                            count = 2,
                        },
                        {
                            anyOf = {
                                { itemID = 191470 },
                                { itemID = 191471 },
                                { itemID = 191472 },
                            },
                            count = 1,
                        },
                    },
                },
            },
            note = "Illusory Adornment — выбирайте элемент с самым дешёвым Rousing на аукционе.",
        },

        {
            min = 50,
            max = 65,
            recipes = {
                {
                    spellID = 389301,
                    crafts = 33,
                    reagents = {
                        { itemID = 194123, count = 5 },
                        { itemID = 194124, count = 4 },
                    },
                },
            },
            note = "Вложите 10 очков в специализацию Enchantment → изучите Material Manipulation → 10 очков → изучите Adaptive.",
        },

        {
            min = 65,
            max = 80,
            recipes = {
                {
                    spellID = 389301,
                    crafts = 33,
                    reagents = {
                        { itemID = 194123, count = 5 },
                        { itemID = 194124, count = 4 },
                    },
                },
            },
        },

        {
            min = 80,
            max = 100,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 80 уровня навыка.|r\nПовышайте навык предметами декора.\n|cffaaaaaаИспользуйте любые доступные рецепты декора текущей эпохи.|r",
        },

    },
}
