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

G.guides.TWW.ENCHANTING = {
    profession  = "Enchanting",
    skillLineID = 2874,
    name = "Наложение чар — The War Within (1–100)",

    trainers = {
        alliance = {
            {
                npcID = 219085,
                name  = "Нагад",
                mapID = 2339,
                x = 52.8,
                y = 71.2,
            },
        },
        horde = {
            {
                npcID = 219085,
                name  = "Нагад",
                mapID = 2339,
                x = 52.8,
                y = 71.2,
            },
        },
    },

    steps = {

        {
            min = 1,
            max = 10,
            recipes = {
                {
                    spellID = 445384,
                    crafts = 9,
                    reagents = {
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 5,
                        },
                    },
                },
            },
            note = "Купите Bismuth Rod у продавца рядом с тренером в Дорногале — он заменяет чарующий жезл.\n" ..
                   "Распыляйте снаряжение с прокачки — даёт очки до 25 навыка.",
        },

        {
            min = 10,
            max = 15,
            recipes = {
                {
                    spellID = 445358,
                    crafts = 5,
                    reagents = {
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 5,
                        },
                    },
                },
            },
        },

        {
            min = 15,
            max = 18,
            recipes = {
                {
                    spellID = 445371,
                    crafts = 1,
                    reagents = {
                        { itemID = 213613, count = 1 },
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 3,
                        },
                        {
                            anyOf = {
                                { itemID = 219949 },
                                { itemID = 219950 },
                                { itemID = 219951 },
                            },
                            count = 1,
                        },
                    },
                },
            },
            note = "Скрафтите по 1 штуке новых рецептов — бонус первого крафта даёт очки знаний.",
        },

        {
            min = 18,
            max = 27,
            recipes = {
                {
                    spellID = 445361,
                    crafts = 3,
                    reagents = {
                        { itemID = 227208, count = 1 },
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 10,
                        },
                    },
                },
            },
            note = "Наденьте Runed Bismuth Rod с вторичной статой Resourcefulness если выпадет.",
        },

        {
            min = 27,
            max = 50,
            disablesCraft = true,
            disablesCraftAll = true,
            disablesShopping = true,
            note = "|cff00ff00Декор доступен с 27 уровня навыка.|r\n\n" ..
                   "Откройте специализацию |cff00ff00Ephemerals, Enrichments, and Equipment|r.\n" ..
                   "Вложите 5 очков → изучите Deceptive Decorations → вложите 15 очков.\n" ..
                   "Скрафтите все 22 рецепта Gleeful Glamour\n" ..
                   "(22 очка знаний + ~23 очка навыка).",
        },

        {
            min = 50,
            max = 56,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 445340,
                    crafts = 6,
                    reagents = {
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 5,
                        },
                    },
                },
            },
        },

        {
            min = 56,
            max = 60,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 445373,
                    crafts = 4,
                    reagents = {
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 10,
                        },
                    },
                },
            },
        },

        {
            min = 60,
            max = 70,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 445374,
                    crafts = 13,
                    reagents = {
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 10,
                        },
                    },
                },
            },
        },

        {
            min = 70,
            max = 80,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 445379,
                    crafts = 5,
                    reagents = {
                        { itemID = 221754, count = 1 },
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 50,
                        },
                        {
                            anyOf = {
                                { itemID = 219949 },
                                { itemID = 219950 },
                                { itemID = 219951 },
                            },
                            count = 5,
                        },
                        {
                            anyOf = {
                                { itemID = 219952 },
                                { itemID = 219954 },
                                { itemID = 219955 },
                            },
                            count = 1,
                        },
                    },
                },
            },
            note = "Скрафтите по 1 из каждого оружейного чара для бонуса первого крафта:\n" ..
                   "Council's Guile, Oathsworn's Tenacity, Stonebound Artistry, Stormrider's Fury.",
        },

        {
            min = 80,
            max = 91,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 445389,
                    crafts = 6,
                    reagents = {
                        { itemID = 221756, count = 1 },
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 40,
                        },
                        {
                            anyOf = {
                                { itemID = 219949 },
                                { itemID = 219950 },
                                { itemID = 219951 },
                            },
                            count = 5,
                        },
                    },
                },
            },
            note = "Chant of Burrowing Rapidity — проверьте цены на аукционе для Chant of Winged Grace и остальных.",
        },

        {
            min = 91,
            max = 100,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 445331,
                    crafts = 3,
                    reagents = {
                        { itemID = 221758, count = 1 },
                        {
                            anyOf = {
                                { itemID = 219946 },
                                { itemID = 219947 },
                                { itemID = 219948 },
                            },
                            count = 75,
                        },
                        {
                            anyOf = {
                                { itemID = 219949 },
                                { itemID = 219950 },
                                { itemID = 219951 },
                            },
                            count = 10,
                        },
                        {
                            anyOf = {
                                { itemID = 219952 },
                                { itemID = 219954 },
                                { itemID = 219955 },
                            },
                            count = 2,
                        },
                    },
                },
            },
            note = "Authority enchants дают 3 очка навыка каждый — достаточно 3 крафтов.\n" ..
                   "Authority of Air (Challenger's Cache, The Dawnbreaker) или\n" ..
                   "Authority of Fiery Resolve (специализация Everlasting Enchantments).",
        },

    },
}
