Terraria Wiki
Advertisement

A modult a Modul:NpcInfo/doc lapon tudod dokumentálni

local function  buyPrice(platinum, gold, silver, copper)
	return copper + silver * 100 + gold * 100 * 100 + platinum * 100 * 100 * 100
end

local db={
	[-65] = function(npc)
		npc.scale = 1.21
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-64] = function(npc)
		npc.scale = 0.87
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-63] = function(npc)
		npc.scale = 1.16
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-62] = function(npc)
		npc.scale = 0.78
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-61] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-60] = function(npc)
		npc.scale = 0.92
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-59] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-58] = function(npc)
		npc.scale = 0.8
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-57] = function(npc)
		npc.scale = 1.25
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-56] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-55] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-54] = function(npc)
		npc.scale = 0.9
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-53] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-52] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-51] = function(npc)
		npc.scale = 1.13
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-50] = function(npc)
		npc.scale = 0.87
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-49] = function(npc)
		npc.scale = 1.07
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-48] = function(npc)
		npc.scale = 0.93
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-47] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-46] = function(npc)
		npc.scale = 0.9
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-45] = function(npc)
		npc.scale = 1.05
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-44] = function(npc)
		npc.scale = 0.87
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-43] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-42] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-41] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-40] = function(npc)
		npc.scale = 0.9
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-39] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-38] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-37] = function(npc)
		npc.scale = 1.08
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-36] = function(npc)
		npc.scale = 0.92
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-35] = function(npc)
		npc.scale = 1.13
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-34] = function(npc)
		npc.scale = 0.87
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-33] = function(npc)
		npc.scale = 1.11
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-32] = function(npc)
		npc.scale = 0.89
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-31] = function(npc)
		npc.scale = 1.13
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-30] = function(npc)
		npc.scale = 0.93
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-29] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-28] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-27] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-26] = function(npc)
		npc.scale = 0.9
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-25] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-24] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-23] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-22] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-21] = function(npc)
		npc.scale = 1.2
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-20] = function(npc)
		npc.scale = 1.1
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-19] = function(npc)
		npc.scale = 0.9
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-18] = function(npc)
		npc.scale = 0.8
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-17] = function(npc)
		npc.scale = 1.2
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-16] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-15] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale * 1.1)
		npc.lifeMax = 400
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = 2
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
		npc.height = 44
	end,
	[-14] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale * 1.1)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale * 1.1)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = 2
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-13] = function(npc)
		npc.scale = 0.9
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
	end,
	[-12] = function(npc)
		npc.scale = 1.15
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-11] = function(npc)
		npc.scale = 0.85
		npc.defense = math.floor(npc.defense * npc.scale)
		npc.damage = math.floor(npc.damage * npc.scale)
		npc.lifeMax = math.floor(npc.lifeMax * npc.scale)
		npc.value = math.floor(npc.value * npc.scale)
		npc.npcSlots = npc.npcSlots * npc.scale
		npc.knockBackResist = npc.knockBackResist * (2 - npc.scale)
	end,
	[-10] = function(npc)
		npc.scale = 1.1
		npc.damage = 18
		npc.defense = 6
		npc.lifeMax = 60
		npc.value = 500
		return true
	end,
	[-9] = function(npc)
		npc.scale = 1.2
		npc.damage = 15
		npc.defense = 7
		npc.lifeMax = 45
		npc.value = 10
		return true
	end,
	[-8] = function(npc)
		npc.scale = 1.025
		npc.damage = 12
		npc.defense = 4
		npc.lifeMax = 35
		npc.value = 8
		return true
	end,
	[-7] = function(npc)
		npc.scale = 1.2
		npc.damage = 12
		npc.defense = 6
		npc.lifeMax = 40
		npc.knockBackResist = npc.knockBackResist * 0.9
		npc.value = 10
		return true
	end,
	[-6] = function(npc)
		npc.scale = 1.05
		npc.damage = 15
		npc.defense = 4
		npc.lifeMax = 45
		npc.value = 20
		return true
	end,
	[-5] = function(npc)
		npc.scale = 0.9
		npc.damage = 13
		npc.defense = 4
		npc.lifeMax = 30
		npc.knockBackResist = npc.knockBackResist * 0.95
		npc.alpha = 120
		npc.value = 10
		return true
	end,
	[-4] = function(npc)
		npc.scale = 0.6
		npc.damage = 5
		npc.defense = 5
		npc.lifeMax = 150
		npc.knockBackResist = npc.knockBackResist * 1.4
		npc.value = 10000
		npc.rarity = 1
		return true
	end,
	[-3] = function(npc)
		npc.scale = 0.9
		npc.damage = 6
		npc.defense = 0
		npc.lifeMax = 14
		npc.knockBackResist = npc.knockBackResist * 1.2
		npc.value = 3
		return true
	end,
	[-2] = function(npc)
		npc.scale = 0.9
		npc.damage = 45
		npc.defense = 20
		npc.lifeMax = 90
		npc.knockBackResist = npc.knockBackResist * 1.2
		npc.value = 100
		return true
	end,
	[-1] = function(npc)
		npc.scale = 0.6
		npc.damage = 45
		npc.defense = 10
		npc.lifeMax = 90
		npc.knockBackResist = npc.knockBackResist * 1.2
		npc.value = 100
		return true
	end,
	[1] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 7
		npc.defense = 2
		npc.lifeMax = 25
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[2] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 18
		npc.defense = 2
		npc.lifeMax = 60
		npc.knockBackResist = 0.8
		npc.value = 75
		npc.buffImmune[31] = false
	end,
	[3] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 6
		npc.lifeMax = 45
		npc.knockBackResist = 0.5
		npc.value = 60
		npc.buffImmune[31] = false
	end,
	[4] = function(npc)
		npc.width = 100
		npc.height = 110
		npc.aiStyle = 4
		npc.damage = 15
		npc.defense = 12
		npc.lifeMax = 2800
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.boss = true
		npc.value = 30000
		npc.npcSlots = 5
	end,
	[5] = function(npc)
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 5
		npc.damage = 12
		npc.defense = 0
		npc.lifeMax = 8
		npc.noGravity = true
		npc.noTileCollide = true
	end,
	[6] = function(npc)
		npc.npcSlots = 1
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 5
		npc.damage = 22
		npc.defense = 8
		npc.lifeMax = 40
		npc.noGravity = true
		npc.knockBackResist = 0.5
		npc.value = 90
	end,
	[7] = function(npc)
		npc.npcSlots = 3.5
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.damage = 31
		npc.defense = 2
		npc.lifeMax = 100
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 140
		npc.netAlways = true
	end,
	[8] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 16
		npc.defense = 6
		npc.lifeMax = 100
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 140
		npc.dontCountMe = true
	end,
	[9] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 13
		npc.defense = 10
		npc.lifeMax = 100
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 140
		npc.dontCountMe = true
	end,
	[10] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 8
		npc.defense = 0
		npc.lifeMax = 30
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 40
	end,
	[11] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 4
		npc.defense = 4
		npc.lifeMax = 30
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 40
		npc.dontCountMe = true
	end,
	[12] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 4
		npc.defense = 6
		npc.lifeMax = 30
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 40
		npc.dontCountMe = true
	end,
	[13] = function(npc)
		npc.npcSlots = 5
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 22
		npc.defense = 2
		npc.lifeMax = 65
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 300
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[14] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 13
		npc.defense = 4
		npc.lifeMax = 150
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 300
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[15] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 11
		npc.defense = 8
		npc.lifeMax = 220
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 300
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[16] = function(npc)
		npc.npcSlots = 2
		npc.width = 36
		npc.height = 24
		npc.aiStyle = 1
		npc.damage = 20
		npc.defense = 7
		npc.lifeMax = 90
		npc.value = 75
		npc.scale = 1.25
		npc.knockBackResist = 0.6
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[17] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[18] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[19] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[20] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[21] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 100
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[22] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[23] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 5
		npc.damage = 40
		npc.defense = 6
		npc.lifeMax = 26
		npc.noGravity = true
		npc.noTileCollide = true
		npc.value = 80
		npc.knockBackResist = 0.4
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[24] = function(npc)
		npc.npcSlots = 3
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 30
		npc.defense = 16
		npc.lifeMax = 70
		npc.knockBackResist = 0.5
		npc.lavaImmune = true
		npc.value = 350
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[25] = function(npc)
		npc.width = 16
		npc.height = 16
		npc.aiStyle = 9
		npc.damage = 30
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
	end,
	[26] = function(npc)
		npc.scale = 0.9
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 12
		npc.defense = 4
		npc.lifeMax = 60
		npc.knockBackResist = 0.8
		npc.value = 100
		npc.buffImmune[31] = false
	end,
	[27] = function(npc)
		npc.scale = 0.95
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 6
		npc.lifeMax = 80
		npc.knockBackResist = 0.7
		npc.value = 200
		npc.buffImmune[31] = false
	end,
	[28] = function(npc)
		npc.scale = 1.1
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 25
		npc.defense = 8
		npc.lifeMax = 110
		npc.knockBackResist = 0.5
		npc.value = 150
		npc.buffImmune[31] = false
	end,
	[29] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 20
		npc.defense = 2
		npc.lifeMax = 40
		npc.knockBackResist = 0.6
		npc.value = 200
	end,
	[30] = function(npc)
		npc.width = 16
		npc.height = 16
		npc.aiStyle = 9
		npc.damage = 20
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
	end,
	[31] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 26
		npc.defense = 8
		npc.lifeMax = 80
		npc.knockBackResist = 0.8
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[32] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 20
		npc.defense = 2
		npc.lifeMax = 50
		npc.knockBackResist = 0.6
		npc.value = 140
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[33] = function(npc)
		npc.width = 16
		npc.height = 16
		npc.aiStyle = 9
		npc.damage = 20
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
	end,
	[34] = function(npc)
		npc.width = 26
		npc.height = 28
		npc.aiStyle = 10
		npc.damage = 35
		npc.defense = 6
		npc.lifeMax = 40
		npc.noGravity = true
		npc.noTileCollide = true
		npc.value = 150
		npc.knockBackResist = 0.2
		npc.npcSlots = 0.75
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[35] = function(npc)
		npc.width = 80
		npc.height = 102
		npc.aiStyle = 11
		npc.damage = 32
		npc.defense = 10
		npc.lifeMax = 4400
		npc.noGravity = true
		npc.noTileCollide = true
		npc.value = 50000
		npc.knockBackResist = 0.0
		npc.boss = true
		npc.npcSlots = 6
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[189] = true
		npc.buffImmune[169] = true
		npc.buffImmune[183] = true
	end,
	[36] = function(npc)
		npc.width = 52
		npc.height = 52
		npc.aiStyle = 12
		npc.damage = 20
		npc.defense = 14
		npc.lifeMax = 600
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[37] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[38] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[39] = function(npc)
		npc.npcSlots = 6
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 30
		npc.defense = 10
		npc.lifeMax = 250
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 1200
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[40] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 15
		npc.defense = 12
		npc.lifeMax = 250
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 1200
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[41] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 10
		npc.defense = 18
		npc.lifeMax = 250
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 1200
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[42] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 26
		npc.defense = 12
		npc.lifeMax = 48
		npc.knockBackResist = 0.5
		npc.value = 200
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[43] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 13
		npc.damage = 34
		npc.defense = 10
		npc.lifeMax = 110
		npc.knockBackResist = 0.0
		npc.value = 350
		npc.buffImmune[20] = true
	end,
	[44] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 22
		npc.defense = 9
		npc.lifeMax = 70
		npc.knockBackResist = 0.5
		npc.value = 250
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[45] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 20
		npc.defense = 4
		npc.lifeMax = 200
		npc.knockBackResist = 0.6
		npc.value = 5000
		npc.buffImmune[20] = true
		npc.rarity = 4
	end,
	[46] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
	end,
	[47] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 4
		npc.lifeMax = 70
		npc.value = 500
		npc.buffImmune[31] = false
	end,
	[48] = function(npc)
		npc.width = 24
		npc.height = 34
		npc.aiStyle = 14
		npc.damage = 25
		npc.defense = 8
		npc.lifeMax = 100
		npc.knockBackResist = 0.6
		npc.value = 300
	end,
	[49] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 22
		npc.height = 18
		npc.aiStyle = 14
		npc.damage = 13
		npc.defense = 2
		npc.lifeMax = 16
		npc.knockBackResist = 0.8
		npc.value = 90
		npc.buffImmune[31] = false
	end,
	[50] = function(npc)
		npc.boss = true
		npc.width = 98
		npc.height = 92
		npc.aiStyle = 15
		npc.damage = 40
		npc.defense = 10
		npc.lifeMax = 2000
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.scale = 1.25
		npc.buffImmune[20] = true
		
	end,
	[51] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 22
		npc.height = 18
		npc.aiStyle = 14
		npc.damage = 20
		npc.defense = 4
		npc.lifeMax = 34
		npc.knockBackResist = 0.8
		npc.value = 80
		npc.buffImmune[31] = false
	end,
	[52] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 500
		npc.knockBackResist = 0.5
		npc.value = 1000
		npc.buffImmune[31] = false
		npc.rarity = 2
	end,
	[53] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 8
		npc.lifeMax = 200
		npc.knockBackResist = 0.5
		npc.value = 1000
		npc.buffImmune[31] = false
		npc.rarity = 2
	end,
	[54] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[55] = function(npc)
		npc.noGravity = true
		npc.width = 20
		npc.height = 18
		npc.aiStyle = 16
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.knockBackResist = 0.5
		
	end,
	[56] = function(npc)
		npc.noTileCollide = true
		npc.noGravity = true
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 13
		npc.damage = 25
		npc.defense = 10
		npc.lifeMax = 60
		npc.knockBackResist = 0.0
		npc.value = 90
		npc.buffImmune[20] = true
	end,
	[57] = function(npc)
		npc.noGravity = true
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 16
		npc.damage = 30
		npc.defense = 6
		npc.lifeMax = 100
		npc.value = 500
	end,
	[58] = function(npc)
		npc.npcSlots = 0.5
		npc.noGravity = true
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 16
		npc.damage = 25
		npc.defense = 2
		npc.lifeMax = 30
		npc.value = 50
	end,
	[59] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 15
		npc.defense = 10
		npc.lifeMax = 50
		npc.scale = 1.1
		npc.lavaImmune = true
		npc.value = 120
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
	end,
	[60] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 22
		npc.height = 18
		npc.aiStyle = 14
		npc.damage = 35
		npc.defense = 8
		npc.lifeMax = 46
		npc.knockBackResist = 0.8
		npc.value = 120
		npc.scale = 1.1
		npc.lavaImmune = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
	end,
	[61] = function(npc)
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 17
		npc.damage = 15
		npc.defense = 4
		npc.lifeMax = 40
		npc.knockBackResist = 0.8
		npc.value = 60
	end,
	[62] = function(npc)
		npc.npcSlots = 2
		npc.width = 28
		npc.height = 48
		npc.aiStyle = 14
		npc.damage = 32
		npc.defense = 8
		npc.lifeMax = 120
		npc.knockBackResist = 0.8
		npc.value = 300
		npc.lavaImmune = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[63] = function(npc)
		npc.noGravity = true
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 18
		npc.damage = 25
		npc.defense = 4
		npc.lifeMax = 34
		npc.value = 100
	end,
	[64] = function(npc)
		npc.noGravity = true
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 18
		npc.damage = 30
		npc.defense = 6
		npc.lifeMax = 70
		npc.value = 100
	end,
	[65] = function(npc)
		npc.noGravity = true
		npc.width = 100
		npc.height = 24
		npc.aiStyle = 16
		npc.damage = 40
		npc.defense = 2
		npc.lifeMax = 300
		npc.value = 400
		npc.knockBackResist = 0.7
	end,
	[66] = function(npc)
		npc.npcSlots = 2
		npc.width = 28
		npc.height = 48
		npc.aiStyle = 14
		npc.damage = 32
		npc.defense = 8
		npc.lifeMax = 140
		npc.knockBackResist = 0.8
		npc.value = 1000
		npc.lavaImmune = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[67] = function(npc)
		npc.width = 28
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 40
		npc.value = 60
	end,
	[68] = function(npc)
		npc.width = 80
		npc.height = 102
		npc.aiStyle = 11
		npc.damage = 1000
		npc.defense = 9999
		npc.lifeMax = 9999
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[189] = true
		npc.buffImmune[169] = true
		npc.buffImmune[183] = true
	end,
	[69] = function(npc)
		npc.width = 24
		npc.height = 24
		npc.aiStyle = 19
		npc.damage = 10
		npc.defense = 6
		npc.lifeMax = 45
		npc.knockBackResist = 0.0
		npc.value = 60
		npc.behindTiles = true
	end,
	[70] = function(npc)
		npc.npcSlots = 0.3
		npc.width = 34
		npc.height = 34
		npc.aiStyle = 20
		npc.damage = 32
		npc.defense = 100
		npc.lifeMax = 100
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.dontTakeDamage = true
		npc.scale = 1.5
	end,
	[71] = function(npc)
		npc.npcSlots = 2
		npc.width = 36
		npc.height = 24
		npc.aiStyle = 1
		npc.damage = 30
		npc.defense = 7
		npc.lifeMax = 150
		npc.value = 150
		npc.scale = 1.25
		npc.knockBackResist = 0.6
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.rarity = 1
	end,
	[72] = function(npc)
		npc.npcSlots = 0.3
		npc.width = 34
		npc.height = 34
		npc.aiStyle = 21
		npc.damage = 24
		npc.defense = 100
		npc.lifeMax = 100
		npc.behindTiles = true
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.dontTakeDamage = true
		npc.scale = 1.2
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[73] = function(npc)
		npc.scale = 0.95
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 6
		npc.lifeMax = 80
		npc.knockBackResist = 0.7
		npc.value = 200
		npc.buffImmune[31] = false
		npc.rarity = 1
	end,
	[74] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 24
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.knockBackResist = 0.8
		npc.npcSlots = 0.4
	end,
	[75] = function(npc)
		npc.noGravity = true
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 22
		npc.damage = 55
		npc.defense = 20
		npc.lifeMax = 150
		npc.knockBackResist = 0.6
		npc.value = 350
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
	end,
	[77] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 40
		npc.defense = 28
		npc.lifeMax = 260
		npc.knockBackResist = 0.4
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[78] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 16
		npc.lifeMax = 130
		npc.knockBackResist = 0.6
		npc.value = 600
		npc.buffImmune[31] = false
	end,
	[79] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 18
		npc.lifeMax = 180
		npc.knockBackResist = 0.5
		npc.value = 700
		npc.buffImmune[31] = false
	end,
	[80] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 55
		npc.defense = 18
		npc.lifeMax = 200
		npc.knockBackResist = 0.55
		npc.value = 700
		npc.buffImmune[31] = false
	end,
	[81] = function(npc)
		npc.width = 40
		npc.height = 30
		npc.aiStyle = 1
		npc.damage = 55
		npc.defense = 20
		npc.lifeMax = 170
		npc.value = 400
		npc.scale = 1.1
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[82] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 22
		npc.damage = 65
		npc.defense = 16
		npc.lifeMax = 160
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.7
	end,
	[83] = function(npc)
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 23
		npc.damage = 80
		npc.defense = 18
		npc.lifeMax = 200
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.4
	end,
	[84] = function(npc)
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 23
		npc.damage = 80
		npc.defense = 18
		npc.lifeMax = 200
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.4
	end,
	[85] = function(npc)
		npc.width = 24
		npc.height = 24
		npc.aiStyle = 25
		npc.damage = 80
		npc.defense = 30
		npc.lifeMax = 500
		npc.value = 100000
		npc.knockBackResist = 0.3
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.rarity = 4
	end,
	[86] = function(npc)
		npc.width = 46
		npc.height = 42
		npc.aiStyle = 26
		npc.damage = 65
		npc.defense = 30
		npc.lifeMax = 400
		npc.knockBackResist = 0.3
		npc.value = 1000
		npc.buffImmune[31] = false
	end,
	[87] = function(npc)
		npc.noTileCollide = true
		npc.npcSlots = 5
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 80
		npc.defense = 10
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[88] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[89] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 2000
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[90] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[91] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[92] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.scale = 1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.dontCountMe = true
	end,
	[93] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 26
		npc.height = 20
		npc.aiStyle = 14
		npc.damage = 45
		npc.defense = 16
		npc.lifeMax = 100
		npc.knockBackResist = 0.75
		npc.value = 400
		npc.buffImmune[31] = false
	end,
	[94] = function(npc)
		npc.npcSlots = 1
		npc.width = 44
		npc.height = 44
		npc.aiStyle = 5
		npc.damage = 60
		npc.defense = 32
		npc.lifeMax = 230
		npc.noGravity = true
		npc.knockBackResist = 0.55
		npc.value = 500
	end,
	[95] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 45
		npc.defense = 10
		npc.lifeMax = 200
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.scale = 0.9
		npc.value = 300
	end,
	[96] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 28
		npc.defense = 20
		npc.lifeMax = 200
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.scale = 0.9
		npc.value = 300
		npc.dontCountMe = true
	end,
	[97] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 26
		npc.defense = 30
		npc.lifeMax = 200
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.scale = 0.9
		npc.value = 300
		npc.dontCountMe = true
	end,
	[98] = function(npc)
		npc.npcSlots = 3.5
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 70
		npc.defense = 36
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 700
	end,
	[99] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 55
		npc.defense = 40
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 700
		npc.dontCountMe = true
	end,
	[100] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 44
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 700
		npc.dontCountMe = true
	end,
	[101] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.behindTiles = true
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 13
		npc.damage = 70
		npc.defense = 30
		npc.lifeMax = 320
		npc.knockBackResist = 0.2
		npc.value = 600
	end,
	[102] = function(npc)
		npc.npcSlots = 0.5
		npc.noGravity = true
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 16
		npc.damage = 80
		npc.defense = 22
		npc.lifeMax = 90
		npc.value = 500
	end,
	[103] = function(npc)
		npc.noGravity = true
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 18
		npc.damage = 80
		npc.defense = 30
		npc.lifeMax = 120
		npc.value = 800
	end,
	[104] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 38
		npc.lifeMax = 350
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[31] = false
	end,
	[105] = function(npc)
		npc.friendly = true
		npc.width = 18
		npc.height = 34
		npc.aiStyle = 0
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.rarity = 1
	end,
	[106] = function(npc)
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 0
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.rarity = 1
	end,
	[107] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[108] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[109] = function(npc)
		npc.width = 34
		npc.height = 78
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 20
		npc.lifeMax = 400
		npc.knockBackResist = 0.4
		npc.value = 8000
	end,
	[110] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 45
		npc.defense = 14
		npc.lifeMax = 210
		npc.knockBackResist = 0.55
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[112] = function(npc)
		npc.width = 16
		npc.height = 16
		npc.aiStyle = 9
		npc.damage = 65
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.scale = 0.9
	end,
	[113] = function(npc)
		npc.npcSlots = 10
		npc.width = 100
		npc.height = 100
		npc.aiStyle = 27
		npc.damage = 50
		npc.defense = 12
		npc.lifeMax = 8000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.behindTiles = true
		npc.knockBackResist = 0.0
		npc.scale = 1.2
		npc.boss = true
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.value = 80000
	end,
	[114] = function(npc)
		npc.width = 100
		npc.height = 100
		npc.aiStyle = 28
		npc.damage = 50
		npc.defense = 0
		npc.lifeMax = 8000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.behindTiles = true
		npc.knockBackResist = 0.0
		npc.scale = 1.2
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.value = 80000
	end,
	[115] = function(npc)
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 29
		npc.damage = 30
		npc.defense = 10
		npc.lifeMax = 240
		npc.noGravity = true
		npc.behindTiles = true
		npc.noTileCollide = true
		npc.knockBackResist = 1.1
	end,
	[116] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 30
		npc.defense = 6
		npc.lifeMax = 80
		npc.knockBackResist = 0.8
	end,
	[117] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 26
		npc.defense = 2
		npc.lifeMax = 60
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
	end,
	[118] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 22
		npc.defense = 6
		npc.lifeMax = 60
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
	end,
	[119] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 18
		npc.defense = 10
		npc.lifeMax = 60
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
	end,
	[120] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 40
		npc.defense = 30
		npc.lifeMax = 370
		npc.knockBackResist = 0.4
		npc.value = 600
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
	end,
	[121] = function(npc)
		npc.width = 40
		npc.height = 30
		npc.aiStyle = 14
		npc.damage = 45
		npc.defense = 20
		npc.lifeMax = 60
		npc.knockBackResist = 0.8
		npc.scale = 1.1
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[122] = function(npc)
		npc.noGravity = true
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 22
		npc.damage = 60
		npc.defense = 22
		npc.lifeMax = 220
		npc.knockBackResist = 0.8
		npc.value = 600
		npc.buffImmune[20] = true
	end,
	[123] = function(npc)
		npc.friendly = true
		npc.width = 18
		npc.height = 34
		npc.aiStyle = 0
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.scale = 0.9
		npc.rarity = 1
	end,
	[124] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[125] = function(npc)
		npc.width = 100
		npc.height = 110
		npc.aiStyle = 30
		npc.defense = 10
		npc.damage = 45
		npc.lifeMax = 20000
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		
		npc.boss = true
		npc.value = 120000
		npc.npcSlots = 5
	end,
	[126] = function(npc)
		npc.width = 100
		npc.height = 110
		npc.aiStyle = 31
		npc.defense = 10
		npc.damage = 50
		npc.lifeMax = 23000
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		
		npc.boss = true
		npc.value = 120000
		npc.npcSlots = 5
	end,
	[127] = function(npc)
		npc.width = 80
		npc.height = 102
		npc.aiStyle = 32
		npc.damage = 47
		npc.defense = 24
		npc.lifeMax = 28000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.value = 120000
		npc.knockBackResist = 0.0
		npc.boss = true
		npc.npcSlots = 6
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[189] = true
		npc.buffImmune[169] = true
		npc.buffImmune[183] = true
		npc.boss = true
	end,
	[128] = function(npc)
		npc.width = 52
		npc.height = 52
		npc.aiStyle = 35
		npc.damage = 30
		npc.defense = 23
		npc.lifeMax = 7000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.netAlways = true
	end,
	[129] = function(npc)
		npc.width = 52
		npc.height = 52
		npc.aiStyle = 33
		npc.damage = 56
		npc.defense = 38
		npc.lifeMax = 9000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.netAlways = true
	end,
	[130] = function(npc)
		npc.width = 52
		npc.height = 52
		npc.aiStyle = 34
		npc.damage = 52
		npc.defense = 34
		npc.lifeMax = 9000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.netAlways = true
	end,
	[131] = function(npc)
		npc.width = 52
		npc.height = 52
		npc.aiStyle = 36
		npc.damage = 29
		npc.defense = 20
		npc.lifeMax = 6000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.netAlways = true
	end,
	[132] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 15
		npc.defense = 5
		npc.lifeMax = 40
		npc.knockBackResist = 0.5
		npc.value = 65
		npc.buffImmune[31] = false
	end,
	[133] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 300
		npc.knockBackResist = 0.8
		npc.value = 500
		npc.buffImmune[31] = false
	end,
	[134] = function(npc)
		npc.npcSlots = 5
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 37
		npc.defense = 0
		npc.damage = 70
		npc.lifeMax = 80000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 120000
		npc.scale = 1.25
		npc.boss = true
		npc.netAlways = true
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmuneAll = true
	end,
	[135] = function(npc)
		npc.npcSlots = 5
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 37
		npc.damage = 55
		npc.defense = 30
		npc.lifeMax = 80000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.netAlways = true
		npc.scale = 1.25
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmuneAll = true
		npc.dontCountMe = true
	end,
	[136] = function(npc)
		npc.npcSlots = 5
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 37
		npc.damage = 40
		npc.defense = 35
		npc.lifeMax = 80000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.scale = 1.25
		npc.netAlways = true
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmuneAll = true
		npc.dontCountMe = true
	end,
	[139] = function(npc)
		npc.npcSlots = 1
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 5
		npc.damage = 50
		npc.defense = 20
		npc.lifeMax = 200
		npc.noGravity = true
		npc.knockBackResist = 0.8
		npc.noTileCollide = true
		npc.buffImmuneAll = true
	end,
	[137] = function(npc)
		npc.width = 26
		npc.height = 20
		npc.aiStyle = 14
		npc.damage = 75
		npc.defense = 30
		npc.lifeMax = 200
		npc.knockBackResist = 0.75
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
	end,
	[138] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 70
		npc.defense = 30
		npc.lifeMax = 180
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.85
		npc.scale = 1.05
		npc.buffImmune[31] = false
	end,
	[140] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 55
		npc.defense = 28
		npc.lifeMax = 260
		npc.knockBackResist = 0.4
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.buffImmune[24] = true
	end,
	[141] = function(npc)
		npc.width = 34
		npc.height = 28
		npc.aiStyle = 1
		npc.damage = 50
		npc.defense = 18
		npc.lifeMax = 150
		npc.value = 400
		npc.scale = 1.1
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.knockBackResist = 0.8
	end,
	[142] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[143] = function(npc)
		npc.width = 26
		npc.height = 40
		npc.aiStyle = 38
		npc.damage = 50
		npc.defense = 20
		npc.lifeMax = 200
		npc.knockBackResist = 0.6
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[144] = function(npc)
		npc.width = 26
		npc.height = 40
		npc.aiStyle = 38
		npc.damage = 65
		npc.defense = 26
		npc.lifeMax = 240
		npc.knockBackResist = 0.6
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.coldDamage = true
	end,
	[145] = function(npc)
		npc.width = 26
		npc.height = 40
		npc.aiStyle = 38
		npc.damage = 55
		npc.defense = 22
		npc.lifeMax = 220
		npc.knockBackResist = 0.6
		npc.value = 400
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.coldDamage = true
	end,
	[147] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 8
		npc.defense = 4
		npc.lifeMax = 30
		npc.value = 50
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.coldDamage = true
	end,
	[148] = function(npc)
		npc.width = 16
		npc.height = 34
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[149] = function(npc)
		npc.width = 16
		npc.height = 34
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[150] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 14
		npc.damage = 18
		npc.defense = 6
		npc.lifeMax = 30
		npc.knockBackResist = 0.8
		npc.value = 250
		npc.buffImmune[31] = false
	end,
	[151] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 14
		npc.damage = 50
		npc.defense = 16
		npc.lifeMax = 160
		npc.knockBackResist = 0.6
		npc.value = 400
		npc.scale = 1.15
		npc.lavaImmune = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
	end,
	[152] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 38
		npc.height = 34
		npc.aiStyle = 14
		npc.damage = 80
		npc.defense = 24
		npc.lifeMax = 220
		npc.knockBackResist = 0.65
		npc.value = 400
		npc.buffImmune[31] = false
	end,
	[153] = function(npc)
		npc.npcSlots = 2
		npc.width = 46
		npc.height = 32
		npc.aiStyle = 39
		npc.damage = 80
		npc.defense = 30
		npc.lifeMax = 470
		npc.knockBackResist = 0.3
		npc.value = 500
		npc.noGravity = false
		npc.buffImmune[31] = false
	end,
	[154] = function(npc)
		npc.npcSlots = 1.5
		npc.width = 46
		npc.height = 32
		npc.aiStyle = 39
		npc.damage = 55
		npc.defense = 28
		npc.lifeMax = 400
		npc.knockBackResist = 0.3
		npc.value = 450
		npc.noGravity = false
		npc.buffImmune[31] = false
	end,
	[155] = function(npc)
		npc.width = 46
		npc.height = 30
		npc.aiStyle = 26
		npc.damage = 65
		npc.defense = 30
		npc.lifeMax = 300
		npc.knockBackResist = 0.3
		npc.value = 1000
		npc.buffImmune[31] = false
	end,
	[156] = function(npc)
		npc.npcSlots = 2
		npc.width = 28
		npc.height = 48
		npc.aiStyle = 14
		npc.damage = 50
		npc.defense = 40
		npc.lifeMax = 600
		npc.knockBackResist = 0.5
		npc.value = 1200
		npc.lavaImmune = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[157] = function(npc)
		npc.npcSlots = 0.5
		npc.noGravity = true
		npc.width = 74
		npc.height = 20
		npc.aiStyle = 16
		npc.damage = 75
		npc.defense = 30
		npc.lifeMax = 200
		npc.value = 500
	end,
	[160] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[161] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 8
		npc.lifeMax = 50
		npc.knockBackResist = 0.45
		npc.value = 80
		npc.buffImmune[31] = false
	end,
	[163] = function(npc)
		npc.width = 50
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 90
		npc.defense = 40
		npc.lifeMax = 350
		npc.knockBackResist = 0.25
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		
	end,
	[238] = function(npc)
		npc.noGravity = true
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 40
		npc.damage = 100
		npc.defense = 40
		npc.lifeMax = 350
		npc.knockBackResist = 0.25
		npc.value = 500
		
		npc.npcSlots = 0.5
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[164] = function(npc)
		npc.width = 50
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 30
		npc.defense = 10
		npc.lifeMax = 80
		npc.knockBackResist = 0.25
		npc.value = 100
		
		npc.npcSlots = 0.5
		npc.buffImmune[20] = true
	end,
	[165] = function(npc)
		npc.noGravity = true
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 40
		npc.damage = 30
		npc.defense = 10
		npc.lifeMax = 80
		npc.knockBackResist = 0.25
		npc.value = 100
		
		npc.npcSlots = 0.5
		npc.buffImmune[20] = true
	end,
	[167] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 24
		npc.defense = 10
		npc.lifeMax = 70
		npc.knockBackResist = 0.5
		npc.value = 200
		npc.buffImmune[31] = false
		npc.buffImmune[20] = true
	end,
	[168] = function(npc)
		npc.width = 16
		npc.height = 34
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 4
		npc.lifeMax = 70
		npc.value = 500
		npc.buffImmune[31] = false
	end,
	[169] = function(npc)
		npc.noGravity = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 22
		npc.damage = 55
		npc.defense = 20
		npc.lifeMax = 200
		npc.knockBackResist = 0.6
		npc.value = 1500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.buffImmune[31] = false
		npc.buffImmune[44] = true
		npc.coldDamage = true
	end,
	[170] = function(npc)
		npc.width = 44
		npc.height = 36
		npc.aiStyle = 2
		npc.damage = 70
		npc.defense = 16
		npc.lifeMax = 210
		npc.knockBackResist = 0.5
		npc.value = 2000
		npc.buffImmune[31] = false
	end,
	[171] = function(npc)
		npc.width = 44
		npc.height = 36
		npc.aiStyle = 2
		npc.damage = 70
		npc.defense = 16
		npc.lifeMax = 210
		npc.knockBackResist = 0.5
		npc.value = 2000
		npc.buffImmune[31] = false
	end,
	[172] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 200
		npc.defense = 30
		npc.lifeMax = 600
		npc.knockBackResist = 0.3
		npc.value = 5000
		npc.buffImmune[20] = true
		npc.rarity = 2
	end,
	[173] = function(npc)
		npc.npcSlots = 1
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 5
		npc.damage = 22
		npc.defense = 8
		npc.lifeMax = 40
		npc.noGravity = true
		npc.knockBackResist = 0.5
		npc.value = 90
	end,
	[174] = function(npc)
		npc.npcSlots = 1
		npc.width = 52
		npc.height = 26
		npc.aiStyle = 41
		npc.damage = 65
		npc.defense = 26
		npc.lifeMax = 220
		npc.knockBackResist = 0.3
		npc.value = 450
	end,
	[175] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 13
		npc.damage = 100
		npc.defense = 30
		npc.lifeMax = 300
		npc.knockBackResist = 0.25
		npc.value = 650
		npc.buffImmune[20] = true
	end,
	[176] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 70
		npc.defense = 22
		npc.lifeMax = 220
		npc.knockBackResist = 0.5
		npc.value = 600
		npc.noGravity = true
		npc.buffImmune[20] = true
		npc.npcSlots = 1.5
	end,
	[177] = function(npc)
		npc.npcSlots = 1
		npc.width = 58
		npc.height = 44
		npc.aiStyle = 41
		npc.damage = 80
		npc.defense = 26
		npc.lifeMax = 300
		npc.knockBackResist = 0.5
		npc.value = 500
	end,
	[178] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[179] = function(npc)
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 23
		npc.damage = 80
		npc.defense = 18
		npc.lifeMax = 200
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.4
	end,
	[180] = function(npc)
		npc.width = 44
		npc.height = 36
		npc.aiStyle = 2
		npc.damage = 70
		npc.defense = 16
		npc.lifeMax = 210
		npc.knockBackResist = 0.5
		npc.value = 4000
		npc.buffImmune[31] = false
	end,
	[181] = function(npc)
		npc.width = 18
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 25
		npc.defense = 10
		npc.lifeMax = 70
		npc.knockBackResist = 0.4
		npc.value = 200
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[182] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 24
		npc.height = 62
		npc.aiStyle = 22
		npc.damage = 65
		npc.defense = 18
		npc.lifeMax = 240
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.7
	end,
	[183] = function(npc)
		npc.width = 40
		npc.height = 30
		npc.aiStyle = 1
		npc.damage = 60
		npc.defense = 26
		npc.lifeMax = 200
		npc.value = 400
		npc.scale = 1.1
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[184] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 12
		npc.defense = 8
		npc.lifeMax = 60
		npc.scale = 1.1
		npc.value = 200
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.coldDamage = true
	end,
	[185] = function(npc)
		npc.width = 28
		npc.height = 28
		npc.aiStyle = 3
		npc.damage = 26
		npc.defense = 12
		npc.lifeMax = 70
		npc.knockBackResist = 1.1
		npc.value = 200
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.coldDamage = true
	end,
	[186] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 8
		npc.lifeMax = 50
		npc.knockBackResist = 0.45
		npc.value = 65
		npc.buffImmune[31] = false
	end,
	[187] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 13
		npc.defense = 6
		npc.lifeMax = 40
		npc.knockBackResist = 0.55
		npc.value = 55
		npc.buffImmune[31] = false
	end,
	[188] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 13
		npc.defense = 8
		npc.lifeMax = 45
		npc.knockBackResist = 0.45
		npc.value = 80
		npc.buffImmune[31] = false
	end,
	[189] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 4
		npc.lifeMax = 45
		npc.knockBackResist = 0.55
		npc.value = 70
		npc.buffImmune[31] = false
	end,
	[190] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 18
		npc.defense = 4
		npc.lifeMax = 65
		npc.knockBackResist = 0.7
		npc.value = 75
		npc.buffImmune[31] = false
	end,
	[191] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 16
		npc.defense = 2
		npc.lifeMax = 60
		npc.knockBackResist = 0.85
		npc.value = 75
		npc.buffImmune[31] = false
	end,
	[192] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 18
		npc.defense = 2
		npc.lifeMax = 50
		npc.knockBackResist = 0.8
		npc.value = 75
		npc.buffImmune[31] = false
	end,
	[193] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 20
		npc.defense = 0
		npc.lifeMax = 60
		npc.knockBackResist = 0.8
		npc.value = 75
		npc.buffImmune[31] = false
	end,
	[194] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 14
		npc.defense = 4
		npc.lifeMax = 60
		npc.knockBackResist = 0.8
		npc.value = 75
		npc.buffImmune[31] = false
	end,
	[195] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 42
		npc.damage = 10
		npc.defense = 30
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.rarity = 1
	end,
	[196] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 35
		npc.defense = 16
		npc.lifeMax = 300
		npc.knockBackResist = 0.4
		npc.value = 10000
		npc.buffImmune[31] = false
		npc.rarity = 1
	end,
	[197] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 28
		npc.lifeMax = 280
		npc.knockBackResist = 0.45
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[198] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 38
		npc.defense = 20
		npc.lifeMax = 400
		npc.knockBackResist = 0.4
		npc.value = 650
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[199] = function(npc)
		npc.width = 42
		npc.height = 30
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 30
		npc.lifeMax = 400
		npc.knockBackResist = 0.0
		npc.value = 650
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[200] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 12
		npc.defense = 4
		npc.lifeMax = 38
		npc.knockBackResist = 0.6
		npc.value = 65
		npc.buffImmune[31] = false
	end,
	[201] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 12
		npc.lifeMax = 55
		npc.knockBackResist = 0.5
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[202] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 18
		npc.defense = 8
		npc.lifeMax = 65
		npc.knockBackResist = 0.5
		npc.value = 120
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[203] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 22
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 110
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[204] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 28
		npc.defense = 8
		npc.lifeMax = 65
		npc.scale = 1.15
		npc.value = 300
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[205] = function(npc)
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 5
		npc.damage = 70
		npc.defense = 28
		npc.lifeMax = 1000
		npc.knockBackResist = 0.4
		npc.value = 600
		npc.noGravity = true
		npc.buffImmune[20] = true
		npc.rarity = 2
	end,
	[206] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 30
		npc.lifeMax = 280
		npc.knockBackResist = 0.5
		npc.value = 500
		npc.buffImmune[31] = false
		npc.coldDamage = true
	end,
	[207] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[208] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[209] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[210] = function(npc)
		npc.width = 12
		npc.height = 12
		npc.aiStyle = 5
		npc.damage = 20
		npc.defense = 5
		npc.lifeMax = 20
		npc.knockBackResist = 0.5
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[211] = function(npc)
		npc.width = 8
		npc.height = 8
		npc.aiStyle = 5
		npc.damage = 15
		npc.defense = 2
		npc.lifeMax = 10
		npc.knockBackResist = 0.5
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[212] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 35
		npc.defense = 17
		npc.lifeMax = 300
		npc.knockBackResist = 0.4
		npc.value = 700
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[213] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 22
		npc.lifeMax = 450
		npc.knockBackResist = 0.2
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[214] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 30
		npc.defense = 14
		npc.lifeMax = 225
		npc.knockBackResist = 0.3
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[215] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 35
		npc.defense = 20
		npc.lifeMax = 350
		npc.knockBackResist = 0.35
		npc.value = 1500
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[216] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 30
		npc.lifeMax = 3000
		npc.knockBackResist = 0.0
		npc.value = 50000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = true
	end,
	[217] = function(npc)
		npc.width = 28
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 40
		npc.value = 60
	end,
	[218] = function(npc)
		npc.width = 28
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 40
		npc.value = 60
	end,
	[219] = function(npc)
		npc.width = 28
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 40
		npc.value = 60
	end,
	[220] = function(npc)
		npc.width = 28
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 40
		npc.value = 60
	end,
	[221] = function(npc)
		npc.noGravity = true
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 18
		npc.damage = 20
		npc.defense = 2
		npc.lifeMax = 30
		npc.value = 100
	end,
	[222] = function(npc)
		npc.width = 66
		npc.height = 66
		npc.aiStyle = 43
		npc.damage = 30
		npc.defense = 8
		npc.lifeMax = 3400
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		
		npc.boss = true
		npc.value = 100000
		npc.npcSlots = 7
	end,
	[223] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 8
		npc.lifeMax = 50
		npc.knockBackResist = 0.45
		npc.value = 70
		npc.buffImmune[31] = false
	end,
	[224] = function(npc)
		npc.width = 32
		npc.height = 18
		npc.aiStyle = 44
		npc.damage = 9
		npc.defense = 4
		npc.lifeMax = 20
		npc.knockBackResist = 0.8
		npc.value = 90
		npc.buffImmune[31] = false
	end,
	[225] = function(npc)
		npc.width = 38
		npc.height = 26
		npc.aiStyle = 1
		npc.damage = 10
		npc.defense = 5
		npc.lifeMax = 35
		npc.knockBackResist = 0.75
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[226] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 34
		npc.height = 50
		npc.aiStyle = 14
		npc.damage = 85
		npc.defense = 28
		npc.lifeMax = 260
		npc.knockBackResist = 0.65
		npc.value = 400
		npc.buffImmune[31] = false
	end,
	[227] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[228] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[229] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[230] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[231] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 22
		npc.defense = 16
		npc.lifeMax = 50
		npc.knockBackResist = 0.3
		npc.value = 200
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[232] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 28
		npc.defense = 12
		npc.lifeMax = 42
		npc.knockBackResist = 0.6
		npc.value = 200
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[233] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 30
		npc.defense = 14
		npc.lifeMax = 38
		npc.knockBackResist = 0.45
		npc.value = 200
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[234] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 32
		npc.defense = 6
		npc.lifeMax = 42
		npc.knockBackResist = 0.55
		npc.value = 200
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[235] = function(npc)
		npc.width = 34
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 34
		npc.defense = 4
		npc.lifeMax = 38
		npc.knockBackResist = 0.6
		npc.value = 200
		npc.noGravity = true
		npc.buffImmune[20] = true
	end,
	[236] = function(npc)
		npc.width = 50
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 14
		npc.lifeMax = 120
		npc.knockBackResist = 0.25
		npc.value = 1000
		
		npc.npcSlots = 0.75
		npc.buffImmune[20] = true
	end,
	[237] = function(npc)
		npc.noGravity = true
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 40
		npc.damage = 50
		npc.defense = 14
		npc.lifeMax = 120
		npc.knockBackResist = 0.25
		npc.value = 1000
		
		npc.npcSlots = 0.75
		npc.buffImmune[20] = true
	end,
	[239] = function(npc)
		npc.width = 50
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 30
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 130
		
		npc.buffImmune[20] = true
	end,
	[240] = function(npc)
		npc.noGravity = true
		npc.width = 50
		npc.height = 20
		npc.aiStyle = 40
		npc.damage = 30
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 130
		
		npc.buffImmune[20] = true
	end,
	[241] = function(npc)
		npc.npcSlots = 0.5
		npc.noGravity = true
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 16
		npc.damage = 30
		npc.defense = 4
		npc.lifeMax = 20
		npc.value = 350
	end,
	[242] = function(npc)
		npc.noGravity = true
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 18
		npc.damage = 75
		npc.defense = 20
		npc.lifeMax = 150
		npc.value = 800
	end,
	[243] = function(npc)
		npc.width = 30
		npc.height = 114
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 32
		npc.lifeMax = 4000
		npc.knockBackResist = 0.05
		npc.value = buyPrice(0, 1, 50, 0)
		npc.buffImmune[20] = true
		npc.buffImmune[44] = true
		npc.coldDamage = true
		npc.rarity = 2
	end,
	[244] = function(npc)
		npc.width = 60
		npc.height = 42
		npc.aiStyle = 1
		npc.damage = 85
		npc.defense = 26
		npc.lifeMax = 400
		npc.value = buyPrice(0, 0, 20, 0)
		npc.knockBackResist = 0.3
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.rarity = 1
	end,
	[245] = function(npc)
		npc.width = 140
		npc.height = 140
		npc.aiStyle = 45
		npc.damage = 72
		npc.defense = 26
		npc.lifeMax = 9000
		npc.knockBackResist = 0.0
		npc.value = buyPrice(0, 15, 0, 0)
		npc.boss = true
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[246] = function(npc)
		npc.noGravity = true
		npc.width = 70
		npc.height = 70
		npc.aiStyle = 46
		npc.damage = 64
		npc.defense = 20
		npc.lifeMax = 16000
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[247] = function(npc)
		npc.noGravity = true
		npc.width = 40
		npc.height = 30
		npc.aiStyle = 47
		npc.damage = 59
		npc.defense = 28
		npc.lifeMax = 7000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[249] = function(npc)
		npc.noGravity = true
		npc.width = 70
		npc.height = 70
		npc.aiStyle = 48
		npc.damage = 80
		npc.defense = 32
		npc.lifeMax = 11000
		npc.knockBackResist = 0.0
		npc.dontTakeDamage = true
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[250] = function(npc)
		npc.width = 34
		npc.height = 26
		npc.aiStyle = 49
		npc.damage = 50
		npc.defense = 24
		npc.lifeMax = 300
		npc.knockBackResist = 0.3
		npc.value = 300
		npc.buffImmune[20] = true
	end,
	[251] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 30
		npc.lifeMax = 1000
		npc.knockBackResist = 0.3
		npc.value = buyPrice(0, 0, 50, 0)
		npc.buffImmune[31] = false
	end,
	[252] = function(npc)
		npc.noGravity = true
		npc.npcSlots = 0.5
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 5
		npc.damage = 80
		npc.defense = 12
		npc.lifeMax = 100
		npc.knockBackResist = 0.7
		npc.value = 500
		npc.buffImmune[31] = false
	end,
	[254] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 40
		npc.defense = 10
		npc.lifeMax = 180
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[31] = false
	end,
	[255] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 38
		npc.defense = 16
		npc.lifeMax = 220
		npc.knockBackResist = 0.3
		npc.value = 1200
		npc.buffImmune[31] = false
	end,
	[256] = function(npc)
		npc.noGravity = true
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 18
		npc.damage = 90
		npc.defense = 20
		npc.lifeMax = 140
		npc.value = 1200
		npc.npcSlots = 0.3
	end,
	[257] = function(npc)
		npc.width = 44
		npc.height = 34
		npc.aiStyle = 3
		npc.damage = 38
		npc.defense = 24
		npc.lifeMax = 230
		npc.knockBackResist = 0.3
		npc.value = 1300
		npc.buffImmune[31] = false
		npc.npcSlots = 0.3
	end,
	[258] = function(npc)
		npc.width = 30
		npc.height = 24
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 16
		npc.lifeMax = 220
		npc.knockBackResist = 0.3
		npc.value = 1500
		npc.buffImmune[31] = false
		npc.npcSlots = 0.3
	end,
	[259] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 13
		npc.damage = 24
		npc.defense = 4
		npc.lifeMax = 90
		npc.knockBackResist = 0.0
		npc.value = 350
		npc.buffImmune[20] = true
		npc.npcSlots = 0.3
	end,
	[260] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 13
		npc.damage = 70
		npc.defense = 20
		npc.lifeMax = 300
		npc.knockBackResist = 0.0
		npc.value = 1250
		npc.buffImmune[20] = true
		npc.npcSlots = 0.3
	end,
	[261] = function(npc)
		npc.width = 12
		npc.height = 12
		npc.aiStyle = 50
		npc.damage = 80
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.npcSlots = 0.0
	end,
	[262] = function(npc)
		npc.noTileCollide = true
		npc.width = 86
		npc.height = 86
		npc.aiStyle = 51
		npc.damage = 50
		npc.defense = 14
		npc.lifeMax = 30000
		npc.knockBackResist = 0.0
		npc.value = buyPrice(0, 15, 0, 0)
		npc.noGravity = true
		npc.boss = true
		npc.npcSlots = 16
		npc.buffImmune[20] = true
	end,
	[263] = function(npc)
		npc.noTileCollide = true
		npc.noGravity = true
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 52
		npc.damage = 60
		npc.defense = 24
		npc.lifeMax = 4000
		npc.dontTakeDamage = true
		npc.buffImmune[20] = true
	end,
	[264] = function(npc)
		npc.width = 24
		npc.height = 24
		npc.aiStyle = 53
		npc.damage = 60
		npc.defense = 20
		npc.lifeMax = 1000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmune[20] = true
	end,
	[265] = function(npc)
		npc.width = 18
		npc.height = 18
		npc.aiStyle = 50
		npc.damage = 70
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.npcSlots = 0.0
	end,
	[266] = function(npc)
		npc.dontTakeDamage = true
		npc.width = 160
		npc.height = 110
		npc.aiStyle = 54
		npc.damage = 30
		npc.defense = 14
		npc.lifeMax = 1000
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		
		npc.boss = true
		npc.value = 50000
		npc.npcSlots = 6
	end,
	[267] = function(npc)
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 55
		npc.damage = 20
		npc.defense = 10
		npc.lifeMax = 100
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.8
	end,
	[268] = function(npc)
		npc.noGravity = true
		npc.width = 28
		npc.height = 56
		npc.aiStyle = 22
		npc.damage = 55
		npc.defense = 20
		npc.lifeMax = 340
		npc.knockBackResist = 0.6
		npc.value = 450
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[269] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 34
		npc.lifeMax = 550
		npc.knockBackResist = 0.3
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[270] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 55
		npc.defense = 50
		npc.lifeMax = 400
		npc.knockBackResist = 0.2
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[271] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 40
		npc.lifeMax = 450
		npc.knockBackResist = 0.25
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[272] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 75
		npc.defense = 28
		npc.lifeMax = 400
		npc.knockBackResist = 0.35
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[273] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 45
		npc.defense = 50
		npc.lifeMax = 500
		npc.knockBackResist = 0.15
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[274] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 65
		npc.defense = 34
		npc.lifeMax = 350
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[275] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 45
		npc.defense = 50
		npc.lifeMax = 550
		npc.knockBackResist = 0.15
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[276] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 85
		npc.defense = 54
		npc.lifeMax = 500
		npc.knockBackResist = 0.2
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[277] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 32
		npc.lifeMax = 400
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[31] = false
	end,
	[278] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 65
		npc.defense = 48
		npc.lifeMax = 450
		npc.knockBackResist = 0.3
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[31] = false
	end,
	[279] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 40
		npc.defense = 54
		npc.lifeMax = 500
		npc.knockBackResist = 0.2
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[31] = false
	end,
	[280] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 75
		npc.defense = 34
		npc.lifeMax = 500
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[31] = false
	end,
	[281] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 400
		npc.knockBackResist = 0.6
		npc.value = 1500
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[282] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 35
		npc.defense = 28
		npc.lifeMax = 450
		npc.knockBackResist = 0.5
		npc.value = 1500
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[283] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 50
		npc.defense = 18
		npc.lifeMax = 300
		npc.knockBackResist = 0.55
		npc.value = 1500
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[284] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 35
		npc.defense = 24
		npc.lifeMax = 450
		npc.knockBackResist = 0.5
		npc.value = 1500
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[285] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 50
		npc.defense = 12
		npc.lifeMax = 200
		npc.knockBackResist = 0.7
		npc.value = 1500
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[286] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 8
		npc.damage = 60
		npc.defense = 10
		npc.lifeMax = 250
		npc.knockBackResist = 0.65
		npc.value = 1500
		npc.npcSlots = 2
		npc.buffImmune[20] = true
	end,
	[287] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 90
		npc.defense = 42
		npc.lifeMax = 1000
		npc.knockBackResist = 0.3
		npc.value = 2000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.rarity = 1
	end,
	[288] = function(npc)
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 56
		npc.damage = 70
		npc.defense = 30
		npc.lifeMax = 200
		npc.knockBackResist = 0.2
		npc.value = 500
		npc.noTileCollide = true
		npc.noGravity = true
		npc.buffImmuneAll = true
	end,
	[289] = function(npc)
		npc.width = 44
		npc.height = 44
		npc.aiStyle = 10
		npc.damage = 60
		npc.defense = 20
		npc.lifeMax = 400
		npc.noGravity = true
		npc.noTileCollide = true
		npc.value = 150
		npc.knockBackResist = 0.2
		npc.npcSlots = 0.75
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[290] = function(npc)
		npc.width = 34
		npc.height = 62
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 50
		npc.lifeMax = 5000
		npc.knockBackResist = 0.0
		npc.value = 50000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = true
		npc.rarity = 1
	end,
	[291] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 28
		npc.lifeMax = 400
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.rarity = 2
	end,
	[292] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 28
		npc.lifeMax = 400
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.rarity = 2
	end,
	[293] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 28
		npc.lifeMax = 400
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.rarity = 2
	end,
	[294] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 34
		npc.defense = 6
		npc.lifeMax = 70
		npc.knockBackResist = 0.9
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[295] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 28
		npc.defense = 12
		npc.lifeMax = 70
		npc.knockBackResist = 0.7
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[296] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 24
		npc.defense = 14
		npc.lifeMax = 120
		npc.knockBackResist = 0.6
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[299] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[300] = function(npc)
		npc.width = 14
		npc.height = 12
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.25
		
	end,
	[301] = function(npc)
		npc.width = 36
		npc.height = 26
		npc.aiStyle = 17
		npc.damage = 12
		npc.defense = 2
		npc.lifeMax = 35
		npc.knockBackResist = 0.85
		npc.value = 50
	end,
	[302] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 7
		npc.defense = 2
		npc.lifeMax = 25
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[304] = function(npc)
		npc.width = 34
		npc.height = 28
		npc.aiStyle = 1
		npc.damage = 80
		npc.defense = 20
		npc.lifeMax = 175
		npc.value = 500
		npc.scale = 1.1
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.knockBackResist = 0.5
		npc.npcSlots = 0.3
	end,
	[305] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 60
		npc.defense = 18
		npc.lifeMax = 500
		npc.knockBackResist = 0.4
	end,
	[306] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 52
		npc.defense = 14
		npc.lifeMax = 400
		npc.knockBackResist = 0.2
		npc.scale = 1.05
	end,
	[307] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 78
		npc.defense = 16
		npc.lifeMax = 600
		npc.knockBackResist = 0.25
		npc.scale = 0.9
	end,
	[308] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 66
		npc.defense = 14
		npc.lifeMax = 650
		npc.knockBackResist = 0.35
		npc.scale = 0.95
	end,
	[309] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 52
		npc.defense = 26
		npc.lifeMax = 450
		npc.knockBackResist = 0.5
		npc.scale = 1.1
	end,
	[315] = function(npc)
		npc.width = 74
		npc.height = 70
		npc.aiStyle = 26
		npc.damage = 130
		npc.defense = 40
		npc.lifeMax = 10000
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.buffImmuneAll = true
	end,
	[316] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 22
		npc.damage = 40
		npc.defense = 14
		npc.lifeMax = 100
		npc.value = 700
		npc.buffImmuneAll = true
		npc.knockBackResist = 0.7
	end,
	[317] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 16
		npc.defense = 6
		npc.lifeMax = 75
		npc.knockBackResist = 0.7
		npc.value = 100
		npc.buffImmune[31] = false
	end,
	[318] = function(npc)
		npc.width = 30
		npc.height = 32
		npc.aiStyle = 2
		npc.damage = 20
		npc.defense = 4
		npc.lifeMax = 60
		npc.knockBackResist = 0.65
		npc.value = 100
		npc.buffImmune[31] = false
	end,
	[319] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 6
		npc.lifeMax = 40
		npc.knockBackResist = 0.6
		npc.value = 85
		npc.buffImmune[31] = false
		npc.scale = 0.9
	end,
	[320] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 15
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 105
		npc.buffImmune[31] = false
		npc.scale = 1.05
	end,
	[321] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 14
		npc.lifeMax = 34
		npc.knockBackResist = 0.3
		npc.value = 120
		npc.buffImmune[31] = false
		npc.scale = 1.1
	end,
	[322] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 23
		npc.defense = 0
		npc.lifeMax = 115
		npc.knockBackResist = 0.65
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[323] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 18
		npc.defense = 10
		npc.lifeMax = 65
		npc.knockBackResist = 0.5
		npc.value = 120
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[324] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 22
		npc.defense = 10
		npc.lifeMax = 70
		npc.knockBackResist = 0.4
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.scale = 1.05
	end,
	[325] = function(npc)
		npc.width = 164
		npc.height = 154
		npc.aiStyle = 57
		npc.damage = 120
		npc.defense = 28
		npc.lifeMax = 12000
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.buffImmuneAll = true
	end,
	[326] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 32
		npc.lifeMax = 900
		npc.knockBackResist = 0.2
		npc.value = 2000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[327] = function(npc)
		npc.width = 100
		npc.height = 100
		npc.aiStyle = 58
		npc.damage = 50
		npc.defense = 36
		npc.lifeMax = 22000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.value = 50000
		npc.knockBackResist = 0.0
		npc.buffImmuneAll = true
	end,
	[328] = function(npc)
		npc.width = 80
		npc.height = 80
		npc.aiStyle = 59
		npc.damage = 65
		npc.defense = 14
		npc.lifeMax = 5000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.buffImmuneAll = true
		npc.dontTakeDamage = true
		npc.npcSlots = 0.0
	end,
	[329] = function(npc)
		npc.width = 46
		npc.height = 30
		npc.aiStyle = 26
		npc.damage = 80
		npc.defense = 38
		npc.lifeMax = 1200
		npc.knockBackResist = 0.3
		npc.value = 3000
		npc.buffImmuneAll = true
	end,
	[330] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 22
		npc.damage = 90
		npc.defense = 44
		npc.lifeMax = 2000
		npc.value = 4500
		npc.buffImmuneAll = true
		npc.knockBackResist = 0.4
	end,
	[331] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 6
		npc.lifeMax = 45
		npc.knockBackResist = 0.5
		npc.value = 60
		npc.buffImmune[31] = false
	end,
	[332] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 6
		npc.lifeMax = 45
		npc.knockBackResist = 0.5
		npc.value = 60
		npc.buffImmune[31] = false
	end,
	[333] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 7
		npc.defense = 2
		npc.lifeMax = 25
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[334] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 6
		npc.defense = 2
		npc.lifeMax = 23
		npc.scale = 0.9
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[335] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 8
		npc.defense = 3
		npc.lifeMax = 29
		npc.scale = 1.05
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[336] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 5
		npc.defense = 1
		npc.lifeMax = 22
		npc.scale = 0.85
		npc.value = 25
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[338] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 65
		npc.defense = 18
		npc.lifeMax = 600
		npc.knockBackResist = 0.4
	end,
	[339] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 52
		npc.defense = 24
		npc.lifeMax = 700
		npc.knockBackResist = 0.2
		npc.scale = 1.05
	end,
	[340] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.damage = 78
		npc.defense = 14
		npc.lifeMax = 500
		npc.knockBackResist = 0.25
		npc.scale = 0.9
	end,
	[341] = function(npc)
		npc.width = 24
		npc.height = 24
		npc.aiStyle = 25
		npc.damage = 100
		npc.defense = 32
		npc.lifeMax = 900
		npc.value = buyPrice(0, 0, 20, 0)
		npc.knockBackResist = 0.25
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[342] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 90
		npc.defense = 26
		npc.lifeMax = 750
		npc.knockBackResist = 0.2
		npc.value = 1800
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[343] = function(npc)
		npc.width = 38
		npc.height = 78
		npc.aiStyle = 3
		npc.damage = 140
		npc.defense = 50
		npc.lifeMax = 3500
		npc.knockBackResist = 0.0
		npc.value = 3000
		npc.buffImmune[31] = false
		npc.npcSlots = 2
	end,
	[344] = function(npc)
		npc.width = 172
		npc.height = 130
		npc.aiStyle = 57
		npc.damage = 110
		npc.defense = 38
		npc.lifeMax = 13000
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.buffImmune[20] = true
		npc.npcSlots = 3
	end,
	[345] = function(npc)
		npc.width = 130
		npc.height = 140
		npc.aiStyle = 60
		npc.damage = 120
		npc.defense = 38
		npc.lifeMax = 34000
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.buffImmune[20] = true
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 5
		npc.coldDamage = true
	end,
	[346] = function(npc)
		npc.width = 112
		npc.height = 140
		npc.aiStyle = 61
		npc.damage = 120
		npc.defense = 56
		npc.lifeMax = 18000
		npc.knockBackResist = 0.0
		npc.value = 10000
		npc.buffImmune[20] = true
		npc.npcSlots = 4
	end,
	[347] = function(npc)
		npc.width = 50
		npc.height = 50
		npc.aiStyle = 62
		npc.damage = 60
		npc.defense = 28
		npc.lifeMax = 1200
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 1.5
	end,
	[348] = function(npc)
		npc.width = 28
		npc.height = 76
		npc.aiStyle = 3
		npc.damage = 80
		npc.defense = 26
		npc.lifeMax = 1800
		npc.knockBackResist = 0.4
		npc.value = 1500
		npc.buffImmune[31] = false
		npc.npcSlots = 1.5
	end,
	[349] = function(npc)
		npc.width = 28
		npc.height = 76
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 42
		npc.lifeMax = 1800
		npc.knockBackResist = 0.1
		npc.value = 1500
		npc.buffImmune[31] = false
		npc.npcSlots = 1.5
	end,
	[350] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 30
		npc.lifeMax = 900
		npc.knockBackResist = 0.45
		npc.value = 900
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[351] = function(npc)
		npc.width = 18
		npc.height = 90
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 40
		npc.lifeMax = 2500
		npc.knockBackResist = 0.1
		npc.value = 3000
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
		npc.npcSlots = 1.75
	end,
	[352] = function(npc)
		npc.width = 54
		npc.height = 54
		npc.aiStyle = 63
		npc.damage = 75
		npc.defense = 8
		npc.lifeMax = 450
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.4
		npc.noGravity = true
		npc.noTileCollide = true
		npc.npcSlots = 2
		npc.coldDamage = true
	end,
	[353] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[354] = function(npc)
		npc.friendly = true
		npc.width = 18
		npc.height = 34
		npc.aiStyle = 0
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.scale = 0.9
		npc.rarity = 1
	end,
	[355] = function(npc)
		npc.width = 10
		npc.height = 10
		npc.aiStyle = 64
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.2
		npc.noGravity = true
		
	end,
	[356] = function(npc)
		npc.width = 10
		npc.height = 10
		npc.aiStyle = 65
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.25
		npc.noGravity = true
		
	end,
	[357] = function(npc)
		npc.width = 10
		npc.height = 4
		npc.aiStyle = 66
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.1
		
		npc.friendly = true
	end,
	[358] = function(npc)
		npc.width = 12
		npc.height = 12
		npc.aiStyle = 64
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.2
		npc.noGravity = true
		
	end,
	[359] = function(npc)
		npc.width = 12
		npc.height = 12
		npc.aiStyle = 67
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.5
		npc.noGravity = true
		
	end,
	[360] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 67
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.5
		npc.noGravity = true
		
	end,
	[361] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[362] = function(npc)
		npc.width = 22
		npc.height = 26
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[363] = function(npc)
		npc.width = 28
		npc.height = 22
		npc.aiStyle = 68
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[364] = function(npc)
		npc.width = 22
		npc.height = 26
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[365] = function(npc)
		npc.width = 28
		npc.height = 22
		npc.aiStyle = 68
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[366] = function(npc)
		npc.width = 26
		npc.height = 18
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
	end,
	[368] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[369] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[370] = function(npc)
		npc.width = 150
		npc.height = 100
		npc.aiStyle = 69
		npc.damage = 100
		npc.defense = 50
		npc.lifeMax = 50000
		npc.knockBackResist = 0.0
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 10
		npc.value = 10000
		npc.boss = true
		npc.netAlways = true
		
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[31] = true
		npc.buffImmune[44] = true
	end,
	[371] = function(npc)
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 70
		npc.damage = 100
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
	end,
	[372] = function(npc)
		npc.noGravity = true
		npc.width = 120
		npc.height = 24
		npc.aiStyle = 71
		npc.damage = 100
		npc.defense = 100
		npc.lifeMax = 100
		npc.knockBackResist = 0.0
	end,
	[373] = function(npc)
		npc.noGravity = true
		npc.width = 100
		npc.height = 24
		npc.aiStyle = 71
		npc.damage = 120
		npc.defense = 100
		npc.lifeMax = 100
		npc.knockBackResist = 0.0
	end,
	[374] = function(npc)
		npc.width = 20
		npc.height = 10
		npc.aiStyle = 66
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.15
		
		npc.rarity = 4
	end,
	[375] = function(npc)
		npc.width = 10
		npc.height = 10
		npc.aiStyle = 6
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.npcSlots = 0.15
		
	end,
	[376] = function(npc)
		npc.friendly = true
		npc.width = 34
		npc.height = 8
		npc.aiStyle = 0
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.scale = 0.9
		npc.rarity = 1
	end,
	[377] = function(npc)
		npc.width = 14
		npc.height = 12
		npc.aiStyle = 1
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.friendly = true
		
		npc.npcSlots = 0.1
	end,
	[378] = function(npc)
		npc.npcSlots = 1
		npc.width = 20
		npc.height = 26
		npc.aiStyle = 41
		npc.damage = 80
		npc.defense = 30
		npc.lifeMax = 200
		npc.knockBackResist = 0.5
		npc.value = 450
	end,
	[379] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 45
		npc.defense = 14
		npc.lifeMax = 210
		npc.knockBackResist = 0.55
		npc.value = 1000
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		npc.netAlways = true
		npc.chaseable = false
	end,
	[381] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 25
		npc.lifeMax = 350
		npc.knockBackResist = 0.35
		npc.value = 1000
	end,
	[383] = function(npc)
		npc.lifeMax = 300
		npc.defense = 50
		npc.damage = 75
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.knockBackResist = 0.25
		npc.buffImmune[31] = false
	end,
	[384] = function(npc)
		npc.lifeMax = 1000
		npc.width = 18
		npc.damage = 0
		npc.defense = 20
		npc.height = 40
		npc.aiStyle = 72
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
		npc.noTileCollide = true
		npc.canGhostHeal = false
	end,
	[385] = function(npc)
		npc.lifeMax = 750
		npc.defense = 30
		npc.damage = 80
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 600
		npc.knockBackResist = 0.0
		npc.npcSlots = 0.75
	end,
	[386] = function(npc)
		npc.lifeMax = 400
		npc.defense = 34
		npc.damage = 40
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.knockBackResist = 0.4
	end,
	[387] = function(npc)
		npc.width = 20
		npc.height = 50
		npc.aiStyle = 73
		npc.damage = 10
		npc.defense = 40
		npc.lifeMax = 200
		npc.knockBackResist = 0.0
		npc.buffImmune[31] = true
		npc.canGhostHeal = false
	end,
	[388] = function(npc)
		npc.width = 40
		npc.height = 30
		npc.aiStyle = 74
		npc.damage = 60
		npc.defense = 16
		npc.lifeMax = 300
		npc.knockBackResist = 0.4
		npc.value = 1000
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 1.5
		npc.canGhostHeal = false
	end,
	[389] = function(npc)
		npc.lifeMax = 600
		npc.defense = 38
		npc.damage = 75
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.npcSlots = 0.5
		npc.knockBackResist = 0.3
	end,
	[390] = function(npc)
		npc.damage = 65
		npc.defense = 30
		npc.lifeMax = 350
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 75
		npc.value = 1200
		npc.npcSlots = 0.5
	end,
	[391] = function(npc)
		npc.lifeMax = 600
		npc.defense = 30
		npc.damage = 85
		npc.width = 60
		npc.height = 40
		npc.aiStyle = 3
		npc.value = 1200
		npc.npcSlots = 0.5
		npc.knockBackResist = 0.1
	end,
	[392] = function(npc)
		npc.lifeMax = 100
		npc.defense = 100
		npc.damage = 50
		npc.width = 150
		npc.height = 80
		npc.aiStyle = 75
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.dontTakeDamage = true
		npc.buffImmuneAll = true
		npc.netAlways = true
	end,
	[393] = function(npc)
		npc.lifeMax = 5000
		npc.defense = 20
		npc.damage = 60
		npc.width = 40
		npc.height = 16
		npc.aiStyle = 75
		npc.value = 0.0
		npc.npcSlots = 1
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.netAlways = true
	end,
	[394] = function(npc)
		npc.lifeMax = 3500
		npc.defense = 20
		npc.damage = 60
		npc.width = 46
		npc.height = 36
		npc.aiStyle = 75
		npc.value = 0.0
		npc.npcSlots = 1
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.netAlways = true
	end,
	[395] = function(npc)
		npc.lifeMax = 10000
		npc.defense = 0
		npc.damage = 80
		npc.width = 46
		npc.height = 36
		npc.aiStyle = 76
		npc.value = 0.0
		npc.npcSlots = 6
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.dontTakeDamage = true
		npc.boss = true
		npc.buffImmuneAll = true
		npc.netAlways = true
	end,
	[399] = function(npc)
		npc.defense = 5
		npc.damage = 5
		npc.lifeMax = 500
		npc.aiStyle = 80
		npc.width = 42
		npc.height = 72
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.npcSlots = 0.0
		npc.noGravity = true
		
		npc.chaseable = false
		npc.netAlways = true
		npc.rarity = 1
	end,
	[396] = function(npc)
		npc.lifeMax = 45000
		npc.defense = 50
		npc.damage = 0
		npc.width = 38
		npc.height = 56
		npc.aiStyle = 79
		npc.value = 0.0
		npc.npcSlots = 6
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.boss = true
		npc.hide = true
		npc.netAlways = true
	end,
	[397] = function(npc)
		npc.lifeMax = 25000
		npc.defense = 40
		npc.damage = 0
		npc.width = 46
		npc.height = 66
		npc.aiStyle = 78
		npc.value = 0.0
		npc.npcSlots = 6
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.boss = true
		npc.hide = true
		npc.netAlways = true
	end,
	[398] = function(npc)
		npc.lifeMax = 50000
		npc.defense = 70
		npc.damage = 0
		npc.width = 46
		npc.height = 66
		npc.aiStyle = 77
		npc.value = 0.0
		npc.npcSlots = 6
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.dontTakeDamage = true
		npc.boss = true
		npc.behindTiles = true
		npc.hide = true
		npc.netAlways = true
	end,
	[400] = function(npc)
		npc.defense = 0
		npc.damage = 60
		npc.lifeMax = 100
		npc.aiStyle = 81
		npc.width = 60
		npc.height = 60
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.npcSlots = 0.0
		npc.noGravity = true
		npc.dontTakeDamage = true
		npc.noTileCollide = true
		npc.netAlways = true
	end,
	[401] = function(npc)
		npc.lifeMax = 400
		npc.defense = 0
		npc.damage = 0
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 82
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.hide = true
	end,
	[430] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 6
		npc.lifeMax = 45
		npc.knockBackResist = 0.5
		npc.value = 60
		npc.buffImmune[31] = false
	end,
	[431] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 8
		npc.lifeMax = 50
		npc.knockBackResist = 0.45
		npc.value = 80
		npc.buffImmune[31] = false
	end,
	[432] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 8
		npc.lifeMax = 50
		npc.knockBackResist = 0.45
		npc.value = 65
		npc.buffImmune[31] = false
	end,
	[433] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 13
		npc.defense = 6
		npc.lifeMax = 40
		npc.knockBackResist = 0.55
		npc.value = 55
		npc.buffImmune[31] = false
	end,
	[434] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 13
		npc.defense = 8
		npc.lifeMax = 45
		npc.knockBackResist = 0.45
		npc.value = 80
		npc.buffImmune[31] = false
	end,
	[435] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 16
		npc.defense = 4
		npc.lifeMax = 45
		npc.knockBackResist = 0.55
		npc.value = 70
		npc.buffImmune[31] = false
	end,
	[436] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 12
		npc.defense = 4
		npc.lifeMax = 38
		npc.knockBackResist = 0.6
		npc.value = 65
		npc.buffImmune[31] = false
	end,
	[437] = function(npc)
		npc.lifeMax = 400
		npc.defense = 0
		npc.damage = 0
		npc.width = 54
		npc.height = 54
		npc.aiStyle = 83
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.dontTakeDamage = true
		npc.netAlways = true
	end,
	[438] = function(npc)
		npc.lifeMax = 400
		npc.defense = 0
		npc.damage = 0
		npc.width = 22
		npc.height = 40
		npc.aiStyle = 83
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.knockBackResist = 0.0
		npc.lavaImmune = true
		npc.netAlways = true
		npc.chaseable = false
	end,
	[439] = function(npc)
		npc.width = 24
		npc.height = 50
		npc.aiStyle = 84
		npc.damage = 50
		npc.defense = 42
		npc.lifeMax = 32000
		npc.knockBackResist = 0.0
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 10
		npc.value = 10000
		npc.boss = true
		npc.netAlways = true
		
		npc.buffImmuneAll = true
	end,
	[440] = function(npc)
		npc.width = 24
		npc.height = 50
		npc.aiStyle = 84
		npc.damage = 0
		npc.defense = 35
		npc.lifeMax = 10000
		npc.knockBackResist = 0.0
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 0.0
		npc.netAlways = true
		
		npc.buffImmuneAll = true
		npc.chaseable = false
	end,
	[442] = function(npc)
		npc.width = 14
		npc.height = 14
		npc.aiStyle = 24
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.knockBackResist = 0.8
		
		npc.npcSlots = 0.4
		npc.rarity = 3
	end,
	[443] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
		npc.rarity = 3
	end,
	[444] = function(npc)
		npc.width = 10
		npc.height = 10
		npc.aiStyle = 65
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.25
		npc.noGravity = true
		
		npc.rarity = 3
	end,
	[445] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
		npc.rarity = 3
	end,
	[446] = function(npc)
		npc.width = 14
		npc.height = 12
		npc.aiStyle = 1
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.friendly = true
		
		npc.npcSlots = 0.1
		npc.rarity = 3
	end,
	[447] = function(npc)
		npc.width = 14
		npc.height = 12
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.25
		
		npc.rarity = 3
	end,
	[448] = function(npc)
		npc.width = 10
		npc.height = 4
		npc.aiStyle = 66
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.1
		
		npc.friendly = true
		npc.rarity = 3
	end,
	[449] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 100
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[450] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 12
		npc.lifeMax = 55
		npc.knockBackResist = 0.5
		npc.value = 130
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[451] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 18
		npc.defense = 8
		npc.lifeMax = 65
		npc.knockBackResist = 0.5
		npc.value = 120
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[452] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 22
		npc.defense = 8
		npc.lifeMax = 60
		npc.knockBackResist = 0.5
		npc.value = 110
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[453] = function(npc)
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 30
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.npcSlots = 7
	end,
	[454] = function(npc)
		npc.noTileCollide = true
		npc.npcSlots = 5
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 80
		npc.defense = 10
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.scale = 1
		npc.buffImmuneAll = true
	end,
	[459] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.scale = 1
		npc.buffImmuneAll = true
		npc.dontCountMe = true
	end,
	[455] = function(npc)
		npc.noTileCollide = true
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 4000
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.scale = 1
		npc.buffImmuneAll = true
		npc.dontCountMe = true
	end,
	[464] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 21
		npc.defense = 5
		npc.lifeMax = 75
		npc.value = 500
		npc.buffImmune[31] = false
	end,
	[465] = function(npc)
		npc.noGravity = true
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 16
		npc.damage = 31
		npc.defense = 7
		npc.lifeMax = 110
		npc.value = 500
	end,
	[470] = function(npc)
		npc.width = 16
		npc.height = 34
		npc.aiStyle = 3
		npc.damage = 21
		npc.defense = 5
		npc.lifeMax = 75
		npc.value = 500
		npc.buffImmune[31] = false
	end,
	[473] = function(npc)
		npc.width = 28
		npc.height = 44
		npc.aiStyle = 87
		npc.damage = 90
		npc.defense = 34
		npc.lifeMax = 3500
		npc.value = 30000
		npc.knockBackResist = 0.1
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.rarity = 2
	end,
	[480] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 30
		npc.defense = 20
		npc.lifeMax = 400
		npc.knockBackResist = 0.15
		npc.value = 1000
	end,
	[481] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 22
		npc.defense = 10
		npc.lifeMax = 70
		npc.knockBackResist = 0.4
		npc.value = 300
		npc.buffImmune[31] = false
		npc.buffImmune[20] = true
	end,
	[482] = function(npc)
		npc.width = 28
		npc.height = 48
		npc.aiStyle = 3
		npc.damage = 30
		npc.defense = 18
		npc.lifeMax = 110
		npc.knockBackResist = 0.35
		npc.value = 500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[483] = function(npc)
		npc.npcSlots = 0.5
		npc.width = 20
		npc.height = 30
		npc.aiStyle = 91
		npc.damage = 24
		npc.defense = 8
		npc.lifeMax = 40
		npc.knockBackResist = 0.6
		npc.value = 1000
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[484] = function(npc)
		npc.width = 10
		npc.height = 4
		npc.aiStyle = 66
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		npc.npcSlots = 0.1
		
		npc.friendly = true
	end,
	[488] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 92
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 1000
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.immortal = true
		npc.netAlways = true
	end,
	[489] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 8
		npc.lifeMax = 75
		npc.knockBackResist = 0.4
		npc.value = 150
		npc.buffImmune[31] = false
	end,
	[490] = function(npc)
		npc.noGravity = true
		npc.width = 28
		npc.height = 30
		npc.aiStyle = 22
		npc.damage = 28
		npc.defense = 14
		npc.lifeMax = 50
		npc.knockBackResist = 0.6
		npc.value = 150
		npc.buffImmune[31] = false
	end,
	[491] = function(npc)
		npc.noGravity = true
		npc.width = 350
		npc.height = 120
		npc.aiStyle = 93
		npc.damage = 0
		npc.defense = 100
		npc.lifeMax = 50
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.buffImmuneAll = true
		npc.dontTakeDamage = true
		npc.netAlways = true
	end,
	[492] = function(npc)
		npc.lifeMax = 2000
		npc.defense = 20
		npc.damage = 30
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 75
		npc.value = 0.0
		npc.npcSlots = 1
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.hide = true
		npc.netAlways = true
	end,
	[494] = function(npc)

		npc.width = 28
		npc.height = 22
		npc.aiStyle = 3
		npc.damage = 28
		npc.defense = 6
		npc.lifeMax = 50
		npc.value = 120
	end,
	[496] = function(npc)
		npc.width = 28
		npc.height = 22
		npc.aiStyle = 39
		npc.damage = 16
		npc.defense = 12
		npc.lifeMax = 50
		npc.knockBackResist = 0.75
		npc.value = 120
	end,
	[498] = function(npc)
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 18
		npc.defense = 10
		npc.lifeMax = 65
		npc.knockBackResist = 0.45
		npc.value = 120
		npc.buffImmune[31] = false
	end,
	[441] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[513] = function(npc)
		npc.npcSlots = 4
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.damage = 34
		npc.defense = 0
		npc.lifeMax = 80
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 140
	end,
	[514] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 18
		npc.defense = 12
		npc.lifeMax = 80
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 140
		npc.dontCountMe = true
		npc.npcSlots = 0.0
	end,
	[515] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 16
		npc.defense = 20
		npc.lifeMax = 80
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 140
		npc.dontCountMe = true
		npc.npcSlots = 0.0
	end,
	[510] = function(npc)
		npc.npcSlots = 5
		npc.width = 34
		npc.height = 34
		npc.aiStyle = 6
		npc.damage = 58
		npc.defense = 18
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 700
	end,
	[511] = function(npc)
		npc.width = 34
		npc.height = 34
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 54
		npc.defense = 28
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 700
		npc.dontCountMe = true
		npc.npcSlots = 0.0
	end,
	[512] = function(npc)
		npc.width = 34
		npc.height = 34
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 50
		npc.defense = 34
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.behindTiles = true
		npc.value = 700
		npc.dontCountMe = true
		npc.npcSlots = 0.0
	end,
	[508] = function(npc)
		npc.width = 33
		npc.height = 31
		npc.aiStyle = 3
		npc.damage = 24
		npc.defense = 16
		npc.lifeMax = 70
		npc.knockBackResist = 0.2
		npc.value = 80
		npc.buffImmune[31] = false
		npc.npcSlots = 0.8
	end,
	[509] = function(npc)
		npc.width = 40
		npc.height = 31
		npc.aiStyle = 44
		npc.damage = 30
		npc.defense = 12
		npc.lifeMax = 50
		npc.knockBackResist = 0.6
		npc.value = 90
		npc.buffImmune[31] = false
		npc.npcSlots = 0.8
	end,

	[528] = function(npc)
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 52
		npc.defense = 28
		npc.lifeMax = 350
		npc.knockBackResist = 0.35
		npc.value = 600
		npc.buffImmune[31] = false
	end,
	[530] = function(npc)
		npc.width = 50
		npc.height = 20
		npc.aiStyle = 3
		npc.damage = 66
		npc.defense = 24
		npc.lifeMax = 320
		npc.knockBackResist = 0.5
		npc.value = 600
		
		npc.buffImmune[20] = true
		npc.buffImmune[70] = true
	end,
	[531] = function(npc)
		npc.noGravity = true
		npc.width = 36
		npc.height = 36
		npc.aiStyle = 40
		npc.damage = 66
		npc.defense = 24
		npc.lifeMax = 320
		npc.knockBackResist = 0.5
		npc.value = 600
		
		npc.buffImmune[20] = true
		npc.buffImmune[70] = true
	end,
	[532] = function(npc)
		npc.width = 32
		npc.height = 31
		npc.aiStyle = 3
		npc.damage = 65
		npc.defense = 34
		npc.lifeMax = 270
		npc.knockBackResist = 0.3
		npc.value = 800
		npc.buffImmune[31] = false
		npc.npcSlots = 0.75
	end,
	[533] = function(npc)
		npc.width = 28
		npc.height = 62
		npc.aiStyle = 8
		npc.damage = 40
		npc.defense = 20
		npc.lifeMax = 220
		npc.knockBackResist = 0.0
		npc.value = 1200
		npc.npcSlots = 2
		npc.buffImmuneAll = true
	end,
	[493] = function(npc)
		npc.lifeMax = 20000
		npc.defense = 20
		npc.damage = 0
		npc.width = 130
		npc.height = 270
		npc.aiStyle = 94
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
	end,
	[402] = function(npc)
		npc.noTileCollide = true
		npc.npcSlots = 1
		npc.width = 32
		npc.height = 32
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 80
		npc.defense = 10
		npc.lifeMax = 1200
		npc.noGravity = true
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.scale = 1
		npc.buffImmuneAll = true
	end,
	[405] = function(npc)
		npc.width = 44
		npc.height = 44
		npc.aiStyle = 85
		npc.damage = 120
		npc.defense = 50
		npc.lifeMax = 300
		npc.knockBackResist = 0.5
		npc.noGravity = true
		npc.buffImmune[31] = true
		npc.npcSlots = 2
	end,
	[406] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 95
		npc.damage = 70
		npc.defense = 0
		npc.lifeMax = 300
		npc.knockBackResist = 0.4
		npc.noGravity = true
		npc.buffImmune[31] = true
	end,
	[411] = function(npc)
		npc.width = 22
		npc.height = 56
		npc.aiStyle = 3
		npc.damage = 80
		npc.defense = 34
		npc.lifeMax = 700
		npc.knockBackResist = 0.4
		npc.buffImmune[31] = false
	end,
	[409] = function(npc)
		npc.width = 34
		npc.height = 42
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 40
		npc.lifeMax = 800
		npc.knockBackResist = 0.4
		npc.buffImmune[31] = false
		npc.npcSlots = 3
	end,
	[410] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 26
		npc.damage = 80
		npc.defense = 10
		npc.lifeMax = 200
		npc.knockBackResist = 0.3
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
	end,
	[407] = function(npc)
		npc.width = 40
		npc.height = 60
		npc.aiStyle = 96
		npc.damage = 70
		npc.defense = 38
		npc.lifeMax = 1500
		npc.noGravity = true
		npc.knockBackResist = 0.03
		npc.buffImmune[31] = true
		npc.npcSlots = 3
	end,
	[507] = function(npc)
		npc.lifeMax = 20000
		npc.defense = 20
		npc.damage = 0
		npc.width = 130
		npc.height = 270
		npc.aiStyle = 94
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
	end,
	[423] = function(npc)
		npc.width = 50
		npc.height = 44
		npc.aiStyle = 26
		npc.damage = 90
		npc.defense = 46
		npc.lifeMax = 850
		npc.knockBackResist = 0.2
		npc.buffImmuneAll = true
		npc.npcSlots = 1
	end,
	[421] = function(npc)
		npc.width = 44
		npc.height = 44
		npc.aiStyle = 85
		npc.damage = 70
		npc.defense = 34
		npc.lifeMax = 330
		npc.knockBackResist = 0.5
		npc.noGravity = true
		npc.buffImmune[31] = true
		npc.npcSlots = 1
	end,
	[424] = function(npc)
		npc.width = 22
		npc.height = 56
		npc.aiStyle = 3
		npc.damage = 80
		npc.defense = 30
		npc.lifeMax = 700
		npc.knockBackResist = 0.6
		npc.buffImmune[31] = false
		npc.npcSlots = 2
	end,
	[420] = function(npc)
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 97
		npc.damage = 75
		npc.defense = 20
		npc.lifeMax = 1300
		npc.knockBackResist = 0.5
		npc.noTileCollide = true
		npc.noGravity = true
		npc.npcSlots = 3
	end,
	[422] = function(npc)
		npc.lifeMax = 20000
		npc.defense = 20
		npc.damage = 0
		npc.width = 130
		npc.height = 270
		npc.aiStyle = 94
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
	end,
	[425] = function(npc)
		npc.width = 30
		npc.height = 56
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 40
		npc.lifeMax = 800
		npc.knockBackResist = 0.4
		npc.buffImmune[31] = false
	end,
	[429] = function(npc)
		npc.width = 22
		npc.height = 56
		npc.aiStyle = 3
		npc.damage = 90
		npc.defense = 34
		npc.lifeMax = 700
		npc.knockBackResist = 0.6
		npc.buffImmune[31] = false
		npc.npcSlots = 2
	end,
	[428] = function(npc)
		npc.width = 24
		npc.height = 26
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 6
		npc.lifeMax = 200
	end,
	[427] = function(npc)
		npc.width = 40
		npc.height = 28
		npc.aiStyle = 3
		npc.damage = 75
		npc.defense = 20
		npc.lifeMax = 500
		npc.knockBackResist = 0.5
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
	end,
	[426] = function(npc)
		npc.width = 50
		npc.height = 62
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 44
		npc.lifeMax = 1000
		npc.knockBackResist = 0.3
		npc.buffImmune[31] = false
	end,
	[517] = function(npc)
		npc.lifeMax = 20000
		npc.defense = 20
		npc.damage = 0
		npc.width = 130
		npc.height = 270
		npc.aiStyle = 94
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
	end,
	[412] = function(npc)
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 150
		npc.defense = 1000
		npc.lifeMax = 10000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.dontTakeDamage = true
		npc.npcSlots = 2
	end,
	[413] = function(npc)
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 100
		npc.defense = 1000
		npc.lifeMax = 10000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.dontCountMe = true
		npc.dontTakeDamage = true
		npc.npcSlots = 0.0
	end,
	[414] = function(npc)
		npc.width = 20
		npc.height = 20
		npc.aiStyle = 6
		npc.netAlways = true
		npc.damage = 50
		npc.defense = 0
		npc.lifeMax = 10000
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.dontCountMe = true
		npc.takenDamageMultiplier = 10
		npc.npcSlots = 0.0
	end,
	[415] = function(npc)
		npc.lifeMax = 800
		npc.defense = 32
		npc.damage = 55
		npc.width = 60
		npc.height = 40
		npc.aiStyle = 3
		npc.knockBackResist = 0.2
	end,
	[416] = function(npc)
		npc.damage = 80
		npc.defense = 28
		npc.lifeMax = 800
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 75
		npc.knockBackResist = 0.2
	end,
	[518] = function(npc)
		npc.lifeMax = 1000
		npc.defense = 28
		npc.damage = 80
		npc.width = 22
		npc.height = 56
		npc.aiStyle = 3
		npc.knockBackResist = 0.4
	end,
	[417] = function(npc)
		npc.npcSlots = 2
		npc.width = 46
		npc.height = 32
		npc.aiStyle = 39
		npc.damage = 80
		npc.defense = 34
		npc.lifeMax = 700
		npc.knockBackResist = 0.0
	end,
	[418] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 74
		npc.damage = 70
		npc.defense = 26
		npc.lifeMax = 600
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.2
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
	end,
	[419] = function(npc)
		npc.lifeMax = 800
		npc.defense = 30
		npc.damage = 90
		npc.width = 22
		npc.height = 56
		npc.aiStyle = 3
		npc.knockBackResist = 0.4
	end,
	[516] = function(npc)
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 9
		npc.damage = 100
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = false
		npc.knockBackResist = 0.0
	end,
	[519] = function(npc)
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 99
		npc.damage = 120
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = false
		npc.knockBackResist = 0.0
	end,
	[162] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 65
		npc.defense = 18
		npc.lifeMax = 350
		npc.knockBackResist = 0.3
		npc.value = 600
		npc.buffImmune[31] = false
	end,
	[166] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 26
		npc.lifeMax = 450
		npc.knockBackResist = 0.2
		npc.value = 1000
		npc.buffImmune[31] = false
		npc.buffImmune[20] = true
	end,
	[253] = function(npc)
		npc.noGravity = true
		npc.noTileCollide = true
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 22
		npc.damage = 80
		npc.defense = 22
		npc.lifeMax = 700
		npc.value = 1500
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.6
	end,
	[158] = function(npc)
		npc.npcSlots = 2
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 14
		npc.damage = 60
		npc.defense = 32
		npc.lifeMax = 750
		npc.knockBackResist = 0.75
		npc.value = 5000
		npc.buffImmune[31] = false
	end,
	[159] = function(npc)
		npc.npcSlots = 2
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 80
		npc.defense = 24
		npc.lifeMax = 750
		npc.knockBackResist = 0.4
		npc.value = 5000
		npc.buffImmune[31] = false
	end,
	[460] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 30
		npc.lifeMax = 700
		npc.knockBackResist = 0.25
		npc.value = 1000
		npc.buffImmune[31] = false
	end,
	[461] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 22
		npc.lifeMax = 400
		npc.knockBackResist = 0.3
		npc.value = 1000
	end,
	[462] = function(npc)
		npc.width = 20
		npc.height = 24
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 14
		npc.lifeMax = 270
		npc.knockBackResist = 0.7
		npc.value = 600
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
	end,
	[463] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 100
		npc.defense = 34
		npc.lifeMax = 4000
		npc.knockBackResist = 0.1
		npc.value = 3000
	end,
	[466] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 70
		npc.defense = 40
		npc.lifeMax = 550
		npc.knockBackResist = 0.5
		npc.value = 1500
	end,
	[467] = function(npc)
		npc.width = 22
		npc.height = 22
		npc.aiStyle = 85
		npc.damage = 100
		npc.defense = 80
		npc.lifeMax = 350
		npc.value = 900
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
		npc.buffImmune[39] = true
		npc.knockBackResist = 0.7
		npc.noGravity = true
	end,
	[469] = function(npc)
		npc.width = 38
		npc.height = 26
		npc.aiStyle = 3
		npc.damage = 68
		npc.defense = 28
		npc.lifeMax = 600
		npc.knockBackResist = 0.35
		npc.value = 1300
	end,
	[468] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 65
		npc.defense = 24
		npc.lifeMax = 500
		npc.knockBackResist = 0.6
		npc.value = 1300
	end,
	[477] = function(npc)
		npc.noGravity = true
		npc.width = 80
		npc.height = 50
		npc.aiStyle = 88
		npc.damage = 80
		npc.defense = 30
		npc.lifeMax = 6000
		npc.value = 50000
		npc.knockBackResist = 0.2
		npc.buffImmune[20] = true
	end,
	[478] = function(npc)
		npc.width = 34
		npc.height = 34
		npc.aiStyle = 89
		npc.damage = 0
		npc.defense = 30
		npc.lifeMax = 200
		npc.value = 0.0
		npc.knockBackResist = 0.7
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
	end,
	[479] = function(npc)
		npc.width = 46
		npc.height = 30
		npc.aiStyle = 90
		npc.damage = 50
		npc.defense = 14
		npc.lifeMax = 700
		npc.knockBackResist = 0.3
		npc.value = 0.0
		npc.npcSlots = 0.1
	end,

	[111] = function(npc)
		npc.scale = 0.95
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 20
		npc.defense = 6
		npc.lifeMax = 80
		npc.knockBackResist = 0.7
		npc.value = 200
		npc.buffImmune[31] = false
	end,
	[471] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 80
		npc.defense = 26
		npc.lifeMax = 2000
		npc.knockBackResist = 0.15
		npc.value = 5000
		npc.buffImmuneAll = true
	end,
	[472] = function(npc)
		npc.width = 40
		npc.height = 24
		npc.aiStyle = 86
		npc.damage = 50
		npc.defense = 18
		npc.lifeMax = 180
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.buffImmuneAll = true
		npc.npcSlots = 0.1
	end,
	[520] = function(npc)
		npc.width = 34
		npc.height = 110
		npc.aiStyle = 3
		npc.damage = 60
		npc.defense = 40
		npc.lifeMax = 2000
		npc.knockBackResist = 0.0
		npc.buffImmune[20] = true
		npc.buffImmune[24] = true
	end,
	[521] = function(npc)
		npc.width = 60
		npc.height = 60
		npc.aiStyle = 86
		npc.damage = 90
		npc.defense = 30
		npc.lifeMax = 2000
		npc.knockBackResist = 0.0
		npc.buffImmuneAll = true
	end,
	[522] = function(npc)
		npc.width = 26
		npc.height = 26
		npc.aiStyle = 100
		npc.damage = 120
		npc.defense = 0
		npc.lifeMax = 1
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.chaseable = false
	end,
	[523] = function(npc)
		npc.width = 42
		npc.height = 42
		npc.aiStyle = 101
		npc.damage = 30
		npc.defense = 0
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.0
		npc.chaseable = false
		npc.canGhostHeal = false
	end,
	[524] = function(npc)
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 26
		npc.lifeMax = 180
		npc.knockBackResist = 0.6
		npc.value = 500
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
	end,
	[525] = function(npc)
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 26
		npc.lifeMax = 180
		npc.knockBackResist = 0.6
		npc.value = 500
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.lifeMax = npc.lifeMax + 70
		npc.defense = npc.defense + 4
		npc.damage = npc.damage + 10
		npc.knockBackResist = npc.knockBackResist - 0.1
		npc.value = npc.value + 150
	end,
	[526] = function(npc)
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 26
		npc.lifeMax = 180
		npc.knockBackResist = 0.6
		npc.value = 500
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.lifeMax = npc.lifeMax + 40
		npc.defense = npc.defense + 6
		npc.damage = npc.damage + 14
		npc.knockBackResist = npc.knockBackResist - 0.1
		npc.value = npc.value + 150
	end,
	[527] = function(npc)
		npc.width = 24
		npc.height = 44
		npc.aiStyle = 3
		npc.damage = 50
		npc.defense = 26
		npc.lifeMax = 180
		npc.knockBackResist = 0.6
		npc.value = 500
		npc.buffImmune[31] = false
		npc.npcSlots = 0.5
		npc.lifeMax = npc.lifeMax + 120
		npc.defense = npc.defense + 6
		npc.damage = npc.damage + 4
		npc.knockBackResist = npc.knockBackResist - 0.2
		npc.value = npc.value + 250
	end,
	[534] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 20
		npc.lifeMax = 400
		npc.knockBackResist = 0.3
		npc.value = 0.0
		npc.buffImmune[31] = false
		npc.lavaImmune = true
		npc.netAlways = true
		npc.rarity = 1
	end,
	[535] = function(npc)
		npc.width = 24
		npc.height = 18
		npc.aiStyle = 1
		npc.damage = 14
		npc.defense = 5
		npc.lifeMax = 50
		npc.scale = 1.1
		npc.value = 40
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[536] = function(npc)
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 3
		npc.damage = 14
		npc.defense = 8
		npc.lifeMax = 200
		npc.knockBackResist = 0.5
		npc.value = 1000
		npc.buffImmune[31] = false
		npc.rarity = 2
	end,
	[537] = function(npc)
		npc.npcSlots = 2
		npc.width = 30
		npc.height = 24
		npc.aiStyle = 1
		npc.damage = 11
		npc.defense = 8
		npc.lifeMax = 60
		npc.value = 75
		npc.knockBackResist = 0.8
		npc.buffImmune[20] = true
		npc.buffImmune[31] = false
	end,
	[538] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
	end,
	[539] = function(npc)
		npc.width = 18
		npc.height = 20
		npc.aiStyle = 7
		npc.damage = 0
		npc.defense = 0
		npc.lifeMax = 5
		
		npc.rarity = 3
	end,
	[541] = function(npc)
		npc.width = 30
		npc.height = 76
		npc.aiStyle = 102
		npc.damage = 40
		npc.defense = 30
		npc.lifeMax = 5000
		npc.knockBackResist = 0.05
		npc.value = buyPrice(0, 1, 50, 0)
		npc.buffImmune[20] = true
		npc.buffImmune[44] = true
		npc.rarity = 2
	end,
	[542] = function(npc)
		npc.noGravity = true
		npc.width = 100
		npc.height = 24
		npc.aiStyle = 103
		npc.damage = 50
		npc.defense = 20
		npc.lifeMax = 360
		npc.value = 400
		npc.knockBackResist = 0.9
		npc.behindTiles = true
	end,
	[543] = function(npc)
		npc.noGravity = true
		npc.width = 100
		npc.height = 24
		npc.aiStyle = 103
		npc.damage = 60
		npc.defense = 24
		npc.lifeMax = 380
		npc.value = 400
		npc.knockBackResist = 0.8
		npc.behindTiles = true
	end,
	[544] = function(npc)
		npc.noGravity = true
		npc.width = 100
		npc.height = 24
		npc.aiStyle = 103
		npc.damage = 64
		npc.defense = 22
		npc.lifeMax = 400
		npc.value = 400
		npc.knockBackResist = 0.8
		npc.behindTiles = true
	end,
	[545] = function(npc)
		npc.noGravity = true
		npc.width = 100
		npc.height = 24
		npc.aiStyle = 103
		npc.damage = 54
		npc.defense = 26
		npc.lifeMax = 450
		npc.value = 400
		npc.knockBackResist = 0.7
		npc.behindTiles = true
	end,
	[546] = function(npc)
		npc.width = 30
		npc.height = 30
		npc.aiStyle = 26
		npc.damage = 30
		npc.defense = 10
		npc.lifeMax = 60
		npc.knockBackResist = 0.8
		npc.value = 130
		npc.behindTiles = true
	end,
	[547] = function(npc)
		npc.width = 16
		npc.height = 16
		npc.aiStyle = 104
		npc.damage = 0
		npc.defense = 10
		npc.lifeMax = 10
		npc.knockBackResist = 1
		npc.noGravity = true
		npc.noTileCollide = true
	end,
	[548] = function(npc)
		npc.damage = 0
		npc.width = 40
		npc.height = 40
		npc.aiStyle = 105
		npc.defense = 14
		npc.lifeMax = 1000
		npc.knockBackResist = 0.0
		npc.friendly = true
		npc.npcSlots = 0.0
		npc.hide = true
		-- T2 & T3
		--[[=if (Main.hardMode && NPC.downedMechBossAny)
		{
			npc.defense = 18
			npc.lifeMax = 3000
		}
		if (NPC.downedGolemBoss && Main.hardMode)
		{
			npc.defense = 20
			npc.lifeMax = 5000
		}=]]
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[549] = function(npc)
		npc.lifeMax = 5
		npc.defense = 20
		npc.damage = 0
		npc.width = 78
		npc.height = 130
		npc.aiStyle = 106
		npc.value = 0.0
		npc.knockBackResist = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.buffImmuneAll = true
		npc.npcSlots = 0.0
		npc.behindTiles = true
		npc.dontTakeDamage = true
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[552] = function(npc)
		npc.lifeMax = 30
		npc.defense = 14
		npc.damage = 18
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.2
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[553] = function(npc)
		npc.lifeMax = 170
		npc.defense = 20
		npc.damage = 46
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.2
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[554] = function(npc)
		npc.lifeMax = 560
		npc.defense = 28
		npc.damage = 70
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.15
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[561] = function(npc)
		npc.lifeMax = 60
		npc.defense = 18
		npc.damage = 30
		npc.width = 26
		npc.height = 52
		npc.aiStyle = 107
		npc.knockBackResist = 0.1
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[562] = function(npc)
		npc.lifeMax = 300
		npc.defense = 28
		npc.damage = 60
		npc.width = 26
		npc.height = 52
		npc.aiStyle = 107
		npc.knockBackResist = 0.1
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[563] = function(npc)
		npc.lifeMax = 1000
		npc.defense = 38
		npc.damage = 80
		npc.width = 26
		npc.height = 52
		npc.aiStyle = 107
		npc.knockBackResist = 0.05
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[555] = function(npc)
		npc.lifeMax = 50
		npc.defense = 16
		npc.damage = 26
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.2
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[556] = function(npc)
		npc.lifeMax = 200
		npc.defense = 26
		npc.damage = 55
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.2
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[557] = function(npc)
		npc.lifeMax = 700
		npc.defense = 34
		npc.damage = 75
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.15
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[558] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 108
		npc.damage = 30
		npc.defense = 4
		npc.lifeMax = 60
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.2
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[559] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 108
		npc.damage = 75
		npc.defense = 16
		npc.lifeMax = 180
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.2
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[560] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 108
		npc.damage = 100
		npc.defense = 30
		npc.lifeMax = 600
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.05
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[550] = function(npc)
		npc.townNPC = true
		npc.friendly = true
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 7
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
	end,
	[576] = function(npc)
		npc.lifeMax = 5000
		npc.defense = 34
		npc.damage = 70
		npc.width = 96
		npc.height = 124
		npc.aiStyle = 107
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[577] = function(npc)
		npc.lifeMax = 13000
		npc.defense = 40
		npc.damage = 90
		npc.width = 96
		npc.height = 124
		npc.aiStyle = 107
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[568] = function(npc)
		npc.lifeMax = 500
		npc.defense = 30
		npc.damage = 50
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.15
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[569] = function(npc)
		npc.lifeMax = 1400
		npc.defense = 40
		npc.damage = 80
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.05
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[566] = function(npc)
		npc.lifeMax = 25
		npc.defense = 12
		npc.damage = 18
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.3
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[567] = function(npc)
		npc.lifeMax = 480
		npc.defense = 22
		npc.damage = 70
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.2
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[572] = function(npc)
		npc.lifeMax = 260
		npc.defense = 26
		npc.damage = 60
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.2
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[573] = function(npc)
		npc.lifeMax = 800
		npc.defense = 32
		npc.damage = 80
		npc.width = 18
		npc.height = 40
		npc.aiStyle = 107
		npc.knockBackResist = 0.1
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[570] = function(npc)
		npc.lifeMax = 900
		npc.defense = 30
		npc.damage = 60
		npc.width = 42
		npc.height = 58
		npc.aiStyle = 107
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[571] = function(npc)
		npc.lifeMax = 3000
		npc.defense = 40
		npc.damage = 90
		npc.width = 42
		npc.height = 58
		npc.aiStyle = 107
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[564] = function(npc)
		npc.lifeMax = 800
		npc.defense = 18
		npc.damage = 40
		npc.width = 34
		npc.height = 62
		npc.aiStyle = 109
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.noGravity = true
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[565] = function(npc)
		npc.lifeMax = 4000
		npc.defense = 38
		npc.damage = 90
		npc.width = 34
		npc.height = 62
		npc.aiStyle = 109
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.npcSlots = 0.0
		npc.noGravity = true
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[574] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 108
		npc.damage = 50
		npc.defense = 16
		npc.lifeMax = 170
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.4
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[575] = function(npc)
		npc.width = 38
		npc.height = 38
		npc.aiStyle = 108
		npc.damage = 80
		npc.defense = 32
		npc.lifeMax = 580
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.25
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[551] = function(npc)
		npc.damage = 80
		npc.defense = 38
		npc.lifeMax = 50000
		npc.width = 190
		npc.height = 90
		npc.aiStyle = 110
		npc.knockBackResist = 0.0
		npc.value = 0.0
		npc.noGravity = true
		npc.noTileCollide = true
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[578] = function(npc)
		npc.width = 30
		npc.height = 24
		npc.aiStyle = 111
		npc.damage = 80
		npc.defense = 36
		npc.lifeMax = 500
		npc.noGravity = true
		npc.noTileCollide = true
		npc.knockBackResist = 0.8
		npc.npcSlots = 0.0
		npc.lavaImmune = true
		
		npc.netAlways = true
	end,
	[579] = function(npc)
		npc.friendly = true
		npc.width = 34
		npc.height = 8
		npc.aiStyle = 0
		npc.damage = 10
		npc.defense = 15
		npc.lifeMax = 250
		npc.knockBackResist = 0.5
		npc.scale = 1
		npc.rarity = 1
	end,
}

