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
    name = "Алхимия — Shadowlands (1–175)",

    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 = 7,
			recipes = {
				{
					spellID = 301578,
					itemID = 171267,
					crafts = 8,
					reagents = {
						{ itemID = 169701, count = 2 }, -- Death Blossom
						{ itemID = 180732,   count = 1, crafted = true }, -- Crystal Vial
					},
				},
			},
		},

		-- Шаг 1b: 7–14 — 8x Spiritual Mana Potion
		{
			min = 7,
			max = 14,
			recipes = {
				{
					spellID = 301683,
					itemID = 171268,
					crafts = 8,
					reagents = {
						{ itemID = 169701, count = 2 }, -- Death Blossom
						{ itemID = 180732,   count = 1, crafted = true },
					},
				},
			},
		},

		-- Шаг 1c: 14–20 — 8x Spiritual Rejuvenation Potion
		{
			min = 14,
			max = 20,
			recipes = {
				{
					spellID = 261423,
					itemID = 171269,
					crafts = 8,
					reagents = {
						{ itemID = 171267, count = 1, crafted = true }, -- Rising Glory
						{ itemID = 171268, count = 1, crafted = true }, -- Vigil's Torch
					},
				},
			},
		},

		-- Шаг 2: 20–30 — 12x Ground Death Blossom
		{
			min = 20,
			max = 30,
			recipes = {
				{
					spellID = 307120,
					itemID = 171287,
					crafts = 12,
					reagents = {
						{ itemID = 169701, count = 2 }, -- Death Blossom
					},
				},
			},
		},

		-- Шаг 3: 30–45 — 15x Ground Rising Glory
		{
			min = 30,
			max = 45,
			recipes = {
				{
					spellID = 261424,
					itemID = 171266,
					crafts = 15,
					reagents = {
						{ itemID = 168586, count = 3 }, --  
						{ itemID = 169701, count = 2 }, --  
						{ itemID = 180732, count = 1, crafted = true }, -- 
					},
				},
			},
		},

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

		-- Шаг 5: 55–60 — 5x Ground Widowbloom
		{
			min = 55,
			max = 60,
			recipes = {
				{
					spellID = 256134,
					itemID = 171263,
					crafts = 5,
					reagents = {
						{ itemID = 170554, count = 3 }, --  
						{ itemID = 169701, count = 2 }, --  
						{ itemID = 180732, count = 1, crafted = true }, -- 
					},
				},
			},
		},

		-- Шаг 6: 60–80 — 28x Ground Nightshade
		{
			min = 60,
			max = 80,
			recipes = {
				{
					spellID = 256133,
					itemID = 171370,
					crafts = 28,
					reagents = {
						{ itemID = 168589, count = 3 }, --  
						{ itemID = 169701, count = 2 }, --  
						{ itemID = 180732, count = 1, crafted = true }, -- 
					},
				},
			},
		},

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

		-- Шаг 8: 97–100 — 3x Potion of Spectral Agility
		{
			min = 97,
			max = 100,
			recipes = {
				{
					spellID = 344316,
					itemID = 184090,
					crafts = 3,
					reagents = {
						{ itemID = 168586, count = 3 }, --  
						{ itemID = 170554, count = 3 }, --  
						{ itemID = 180732, count = 1, crafted = true }, --
					},
				},
			},
		},

		-- Шаг 9: 100–110 — 10x Potion of Spectral Intellect
		{
			min = 100,
			max = 110,
			recipes = {
				{
					spellID = 307094,
					itemID = 171271,
					crafts = 10,
					reagents = {
						{ itemID = 168586, count = 3 }, --  
						{ itemID = 170554, count = 3 }, --  
						{ itemID = 180732, count = 1, crafted = true }, --
					},
				},
			},
		},

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

		-- Шаг 11: 120–125 — 7x Potion of Spectral Stamina
		{
			min = 120,
			max = 125,
			recipes = {
				{
					spellID = 322301,
					itemID = 176811,
					crafts = 7,
					reagents = {
						{ itemID = 168583, 	 count = 6 },
						{ itemID = 180732,   count = 1, crafted = true },
					},
				},
			},
		},

		-- Шаг 12: 125–157 — 38x Potion of Deathly Fixation
		{
			min = 125,
			max = 157,
			recipes = {
				{
					spellID = 343679,
					itemID = 173381,
					crafts = 38,
					reagents = {
						{ itemID = 169701, count = 5 },
						{ itemID = 180732, count = 1, crafted = true },
						{ itemID = 183950, count = 3, crafted = true },
					},
				},
			},
			note = "Декор доступен с 140 навыка профессии\n"..
			"Реагент покупается у торговца реагентами рядом с учителем алхимии:",

			noteRefs = {
				{
					type   = "item",
					itemID = 183950, -- Distilled Death Extract
				},
			},
		},

		-- Шаг 13: 157–170 — 17x Potion of Divine Awakening
		{
			min = 157,
			max = 170,
			recipes = {
				{
					spellID = 307097,
					itemID = 171274,
					crafts = 17,
					reagents = {
						{ itemID = 170554, count = 5 },
						{ itemID = 180732, count = 1, crafted = true },
					},
				},
			},
		},

		-- Шаг 14: 170–175 — 5x Potion of Phantom Fire (или локалки)
		{
			min = 170,
			max = 175,
			recipes = {
				-- {
					-- -- spellID = 343678,
					-- -- itemID = 173382,
					-- -- crafts = 5,
					-- -- reagents = {
						-- -- { itemID = 169701, count = 15 },
						-- -- { itemID = 180732, count = 5, crafted = true },
						-- -- { itemID = 183950, count = 5, crafted = true },
					-- },
				-- },
			},
			note = "Выполняйте локальные задания алхимии если нужен максимальный уровень навыка.",

			-- },
		},
	}
}
