-- ProfessionGuides/Blacksmithing/BFA_Blacksmithing.lua
local PT = AhUI
if not PT then return end
local G = PT.ProfessionGuides

G.guides.BFA = G.guides.BFA or {}

G.guides.BFA.BLACKSMITHING = {
    profession  = "Blacksmithing",
    skillLineID = 2437, -- Kul Tiran / Zandalari Blacksmithing
    name = "Кузнечное дело — Battle for Azeroth (1–175)",

    trainers = {
        alliance = {
            { 
				npcID = 131929, 
				name = "Grix «Ironfists» Barlow", 
				mapID = 1161, 
				x = 73.4, 
				y = 8.6 
			},
        },
        horde = {
            { 
				npcID = 127112, 
				name = "Forgemaster Zak'aal", 
				mapID = 1165, 
				x = 43.6, 
				y = 38.4 
			},
        },
    },

    steps = {
        -- 1–15
        {
            min = 1,
            max = 15,
            recipes = {
                { 
					spellID = 253183, 
					crafts = 15, 
					reagents = { 
						{ 
							itemID = 152512, 
							count = 10 
						} 
					} 
				},
            },
        },

        -- 15–28
        {
            min = 15,
            max = 30,
            recipes = {
                { spellID = 253180, crafts = 15, reagents = { { itemID = 152512, count = 14 } } },
            },
        },

        -- 28–35
        {
            min = 30,
            max = 35,
            recipes = {
                { 
					spellID = 253174, 
					crafts = 5, 
					reagents = { 
						{itemID = 152512, count = 18 }, 
						{itemID = 160298, count = 1 } 
					} 
				},
            },
        },

        -- 35–50
        {
            min = 35,
            max = 50,
            recipes = {
                { spellID = 253162, crafts = 15, reagents = { { itemID = 152512, count = 18 } } },
            },
        },

        -- 50–60
        {
            min = 50,
            max = 60,
            recipes = {
                { spellID = 269064, crafts = 15, reagents = { { itemID = 152512, count = 4 } } },
            },
        },

        -- 60–85
        {
            min = 60,
            max = 85,
            recipes = {
                { spellID = 253162, crafts = 25, reagents = { { itemID = 152512, count = 18 } } },
            },
        },

        -- 85–95 Rank 1 Honorable Combatant’s Plate Armguards
        {
            min = 85,
            max = 95,
            recipes = {
                { spellID = 269451, crafts = 10, reagents = { { itemID = 152579, count = 30 }, { itemID = 18567, count = 8 } } },
            },
        },

        -- 95–115 Rank 3 Monel-Hardened Hoofplates
        {
            min = 95,
            max = 115,
            recipes = {
                { spellID = 286016, crafts = 20, reagents = { { itemID = 152512, count = 15},{ itemID = 160298, count = 2 } } },
            },
			note = "Изучите Укрепленные монелитом подковы второго ранга."..
					"Потом отправляйтесь в локацию с мобами ГУМАНОИДАМИ."..
					"С них с высоким шансом выпадет рецепт подков 3 ранга.",
        },

        -- 115–140 Stormsteel (first recommended)
        {
            min = 115,
            max = 120,
            recipes = {
                { spellID = 269448, crafts = 5, reagents = {
                    { itemID = 152579, count = 40 },
                    { itemID = 18567, count = 13 },
                } },
            },
        },

		{
			min = 120,
			max = 140,

            recipes = {
                { spellID = 282889, crafts = 20, 
					reagents = {
						{ itemID = 152579, count = 20 }, -- Storm Silver Ore
						{ itemID = 152513, count = 8 },  -- Platinum Ore
						{ itemID = 18567, count = 12 },
						{ itemID = 152668, count = 2, crafted = true }, -- Expulsom
					},
				},
			},

			note =
				"Сдайте в утиль всё, что скрафтили, для получения Дистилиума.\n"..
				"Если дистилиума не хватает, то берите портного и делайте Наручи из морского льна и в утиль",
		},
		{
			min = 140,
			max = 145,

			recipes = {
				{
					spellID = 253158, -- Stormsteel Dagger (Rank 3)
					crafts  = 20,     -- оставшаяся часть

					reagents = {
						{ itemID = 152579, count = 16 }, -- Storm Silver Ore
						{ itemID = 152513, count = 6 },  -- Platinum Ore
						{ itemID = 18567, count = 6 },
						{ itemID = 152668, count = 1, crafted = true }, -- Expulsom
					},
				},
			},

			disablesCraftAll = true,
			disablesShopping = true,

			note =
				"|cff00ff00Декор доступен с 140 навыка!|r\n\n" ..
				"Продолжайте крафтить Stormsteel Dagger (Rank 3)\n" ..
				"до 145 навыка при необходимости.",
		},


        -- 145–160 Notorious Combatant’s Plate Armguards Rank 1
        {
            min = 145,
            max = 160,
            recipes = {
                { spellID = 280035, crafts = 15, reagents = {
                    { itemID = 168185, count = 120 }, -- Osmenite
                    { itemID = 152579, count = 45 },  -- Storm Silver
                    { itemID = 162460, count = 30 },  -- Expulsom
                } },
            },
			disablesCraftAll = true,
			disablesShopping = true,
        },

        -- 160–170 Notorious Combatant’s Plate Armguards Rank 2
        {
            min = 160,
            max = 170,
            recipes = {
                { spellID = 280036, crafts = 10, reagents = {
                    { itemID = 168185, count = 70 },
                    { itemID = 152579, count = 20 },
                    { itemID = 162460, count = 10 },
                } },
            },
			disablesCraftAll = true,
			disablesShopping = true,
        },

        -- 170–175 Notorious Combatant’s Plate Armguards Rank 3
        {
            min = 170,
            max = 175,
            recipes = {
                { spellID = 280037, crafts = 5, reagents = {
                    { itemID = 168185, count = 30 },
                    { itemID = 152579, count = 5 },
                    { itemID = 162460, count = 5 },
                } },
            },
			disablesCraftAll = true,
			disablesShopping = true,
        },
    },
}
