local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

G.guides.SHADOWLANDS = G.guides.SHADOWLANDS or {}

G.guides.SHADOWLANDS.ALCHEMY = {
	profession  = "Alchemy",
    skillLineID = 2750, -- Shadowlands Alchemy
    nameKey = "PG_GUIDE_SHADOWLANDS_ALCHEMY_NAME",


    trainers = {
        alliance = {
            {
                npcID = 156689, -- Elixirist Au'pyr
                name  = "Elixirist Au'pyr",
                mapID = 1670, -- Oribos
                x = 39.6,
                y = 39.6,
            },
        },
        horde = {
            {
                npcID = 156689,
                name  = "Elixirist Au'pyr",
                mapID = 1670,
                x = 39.6,
                y = 39.6,
            },
        },
    },

	steps = {

		-- Шаг 1a: 1–7 — 8x Spiritual Healing Potion
		{
			min = 1,
			max = 10,
			recipes = {
				{
					spellID = 301578,
					itemID = 171267,
					crafts = 9,
					autoReagents = true,
				},
			},
		},

		-- Шаг 1b: 7–14 — 8x Spiritual Mana Potion
		{
			min = 10,
			max = 15,
			recipes = {
				{
					spellID = 307118,
					itemID = 171268,
					crafts = 5,
					autoReagents = true,
				},
			},
		},

		-- Шаг 1c: 14–20 — 8x Spiritual Rejuvenation Potion
		{
			min = 15,
			max = 30,
			recipes = {
				{
					spellID = 307120,
					itemID = 171269,
					crafts = 21,
					autoReagents = true,
				},
			},
		},

		-- Шаг 3: 30–45 — 15x Ground Rising Glory
		{
			min = 30,
			max = 45,
			recipes = {
				{
					spellID = 261424,
					itemID = 171266,
					crafts = 15,
					autoReagents = true,
				},
			},
		},

		-- Шаг 4: 45–55 — 10x Ground Vigil's Torch
		{
			min = 45,
			max = 55,
			recipes = {
				{
					spellID = 307123,
					itemID = 171290,
					crafts = 10,
					autoReagents = true,
				},
			},
		},

		-- Шаг 5: 55–60 — 5x Ground Widowbloom
		{
			min = 55,
			max = 60,
			recipes = {
				{
					spellID = 256134,
					itemID = 171263,
					crafts = 5,
					autoReagents = true,
				},
			},
		},

		-- Шаг 6: 60–80 — 28x Ground Nightshade
		{
			min = 60,
			max = 80,
			recipes = {
				{
					spellID = 256133,
					itemID = 171370,
					crafts = 28,
					autoReagents = true,
				},
			},
		},

		-- Шаг 7: 80–97 — 22x Ground Marrowroot
		{
			min = 80,
			max = 97,
			recipes = {
				{
					spellID = 307121,
					itemID = 171288,
					crafts = 22,
					autoReagents = true,
				},
			},
		},

		-- Шаг 8: 97–100 — 3x Potion of Spectral Agility
		{
			min = 97,
			max = 100,
			recipes = {
				{
					spellID = 344316,
					itemID = 184090,
					crafts = 3,
					autoReagents = true,
				},
			},
		},

		-- Шаг 9: 100–110 — 10x Potion of Spectral Intellect
		{
			min = 100,
			max = 110,
			recipes = {
				{
					spellID = 307095,
					itemID = 171271,
					crafts = 10,
					autoReagents = true,
				},
			},
		},

		-- Шаг 10: 110–120 — 14x Potion of Spectral Strength
		{
			min = 110,
			max = 120,
			recipes = {
				{
					spellID = 307122,
					itemID = 171289,
					crafts = 14,
					autoReagents = true,
				},
			},
		},

		-- Шаг 11: 120–125 — 7x Potion of Spectral Stamina
		{
			min = 120,
			max = 125,
			recipes = {
				{
					spellID = 307095,
					itemID = 171271,
					crafts = 8,
					autoReagents = true,
				},
			},
		},

		{
			min = 125,
			max = 135,
			recipes = {
				{
					spellID = 307383,
					itemID = 173381,
					crafts = 18,
					autoReagents = true,
				},
			},
		},
		{
			min = 135,
			max = 140,
			noteKey = "PG_GUIDE_SHADOWLANDS_ALCHEMY_NOTE_1",
			recipes = {
				{
					spellID = 343679,
					itemID = 173381,
					crafts = 5,
					autoReagents = true,
				},
			},
		},
		{
			min = 140,
			max = 157,
			disablesShopping = true,
			noteKey = "PG_GUIDE_SHADOWLANDS_ALCHEMY_NOTE_2",
			recipes = {
				{
					spellID = 343679,
					itemID = 173381,
					crafts = 20,
					autoReagents = true,
				},
			},
		},

		-- Шаг 13: 157–170 — 17x Potion of Divine Awakening
		{
			min = 157,
			max = 170,
			disablesShopping = true,
			recipes = {
				{
					spellID = 307097,
					itemID = 171274,
					crafts = 17,
					autoReagents = true,
				},
			},
		},

		-- Шаг 14: 170–175 — 5x Potion of Phantom Fire (или локалки)
		{
			min = 170,
			max = 175,
			disablesShopping = true,
			recipes = {
				-- {
					-- -- spellID = 343678,
					-- -- itemID = 173382,
					-- -- crafts = 5,
					-- -- reagents = {
						-- -- { itemID = 169701, count = 15 },
						-- -- { itemID = 180732, count = 5, crafted = true },
						-- -- { itemID = 183950, count = 5, crafted = true },
					-- },
				-- },
			},
			noteKey = "PG_GUIDE_SHADOWLANDS_ALCHEMY_NOTE_3",

			-- },
		},
	}
}