-- others
db[303] = db[46]
db[337] = db[46]
db[540] = db[46]
db[297] = db[74]
db[298] = db[74]
db[248] = db[247]
db[367] = db[366]
db[380] = db[379]
db[382] = db[381]
db[529] = db[528]
db[456] = db[455]
db[457] = db[455]
db[458] = db[455]
db[495] = db[494]
db[497] = db[496]
db[506] = db[498]
db[505] = db[498]
db[504] = db[498]
db[503] = db[498]
db[502] = db[498]
db[501] = db[498]
db[500] = db[498]
db[499] = db[498]
db[310] = db[305]
db[311] = db[306]
db[312] = db[307]
db[313] = db[308]
db[314] = db[309]
db[474] = db[473]
db[475] = db[473]
db[476] = db[473]
db[485] = db[484]
db[486] = db[484]
db[487] = db[484]
db[403] = db[402]
db[404] = db[402]

local function NeedsExpertScaling(type)
	-- more faster then use table.
	return (type == 25 or type == 30 or type == 33 or type == 112 or type == 261 or type == 265 or type == 371 or type == 516 or type == 519 or type == 522 or type == 397 or type == 396 or type == 398)
end

local function ProjectileNPC(type)
	-- more faster then use table.
	return (type == 25 or type == 30 or type == 33 or type == 112 or type == 261 or type == 265 or type == 371 or type == 516 or type == 519 or type == 522)
