-- 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
    nameKey = "PG_GUIDE_BFA_BLACKSMITHING_NAME",


    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,
					autoReagents = true,
				},
            },
        },

        -- 15–28
        {
            min = 15,
            max = 30,
            recipes = {
                { spellID = 253180, crafts = 15,},
            },
        },

        -- 28–35
        {
            min = 30,
            max = 35,
            recipes = {
                { 
					spellID = 253174, 
					crafts = 5,
					autoReagents = true,
				},
            },
        },

        -- 35–50
        {
            min = 35,
            max = 50,
            recipes = {
                { spellID = 253162, crafts = 15,},
            },
        },

        -- 50–60
        {
            min = 50,
            max = 60,
            recipes = {
                { spellID = 269064, crafts = 15,},
            },
        },

        -- 60–85
        {
            min = 60,
            max = 85,
            recipes = {
                { spellID = 253162, crafts = 25,},
            },
        },

        -- 85–95 Rank 1 Honorable Combatant’s Plate Armguards
        {
            min = 85,
            max = 95,
            recipes = {
                { spellID = 269451, crafts = 10,},
            },
        },

        -- 95–115 Rank 3 Monel-Hardened Hoofplates
        {
            min = 95,
            max = 115,
            recipes = {
                { spellID = 286016, crafts = 20,},
            },
			noteKey = "PG_GUIDE_BFA_BLACKSMITHING_NOTE_1",
        },

        -- 115–140 Stormsteel (first recommended)
        {
            min = 115,
            max = 120,
            recipes = {
                { spellID = 269448, crafts = 5,},
            },
        },

		{
			min = 120,
			max = 140,

            recipes = {
                { spellID = 282889, crafts = 20,
autoReagents = true,
				},
			},

			noteKey = "PG_GUIDE_BFA_BLACKSMITHING_NOTE_2",
		},
		{
			min = 140,
			max = 145,

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

			disablesCraftAll = true,
			disablesShopping = true,

			noteKey = "PG_GUIDE_BFA_BLACKSMITHING_NOTE_3",
		},


        -- 145–160 Notorious Combatant’s Plate Armguards Rank 1
        {
            min = 145,
            max = 160,
            recipes = {
                { spellID = 280035, crafts = 15,},
            },
			disablesCraftAll = true,
			disablesShopping = true,
        },

        -- 160–170 Notorious Combatant’s Plate Armguards Rank 2
        {
            min = 160,
            max = 170,
            recipes = {
                { spellID = 280036, crafts = 10,},
            },
			disablesCraftAll = true,
			disablesShopping = true,
        },

        -- 170–175 Notorious Combatant’s Plate Armguards Rank 3
        {
            min = 170,
            max = 175,
            recipes = {
                { spellID = 280037, crafts = 5,},
            },
			disablesCraftAll = true,
			disablesShopping = true,
        },
    },
}
