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

G.guides.OUTLAND.ENCHANTING = {
    profession  = "Enchanting",
    skillLineID = 2493,
    name = "Наложение чар — The Burning Crusade (1–75)",

    trainers = {
        alliance = {
            {
                npcID = 33676,
                name  = "Zurii",
                mapID = 111,
                x = 36.6,
                y = 45.2,
            },
        },
        horde = {
            {
                npcID = 33610,
                name  = "Enchanting",
                mapID = 111,
                x = 43.8,
                y = 90.2,
            },
        },
    },
vendors = {
    alliance = {
        {
            npcID = 19663, -- Madame Ruby
            name  = "Madame Ruby",
            mapID = 111, -- Shattrath City
            x = 63.6,
            y = 70.0,
            sells = {
                { itemID = 28282, note = "Formula: Enchant Shield - Major Stamina" },
                { itemID = 22563, note = "Formula: Superior Wizard Oil" },
            },
        },
    },
    horde = {
        {
            npcID = 19663, -- Madame Ruby
            name  = "Madame Ruby",
            mapID = 111, -- Shattrath City
            x = 63.6,
            y = 70.0,
            sells = {
                { itemID = 28282, note = "Formula: Enchant Shield - Major Stamina" },
                { itemID = 22563, note = "Formula: Superior Wizard Oil" },
            },
        },
    },
},
    steps = {

        {
            min = 1,
            max = 10,
            recipes = {
                {
                    spellID = 34002,
                    crafts = 9,
                    reagents = {
                        { itemID = 22445, count = 6 },
                    },
                },
            },
        },

        {
            min = 10,
            max = 16,
            recipes = {
                {
                    spellID = 27899,
                    crafts = 6,
                    reagents = {
                        { itemID = 22445, count = 6 },
                    },
                },
            },
        },

        {
            min = 16,
            max = 30,
            recipes = {
                {
                    spellID = 27961,
                    crafts = 16,
                    reagents = {
                        { itemID = 22445, count = 8 },
                    },
                },
            },
            note = "Рецепт станет жёлтым между 20–30, может потребоваться больше крафтов.",
        },

		{
			min = 30,
			max = 35,

			recipes = {
				{
					spellID = 34009,
					crafts = 5,
					reagents = {
						{ itemID = 22445, count = 15 },
					},
					requires = {
						{ type = "recipe_item", itemID = 28282 },
					},
				},
			},

			note = "|cff00ff00Купите рецепт у Madame Ruby в Шаттрате.|r\nКупите ещё Формула: превосходное волшебное масло.",
		},

        {
            min = 35,
            max = 40,
            recipes = {
                {
                    spellID = 44383,
                    crafts = 5,
                    reagents = {
                        { itemID = 22449, count = 1 },
                        { itemID = 22447, count = 4 },
                    },
                },
            },
        },

        {
            min = 40,
            max = 50,
            recipes = {
                {
                    spellID = 28019,
                    crafts = 13,
                    reagents = {
                        { itemID = 22445, count = 3 },
                        { itemID = 22792, count = 1 },
                        { itemID = 3371,  count = 1 },
                    },
                },
            },
            note = "Рецепт продаётся у Madame Ruby в Шаттрате. Crystal Vial — у продавца торговых товаров.",
        },

        {
            min = 50,
            max = 60,
            recipes = {
                {
                    spellID = 33995,
                    crafts = 10,
                    reagents = {
                        { itemID = 22445, count = 12 },
                        { itemID = 22446, count = 1 },
                    },
                },
            },
        },

        {
            min = 60,
            max = 69,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 33995,
                    crafts = 15,
                    reagents = {
                        { itemID = 22445, count = 12 },
                        { itemID = 22446, count = 1 },
                    },
                },
            },
            note = "|cff00ff00Декор доступен с 60 уровня навыка.|r\nПовышайте навык предметами декора.\nИспользуйте любые доступные рецепты декора текущей эпохи.|r",
        },

        {
            min = 69,
            max = 75,
            disablesShopping = true,
            recipes = {
                {
                    spellID = 28028,
                    crafts = 6,
                    reagents = {
                        { itemID = 22450, count = 2 },
                    },
                },
            },
            note = "Void Sphere имеет кулдаун 2 дня. Можно также продолжать крафтить Major Strength.",
        },

    },
}