end

local NetIdMap = {81, 81, 1, 1, 1, 1, 1, 1, 1, 1, 6, 6, 31, 31, 77, 42, 42, 176, 176, 176, 176, 173, 173, 183, 183, 3, 3, 132, 132, 186, 186, 187, 187, 188, 188, 189, 189, 190, 191, 192, 193, 194, 2, 200, 200, 21, 21, 201, 201, 202, 202, 203, 203, 223, 223, 231, 231, 232, 232, 233, 233, 234, 234, 235, 235}
local function FromNetId(type)
	return NetIdMap[-type]
end

local function scaleStats(npc)
	if (npc.type < 0 or not NeedsExpertScaling(npc.type)) and (npc.lifeMax <= 5 or npc.damage == 0 or npc.friendly or npc.townNPC) then
		return
	end

	local flag = (npc.type >= 0 and ProjectileNPC(npc.type))

	if npc.hardMode and npc.type ~= 5 and (npc.type < 13 or npc.type > 15) and npc.type ~= 267 and (npc.type < 113 or npc.type > 119) and not npc.boss and npc.lifeMax < 1000 then
		local num1 = math.floor(npc.damage + npc.defense + npc.lifeMax / 4)
		if num1 == 0 then
			num1 = 1
		end
		local num2 = 80
		if npc.downedPlantBoss then
			num2 = 100
		end
		if num1 < num2 then
			num3 = math.floor(num2 / num1)
			npc.damage = math.floor(npc.damage * num3 * 0.9)
			if not flag then
				npc.defense = math.floor(npc.defense * num3)
				npc.lifeMax = math.floor(npc.lifeMax * num3 * 1.1)
				npc.value = math.floor(npc.value * num3 * 0.8)
			end
		end
	end
	-- bee and little bee from beehive
	if npc.type == 210 or npc.type == 211 then
		npc.damage = math.floor(npc.damage * 0.6)
		npc.lifeMax = math.floor(npc.lifeMax * 0.8)
		npc.defense = math.floor(npc.defense * 0.8)
	end
	if not flag then
		npc.value = math.floor(npc.value * 2.5)
		npc.lifeMax = npc.lifeMax * 2
	end
	npc.damage = npc.damage * 2
	npc.knockBackResist = npc.knockBackResist * 0.9

	-- boss scaling based on number of players
	local num5 = 1
	local num6 = 0.35
	for i=2, npc.playersCount do
		num5 = num5 + num6
		num6 = num6 + (1 - num6) / 3
	end
	if num5 > 8 then
		num5 = (num5 * 2 + 8) / 3
	end
	if num5 > 1000 then
		num5 = 1000
	end

	if npc.type == 5 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75)
	elseif npc.type == 4 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.65 * num5)
	elseif npc.type >= 13 and npc.type <= 15 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		if npc.type == 13 then
			npc.damage = math.floor(npc.damage * 1.1)
		else
			npc.damage = math.floor(npc.damage * 0.8)
		end
		npc.defense = npc.defense + 2
	elseif npc.type == 266 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.85 * num5)
		npc.damage = math.floor(npc.damage * 0.9)
	elseif npc.type == 50 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		npc.damage = math.floor(npc.damage * 0.8)
	elseif npc.type == 471 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.85 * (num5 * 2.0 + 1.0) / 3.0)
	elseif npc.type == 472 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.85 * (num5 + 1.0) / 2.0)
		npc.damage = math.floor(npc.damage * 0.8)
	elseif npc.type == 222 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		npc.damage = math.floor(npc.damage * 0.9)
	elseif npc.type == 210 or npc.type == 211 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75)
	elseif npc.type == 35 then
		npc.lifeMax = math.floor(npc.lifeMax * num5)
		npc.damage = math.floor(npc.damage * 1.1)
	elseif npc.type == 36 then
		npc.lifeMax = math.floor(npc.lifeMax * 1.3 * num5)
		npc.damage = math.floor(npc.damage * 1.1)
	elseif npc.type == 113 or npc.type == 114 then
		npc.defense = npc.defense + 6
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		npc.damage = math.floor(npc.damage * 1.5)
	elseif npc.type == 115 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		if npc.playersCount > 1 then
			npc.knockBackResist = npc.knockBackResist * (1 - num6)
		end
		npc.defense = npc.defense + 6
	elseif npc.type == 116 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		if npc.playersCount > 1 then
			npc.knockBackResist = npc.knockBackResist * (1 - num6)
		end
	elseif npc.type == 117 or npc.type == 118 or npc.type == 119 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.8)
	elseif npc.type >= 134 and npc.type <= 136 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5)
		if npc.type == 134 then
			npc.damage = npc.damage *2
		else
			npc.damage = math.floor(npc.damage * 0.85)
		end
	elseif npc.type == 139 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * (num5 * 2.0 + 1.0) / 3.0)
		npc.damage = math.floor(npc.damage * 0.8)
	elseif npc.type >= 127 and npc.type <= 131 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5)
		npc.damage = math.floor(npc.damage * 0.85)
	elseif npc.type == 125 or npc.type == 126 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5)
		npc.damage = math.floor(npc.damage * 0.85)
	elseif npc.type == 262 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.7 * num5)
		npc.damage = math.floor(npc.damage * 1.15)
	elseif npc.type >= 245 and npc.type <= 249 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5)
		npc.damage = math.floor(npc.damage * 0.8)
	elseif npc.type == 370 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.6 * num5)
		npc.damage = math.floor(npc.damage * 0.7)
	elseif npc.type == 371 or npc.type == 372 or npc.type == 373 then
		if npc.type ~= 371 then
			npc.lifeMax = math.floor(npc.lifeMax * 0.75)
		end
		npc.damage = math.floor(npc.damage * 0.75)
	elseif npc.type == 439 or npc.type == 440 or npc.type >= 454 and npc.type <= 459 or npc.type == 522 or npc.type == 523 then
		if npc.type ~= 522 then
			npc.lifeMax = math.floor(npc.lifeMax * 0.625 * num5)
		end
		npc.damage = math.floor(npc.damage * 0.75)
	elseif npc.type == 397 or npc.type == 396 or npc.type == 398 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5)
		npc.damage = math.floor(npc.damage * 0.75)
	elseif npc.type == 551 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75 * num5)
		npc.damage = math.floor(npc.damage * 0.65)
	elseif npc.type >= 305 and npc.type <= 315 or npc.type == 326 or npc.type == 329 or npc.type == 330 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75)
		npc.damage = math.floor(npc.damage * 0.75)
	elseif npc.type == 325 or npc.type == 327 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.65)
		npc.damage = math.floor(npc.damage * 0.75)
	elseif npc.type >= 338 and npc.type <= 343 or npc.type >= 347 and npc.type <= 350 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.75)
		npc.damage = math.floor(npc.damage * 0.75)
	elseif npc.type >= 344 and npc.type <= 346 then
		npc.lifeMax = math.floor(npc.lifeMax * 0.65)
		npc.damage = math.floor(npc.damage * 0.75)
	end
