if not _G.THREATLIB_LOAD_MODULES then return end -- only load if LibThreatClassic2.lua allows it
if not LibStub then return end
local ThreatLib, MINOR = LibStub("LibThreatClassic2", true)
if not ThreatLib then return end

local MOLTEN_GIANT_ID = 11658
local KNOCK_AWAY_ID = 18945

ThreatLib:GetModule("NPCCore-r"..MINOR):RegisterModule(MOLTEN_GIANT_ID, function(MoltenGiant)
	function MoltenGiant:Init()
		self:RegisterCombatant(MOLTEN_GIANT_ID, true)
		self:RegisterSpellDamageHandler(MOLTEN_GIANT_ID, KNOCK_AWAY_ID, self.KnockAway)
	end

	function MoltenGiant:KnockAway()
		self:ModifyThreat(sourceGUID, unitId, 0.5, 0)
	end
end)