end

-- mode: 0=normal, 1=expert, 2=expert hardmode, 3=expert post-plantera
function setDefault(npcid, mode, playersCount)
	local npc = {
		type = npcid,
		expertMode = (mode > 0),
		hardMode = (mode > 1),
		downedPlantBoss = (mode > 2),
		playersCount = playersCount,
		buffImmune = {[31] = true},
		buffImmuneAll = false,
		rarity = 0,
		netID = 0,
		dontCountMe = false,
		npcSlots = 1,
		townNPC = false,
		friendly = false,
		boss = false,
		knockBackResist = 1,
		scale = 1,
		value = 0,
	}

	db[npcid](npc)

	npc.netID = npc.type

	if npc.buffImmune[20] then
		npc.buffImmune[70] = true
	end
	if npc.buffImmune[39] then
		npc.buffImmune[153] = true
	end

	if npc.expertMode then
		scaleStats(npc)
	end

	return npc
end

local function setDefaultsFromNetId(npcid, mode, playersCount)
	local flag = false
	local id = FromNetId(npcid)
	local npc = setDefault(id, mode, playersCount)
	flag = db[npcid](npc)
	npc.netID = npcid
	if flag and npc.expertMode then
		scaleStats(npc)
	end
	return npc
end


local function NPC(npcid, count)
	local count = count or 1
	if npcid < 0 then
		return setDefaultsFromNetId(npcid, 0, count), setDefaultsFromNetId(npcid, 1, count), setDefaultsFromNetId(npcid, 2, count), setDefaultsFromNetId(npcid, 3, count)
	else
		return setDefault(npcid, 0, count), setDefault(npcid, 1, count), setDefault(npcid, 2, count), setDefault(npcid, 3, count)
	end
end

local getArg = function(frame, key)
	local value = frame.args[key]
	if not value then
		return nil
	end
	value = mw.text.trim(value)
	if value == '' then
		return nil
	else
		return value
	end
end
local p = {
	getInfo = function (frame)
		local npcid = tonumber(getArg(frame, 'id') or 0)
		local prefix = getArg(frame, 'prefix') or '_npcinfo_'
		local count = tonumber(getArg(frame, 'players') or 1)

		-- 76/146/408 not used.
		if npcid < -65 or npcid > 579 or npcid == 0 or npcid == 76 or npcid == 146 or npcid == 408 then
			return
		end

		local normal, expert, hardmode, postplantera = NPC(npcid, count)
		local fields = {"aiStyle", "boss", "buffImmuneAll", "damage", "defense", "dontCountMe", "friendly", "knockBackResist", "lifeMax", "netID", "npcSlots", "playersCount", "rarity", "scale", "townNPC", "type", "value"}
		local args = {}
		for i,v in ipairs(fields) do
			table.insert(args, prefix .. v)
			table.insert(args, normal[v])
		end
		fields = {'damage', 'defense', 'lifeMax', 'knockBackResist', 'value'}
		for i,v in ipairs(fields) do
			table.insert(args, prefix .. v .. '_expert')
			table.insert(args, expert[v])
			table.insert(args, prefix .. v .. '_hardmode')
			table.insert(args, hardmode[v])
			table.insert(args, prefix .. v .. '_postplantera')
			table.insert(args, postplantera[v])
		end
		local imm = {}
		for k,v in pairs(normal.buffImmune) do
			if v then
				table.insert(imm, k)
			end
		end
		table.sort(imm)
		table.insert(args, prefix .. 'buffImmune')
		table.insert(args, table.concat(imm, ', '))

		frame:callParserFunction{ name = '#dplvar:set', args = args }
	end,

	clear = function (frame)
		local prefix = getArg(frame, 'prefix') or '_npcinfo_'

		local fields = {"aiStyle", "boss", "buffImmuneAll", "damage", "defense", "dontCountMe", "friendly", "knockBackResist", "lifeMax", "netID", "npcSlots", "playersCount", "rarity", "scale", "townNPC", "type", "value"}
		local args = {}
		for i,v in ipairs(fields) do
			table.insert(args, prefix .. v)
			table.insert(args, '')
		end
		fields = {'damage', 'defense', 'lifeMax', 'knockBackResist', 'value'}
		for i,v in ipairs(fields) do
			table.insert(args, prefix .. v .. '_expert')
			table.insert(args, '')
			table.insert(args, prefix .. v .. '_hardmode')
			table.insert(args, '')
			table.insert(args, prefix .. v .. '_postplantera')
			table.insert(args, '')
		end
		table.insert(args, prefix .. 'buffImmune')
		table.insert(args, '')

		frame:callParserFunction{ name = '#dplvar:set', args = args }
	end,

	go = function (npcid, count, prefix)
		local npcid = npcid or 0
		local prefix = prefix or '_npcinfo_'
		local count = count or 1

		-- 76/146/408 not used. 403/404 followed 402.
		if npcid == 76 or npcid == 146 or npcid == 403 or npcid == 404 or npcid == 408 then
			return
		end

		local normal, expert, hardmode, postplantera = NPC(npcid, count)
		local fields = {"aiStyle", "boss", "buffImmuneAll", "damage", "defense", "dontCountMe", "friendly", "knockBackResist", "lifeMax", "netID", "npcSlots", "playersCount", "rarity", "scale", "townNPC", "type", "value"}
		local args = {}
		for i,v in ipairs(fields) do
			table.insert(args, prefix .. v)
			table.insert(args, normal[v])
		end
		fields = {'damage', 'defense', 'lifeMax', 'knockBackResist', 'value'}
		for i,v in ipairs(fields) do
			table.insert(args, prefix .. v .. '_expert')
			table.insert(args, expert[v])
			table.insert(args, prefix .. v .. '_hardmode')
			table.insert(args, hardmode[v])
			table.insert(args, prefix .. v .. '_postplantera')
			table.insert(args, postplantera[v])
		end
		local imm = ''
		for k,v in pairs(normal.buffImmune) do
			if v then
				imm = imm .. k .. ','
			end
		end
		table.insert(args, prefix .. 'buffImmune')
		table.insert(args, string.sub(imm, 1, -2))

		for i,v in ipairs(args) do
			mw.log(v)
		end

		return args
	end,
}

p.getinfo = p.getInfo
p.GetInfo = p.getInfo

return p
Advertisement