-- Drop tables to reload data
drop table IF EXISTS merc_merchant_entries;
drop table IF EXISTS merc_merchant_template_entries;
drop table IF EXISTS merc_merchant_templates;
drop table IF EXISTS merc_stance_entries;
drop table IF EXISTS merc_templates;
drop table IF EXISTS merc_npc_types;
drop table IF EXISTS merc_name_types;
drop table IF EXISTS merc_subtypes;  
drop table IF EXISTS merc_types; 	

-- What's displayed in merc merchant's dropdown (Apprentice Mercenaries (Dark Elf))
create table merc_types 	
(
	merc_type_id 	int 	UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	race_id		int	UNSIGNED 	NOT NULL,
	proficiency_id	tinyint	UNSIGNED 	NOT NULL,
	dbstring	varchar(12)	NOT NULL,
	clientversion	int	UNSIGNED 	NOT NULL ,   			-- limits mercs by clientversion for available models 
	PRIMARY KEY (merc_type_id)
);

-- other data relevant to mercs - could be in merc_templates, but is repeated (class & tier)
create table merc_subtypes  	
(
	merc_subtype_id 	int 	UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	class_id		int	UNSIGNED 	NOT NULL,
	tier_id			tinyint	UNSIGNED 	NOT NULL,
	confidence_id		tinyint	UNSIGNED 	NOT NULL,      
	PRIMARY KEY (merc_subtype_id)							
);

create table merc_name_types 	
(
	name_type_id 	int 	UNSIGNED 	NOT NULL,
	class_id		int	UNSIGNED 	NOT NULL,
	prefix	varchar(25)	NOT NULL,
	suffix	varchar(25)	NOT NULL,
	PRIMARY KEY (name_type_id, class_id)
);

-- mostly for reference so there's just not a random merc_npc_type_id thrown in
create table merc_npc_types
(
	merc_npc_type_id		int 	UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	proficiency_id			tinyint	UNSIGNED 	NOT NULL,
	tier_id					tinyint	UNSIGNED 	NOT NULL,
	class_id				int		UNSIGNED 	NOT NULL,
	name					varchar(255)		NULL,
	PRIMARY KEY (merc_npc_type_id)		
);

-- ties together basic merc info to be displayed
create table merc_templates								
(
	merc_template_id	int		UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	merc_type_id 	int 		UNSIGNED 	NOT NULL,
	merc_subtype_id int	 	UNSIGNED 	NOT NULL,
	merc_npc_type_id int(11)	UNSIGNED 	NOT NULL,
	dbstring	varchar(12)	NOT NULL,			-- could be determined on the fly, but would require a lot of string manipulation
	name_type_id	tinyint	DEFAULT 0 NOT NULL,		-- determines whether or not merc gets a name or 'a goblin mercenary'
	clientversion	int	UNSIGNED 	NOT NULL ,
	PRIMARY KEY (merc_template_id),
	KEY FK_merc_templates_1 (merc_type_id),
	CONSTRAINT FK_merc_templates_1 FOREIGN KEY (merc_type_id) REFERENCES merc_types (merc_type_id),
	KEY FK_merc_templates_2 (merc_subtype_id),
	CONSTRAINT FK_merc_templates_2 FOREIGN KEY (merc_subtype_id) REFERENCES merc_subtypes (merc_subtype_id)
);

-- lists stances available per class & proficiency (apprentice has passive and balanced, journeyman has more)
create table merc_stance_entries
(
	merc_stance_entry_id	int 	UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	class_id				int		UNSIGNED 	NOT NULL,
	proficiency_id			tinyint	UNSIGNED 	NOT NULL,
	stance_id				tinyint	UNSIGNED 	NOT NULL,
	isdefault				bool				NOT NULL,
	PRIMARY KEY (merc_stance_entry_id)
);

-- named record to link templates to, and assign to a merchant (a merchant may have more than one)
create table merc_merchant_templates
(
	merc_merchant_template_id	int UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	name						varchar(50)		NOT NULL,
	qglobal						varchar(255),   -- quest global - could be on merc_templates
	PRIMARY KEY (merc_merchant_template_id)
);

-- assigns templates to merchant named template list (similar to loottable & lootdrops)
create table merc_merchant_template_entries
(
	merc_merchant_template_entry_id 	int 	UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	merc_merchant_template_id			int 	UNSIGNED 	NOT NULL,
	merc_template_id					int		UNSIGNED 	NOT NULL,
	PRIMARY KEY (merc_merchant_template_entry_id),
	KEY FK_merc_merchant_template_entries_1 (merc_merchant_template_id),
	CONSTRAINT FK_merc_merchant_template_entries_1 FOREIGN KEY (merc_merchant_template_id) REFERENCES merc_merchant_templates (merc_merchant_template_id),
	KEY FK_merc_merchant_template_entries_2 (merc_template_id),
	CONSTRAINT FK_merc_merchant_template_entries_2 FOREIGN KEY (merc_template_id) REFERENCES merc_templates (merc_template_id)
);

-- links merc template lists to merchants (merchant_id references npc_types.id)
create table merc_merchant_entries
(
	merc_merchant_entry_id 		int 	UNSIGNED 	NOT NULL	AUTO_INCREMENT,
	merc_merchant_template_id	int		UNSIGNED 	NOT NULL,
	merchant_id					int(11)		UNSIGNED 	NOT NULL,
	PRIMARY KEY (merc_merchant_entry_id),
	KEY FK_merc_merchant_entries_1 (merc_merchant_template_id),
	CONSTRAINT FK_merc_merchant_entries_1 FOREIGN KEY (merc_merchant_template_id) REFERENCES merc_merchant_templates (merc_merchant_template_id)
);

-- PC Models
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 1, 1, '1000100', 4); -- Human Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 1, 2, '1000200', 4); -- Human Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 2, 1, '2000100', 4); --  Barbarian Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 2, 2, '2000200', 4); --  Barbarian Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 3, 1, '3000100', 4); --  Erudite Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 3, 2, '3000200', 4); --  Erudite Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 4, 1, '4000100', 4); --  Wood Elf Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 4, 2, '4000200', 4); --  Wood Elf Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 5, 1, '5000100', 4); --  High Elf Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 5, 2, '5000200', 4); --  High Elf Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 6, 1, '6000100', 4); --  Dark Elf Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 6, 2, '6000200', 4); --  Dark Elf Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 7, 1, '7000100', 4); --  Half Elf Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 7, 2, '7000200', 4); --  Half Elf Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 8, 1, '8000100', 4); --  Dwarf Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 8, 2, '8000200', 4); --  Dwarf Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 9, 1, '9000100', 4); --  Troll Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 9, 2, '9000200', 4); --  Troll Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 10, 1, '10000100', 4); --  Ogre Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 10, 2, '10000200', 4); --  Ogre Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 11, 1, '11000100', 4); --  Halfling Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 11, 2, '11000200', 4); --  Halfling Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 12, 1, '12000100', 4); --  Gnome Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 12, 2, '12000200', 4); --  Gnome Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 128, 1, '128000100', 4); --  Iksar Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 128, 2, '128000200', 4); --  Iksar Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 130, 1, '130000100', 4); --  Vah Shir Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 130, 2, '130000200', 4); --  Vah Shir Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 330, 1, '330000100', 4); --  Froglok Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 330, 2, '330000200', 4); --  Froglok Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 522, 1, '522000100', 4); --  Drakkin Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 522, 2, '522000200', 4); --  Drakkin Journeyman

-- NPC Models
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 26, 1, '26000100', 4); --  Froglok Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 26, 2, '26000200', 4); --  Froglok Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 48, 1, '48000100', 4); --  Kobold Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 48, 2, '48000200', 4); --  Kobold Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 51, 1, '51000100', 4); --  Lizard Man Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 51, 2, '51000200', 4); --  Lizard Man Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 82, 1, '82000100', 4); --  Scarecrow Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 82, 2, '82000200', 4); --  Scarecrow Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 134, 1, '134000100', 4); --  Mosquito Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 134, 2, '134000200', 4); --  Mosquito Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 137, 1, '137000100', 4); --  Kunark Goblin Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 137, 2, '137000200', 4); --  Kunark Goblin Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 199, 1, '199000100', 4); --  ShikNar Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 199, 2, '199000200', 4); --  ShikNar Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 338, 1, '338000100', 4); --  Gnome Pirate Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 338, 2, '338000200', 4); --  Gnome Pirate Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 339, 1, '339000100', 4); --  Dark Elf Pirate Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 339, 2, '339000200', 4); --  Dark Elf Pirate Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 367, 1, '367000100', 4); --  Frozen Skeleton Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 367, 2, '367000200', 4); --  Frozen Skeleton Journeyman

-- GoD Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 394, 1, '394000100', 4); --  Ikaav Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 394, 2, '394000200', 4); --  Ikaav Journeyman

-- OoW Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 409, 1, '409000100', 4); --  Bazu Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 409, 2, '409000200', 4); --  Bazu Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 411, 1, '411000100', 4); --  Pyrilen Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 411, 2, '411000200', 4); --  Pyrilen Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 413, 1, '413000100', 4); --  Dragorn Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 413, 2, '413000200', 4); --  Dragorn Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 417, 1, '417000100', 4); --  Gelidran Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 417, 2, '417000200', 4); --  Gelidran Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 419, 1, '419000100', 4); --  Hadal Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 419, 2, '419000200', 4); --  Hadal Journeyman

-- DoN/DoD Models
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 433, 1, '433000100', 4); --  Goblin Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 433, 2, '433000200', 4); --  Goblin Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 456, 1, '456000100', 4); --  Sporali Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 456, 2, '456000200', 4); --  Sporali Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 457, 1, '457000100', 4); --  Clockwork Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 457, 2, '457000200', 4); --  Clockwork Journeyman
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 458, 1, '458000100', 4); --  Orc Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 458, 2, '458000200', 4); --  Orc Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 461, 1, '461000100', 4); --  Drachnid Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 461, 2, '461000200', 4); --  Drachnid Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 471, 1, '471000100', 4); --  Zombie Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 471, 2, '471000200', 4); --  Zombie Journeyman

-- PoR Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 487, 1, '487000100', 4); --  Banshee Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 487, 2, '487000200', 4); --  Banshee Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 488, 1, '488000100', 4); --  Banshee Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 488, 2, '488000200', 4); --  Banshee Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 495, 1, '495000100', 4); --  Skrykin Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 495, 2, '495000200', 4); --  Skrykin Journeyman

-- TSS Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 520, 1, '520000100', 4); --  Bixie Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 520, 2, '520000200', 4); --  Bixie Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 524, 1, '524000100', 4); --  Gnoll Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 524, 2, '524000200', 4); --  Gnoll Journeyman

-- TBS Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 562, 1, '562000100', 4); --  Kerran Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 562, 2, '562000200', 4); --  Kerran Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 564, 1, '564000100', 4); --  Siren Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 564, 2, '564000200', 4); --  Siren Journeyman

-- SoF Models
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 568, 1, '568000100', 4); --  Brownie Apprentice
REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 568, 2, '568000200', 4); --  Brownie Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 574, 1, '574000100', 4); --  Minotaur Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 574, 2, '574000200', 4); --  Minotaur Journeyman

-- SoD Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 610, 1, '610000100', 4); --  Sarnak Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 610, 2, '610000200', 4); --  Sarnak Journeyman

-- UF Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 638, 1, '638000100', 5); --  Bellikos Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 638, 2, '638000200', 5); --  Bellikos Journeyman

-- HoT Models
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 659, 1, '659000100', 6); --  Marionette Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 659, 2, '659000200', 6); --  Marionette Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 663, 1, '663000100', 6); --  Amygdalan Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 663, 2, '663000200', 6); --  Amygdalan Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 666, 1, '666000100', 6); --  Gingerbread Man Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 666, 2, '666000200', 6); --  Gingerbread Man Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 696, 1, '696000100', 6); --  Swinetor Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 696, 2, '696000200', 6); --  Swinetor Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 698, 1, '698000100', 6); --  Hadal Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 698, 2, '698000200', 6); --  Hadal Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 1458, 1, '1458000100', 6); --  Rallosian Orc Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 1458, 2, '1458000200', 6); --  Rallosian Orc Journeyman
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 36702, 1, '36702000100', 6); --  Frozen Skeleton Apprentice
-- REPLACE INTO merc_types ( race_id, proficiency_id, dbstring, clientversion ) VALUES ( 36702, 2, '36702000200', 6); --  Frozen Skeleton Journeyman



-- merc SubTypes

REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 1, 1, 1); -- tank t1 low
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 1, 2, 2); -- tank t2 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 1, 3, 2); -- tank t3 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 1, 4, 2); -- tank t4 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 1, 5, 3); -- tank t5 high

REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 2, 1, 1); -- healer t1 low
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 2, 2, 2); -- healer t2 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 2, 3, 2); -- healer t3 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 2, 4, 2); -- healer t4 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 2, 5, 3); -- healer t5 high

REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 9, 1, 1); -- melee damage t1 low
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 9, 2, 2); -- melee damage t2 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 9, 3, 2); -- melee damage t3 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 9, 4, 2); -- melee damage t4 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 9, 5, 3); -- melee damage t5 high

REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 12, 1, 1); -- caster damage t1 low
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 12, 2, 2); -- caster damage t2 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 12, 3, 2); -- caster damage t3 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 12, 4, 2); -- caster damage t4 medium
REPLACE INTO merc_subtypes ( class_id, tier_id, confidence_id ) VALUES ( 12, 5, 3); -- caster damage t5 high


REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 1, 0, '', 'mercenary');
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 2, 0, '', 'hireling');
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 3, 0, 'hired', '');
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 4, 1, '', 'defender'); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 4, 2, '', 'soother'); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 4, 4, '', 'fighter'); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 4, 12, '', 'caster'); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 5, 1, '', 'brawler'); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 5, 2, '', 'mender'); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 5, 4, '', ''); 
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 5, 12, '', '');
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 6, 2, '', 'acolyte');
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 7, 1, '', 'nightlord');
REPLACE INTO merc_name_types ( name_type_id, class_id, prefix, suffix ) VALUES ( 8, 2, '', 'mendicant');


REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 1, 1, 'Apprentice Tank - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 2, 1, 'Apprentice Tank - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 3, 1, 'Apprentice Tank - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 4, 1, 'Apprentice Tank - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 5, 1, 'Apprentice Tank - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 1, 1, 'Journeyman Tank - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 2, 1, 'Journeyman Tank - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 3, 1, 'Journeyman Tank - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 4, 1, 'Journeyman Tank - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 5, 1, 'Journeyman Tank - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 1, 2, 'Apprentice Healer - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 2, 2, 'Apprentice Healer - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 3, 2, 'Apprentice Healer - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 4, 2, 'Apprentice Healer - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 5, 2, 'Apprentice Healer - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 1, 2, 'Journeyman Healer - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 2, 2, 'Journeyman Healer - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 3, 2, 'Journeyman Healer - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 4, 2, 'Journeyman Healer - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 5, 2, 'Journeyman Healer - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 1, 9, 'Apprentice Melee DPS - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 2, 9, 'Apprentice Melee DPS - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 3, 9, 'Apprentice Melee DPS - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 4, 9, 'Apprentice Melee DPS - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 5, 9, 'Apprentice Melee DPS - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 1, 9, 'Journeyman Melee DPS - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 2, 9, 'Journeyman Melee DPS - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 3, 9, 'Journeyman Melee DPS - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 4, 9, 'Journeyman Melee DPS - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 5, 9, 'Journeyman Melee DPS - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 1, 12, 'Apprentice Caster DPS - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 2, 12, 'Apprentice Caster DPS - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 3, 12, 'Apprentice Caster DPS - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 4, 12, 'Apprentice Caster DPS - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 1, 5, 12, 'Apprentice Caster DPS - Tier V');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 1, 12, 'Journeyman Caster DPS - Tier I');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 2, 12, 'Journeyman Caster DPS - Tier II');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 3, 12, 'Journeyman Caster DPS - Tier III');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 4, 12, 'Journeyman Caster DPS - Tier IV');
REPLACE INTO merc_npc_types (proficiency_id, tier_id, class_id, name)  VALUES ( 2, 5, 12, 'Journeyman Caster DPS - Tier V');

 

REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '1010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '1010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '1010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '1010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '1010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '1020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '1020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '1020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '1020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '1020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '1040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '1040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '1040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '1040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '1040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '1120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '1120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '1120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '1120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '1120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '1010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '1010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '1010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '1010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '1010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '1020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '1020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '1020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '1020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '1020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '1040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '1040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '1040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '1040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '1040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '1120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '1120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '1120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '1120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '1120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '2010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '2010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '2010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '2010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '2010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '2020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '2020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '2020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '2020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '2020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '2040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '2040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '2040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '2040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '2040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '2120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '2120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '2120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '2120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '2120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '2010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '2010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '2010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '2010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '2010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '2020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '2020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '2020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '2020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '2020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '2040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '2040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '2040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '2040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '2040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '2120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '2120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '2120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '2120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '2120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '3010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '3010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '3010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '3010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '3010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '3020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '3020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '3020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '3020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '3020105', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '3090101', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '3090102', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '3090103', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '3090104', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '3090105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '3120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '3120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '3120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '3120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '3120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '3010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '3010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '3010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '3010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '3010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '3020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '3020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '3020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '3020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '3020205', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '3090201', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '3090202', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '3090203', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '3090204', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '3090205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '3120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '3120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '3120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '3120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '3120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '4010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '4010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '4010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '4010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '4010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '4020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '4020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '4020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '4020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '4020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '4040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '4040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '4040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '4040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '4040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '4120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '4120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '4120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '4120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '4120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '4010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '4010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '4010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '4010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '4010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '4020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '4020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '4020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '4020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '4020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '4040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '4040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '4040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '4040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '4040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '4120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '4120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '4120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '4120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '4120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '5010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '5010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '5010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '5010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '5010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '5020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '5020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '5020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '5020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '5020105', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '5090101', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '5090102', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '5090103', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '5090104', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '5090105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '5120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '5120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '5120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '5120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '5120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '5010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '5010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '5010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '5010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '5010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '5020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '5020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '5020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '5020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '5020205', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '5090201', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '5090202', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '5090203', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '5090204', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '5090205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '5120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '5120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '5120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '5120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '5120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '6010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '6010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '6010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '6010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '6010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '6020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '6020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '6020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '6020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '6020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '6040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '6040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '6040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '6040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '6040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '6120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '6120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '6120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '6120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '6120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '6010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '6010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '6010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '6010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '6010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '6020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '6020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '6020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '6020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '6020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '6040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '6040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '6040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '6040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '6040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '6120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '6120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '6120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '6120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '6120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '7010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '7010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '7010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '7010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '7010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '7020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '7020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '7020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '7020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '7020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '7040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '7040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '7040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '7040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '7040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '7120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '7120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '7120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '7120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '7120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '7010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '7010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '7010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '7010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '7010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '7020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '7020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '7020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '7020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '7020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '7040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '7040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '7040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '7040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '7040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '7120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '7120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '7120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '7120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '7120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '8010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '8010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '8010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '8010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '8010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '8020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '8020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '8020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '8020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '8020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '8040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '8040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '8040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '8040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '8040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '8120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '8120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '8120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '8120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '8120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '8010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '8010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '8010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '8010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '8010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '8020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '8020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '8020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '8020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '8020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '8040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '8040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '8040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '8040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '8040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '8120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '8120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '8120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '8120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '8120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '9010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '9010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '9010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '9010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '9010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '9020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '9020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '9020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '9020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '9020105', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '9090101', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '9090102', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '9090103', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '9090104', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '9090105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '9120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '9120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '9120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '9120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '9120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '9010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '9010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '9010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '9010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '9010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '9020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '9020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '9020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '9020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '9020205', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '9090201', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '9090202', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '9090203', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '9090204', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '9090205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '9120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '9120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '9120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '9120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '9120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '10010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '10010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '10010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '10010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '10010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '10020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '10020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '10020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '10020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '10020105', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '10090101', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '10090102', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '10090103', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '10090104', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '10090105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '10120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '10120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '10120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '10120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '10120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '10010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '10010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '10010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '10010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '10010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '10020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '10020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '10020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '10020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '10020205', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '10090201', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '10090202', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '10090203', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '10090204', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '10090205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '10120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '10120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '10120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '10120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '10120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '11010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '11010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '11010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '11010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '11010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '11020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '11020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '11020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '11020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '11020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '11040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '11040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '11040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '11040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '11040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '11120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '11120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '11120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '11120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '11120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '11010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '11010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '11010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '11010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '11010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '11020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '11020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '11020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '11020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '11020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '11040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '11040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '11040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '11040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '11040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '11120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '11120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '11120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '11120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '11120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '12010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '12010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '12010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '12010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '12010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '12020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '12020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '12020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '12020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '12020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '12040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '12040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '12040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '12040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '12040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '12120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '12120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '12120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '12120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '12120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '12010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '12010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '12010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '12010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '12010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '12020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '12020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '12020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '12020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '12020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '12040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '12040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '12040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '12040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '12040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '12120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '12120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '12120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '12120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '12120205', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '26010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '26010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '26010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '26010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '26010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '26020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '26020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '26020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '26020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '26020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '26040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '26040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '26040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '26040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '26040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '26120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '26120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '26120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '26120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '26120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '26010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '26010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '26010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '26010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '26010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '26020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '26020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '26020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '26020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '26020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '26040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '26040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '26040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '26040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '26040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '26120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '26120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '26120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '26120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '26120205', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '48010101', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '48010102', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '48010103', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '48010104', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '48010105', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '48020101', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '48020102', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '48020103', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '48020104', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '48020105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '48040101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '48040102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '48040103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '48040104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '48040105', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '48120101', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '48120102', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '48120103', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '48120104', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '48120105', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '48010201', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '48010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '48010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '48010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '48010205', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '48020201', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '48020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '48020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '48020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '48020205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '48040201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '48040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '48040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '48040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '48040205', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '48120201', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '48120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '48120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '48120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '48120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '51010101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '51010102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '51010103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '51010104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '51010105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '51020101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '51020102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '51020103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '51020104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '51020105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '51040101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '51040102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '51040103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '51040104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '51040105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '51120101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '51120102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '51120103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '51120104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '51120105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '51010201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '51010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '51010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '51010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '51010205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '51020201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '51020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '51020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '51020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '51020205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '51040201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '51040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '51040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '51040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '51040205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '51120201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '51120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '51120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '51120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '51120205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '82010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '82010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '82010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '82010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '82010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '82020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '82020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '82020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '82020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '82020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '82040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '82040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '82040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '82040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '82040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '82030101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '82030102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '82030103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '82030104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '82030105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '82010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '82010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '82010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '82010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '82010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '82020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '82020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '82020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '82020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '82020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '82040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '82040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '82040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '82040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '82040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '82030201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '82030202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '82030203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '82030204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '82030205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '128010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '128010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '128010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '128010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '128010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '128020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '128020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '128020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '128020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '128020105', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '128090101', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '128090102', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '128090103', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '128090104', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '128090105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '128120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '128120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '128120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '128120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '128120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '128010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '128010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '128010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '128010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '128010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '128020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '128020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '128020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '128020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '128020205', 0, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '128090201', 0, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '128090202', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '128090203', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '128090204', 0, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '128090205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '128120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '128120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '128120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '128120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '128120205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '130010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '130010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '130010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '130010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '130010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '130020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '130020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '130020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '130020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '130020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '130040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '130040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '130040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '130040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '130040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '130120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '130120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '130120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '130120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '130120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '130010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '130010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '130010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '130010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '130010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '130020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '130020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '130020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '130020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '130020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '130040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '130040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '130040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '130040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '130040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '130120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '130120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '130120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '130120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '130120205', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '134010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '134010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '134010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '134010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '134010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '134020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '134020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '134020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '134020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '134020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '134090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '134090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '134090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '134090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '134090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '134120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '134120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '134120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '134120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '134120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '134010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '134010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '134010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '134010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '134010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '134020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '134020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '134020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '134020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '134020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '134090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '134090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '134090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '134090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '134090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '134120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '134120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '134120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '134120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '134120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '137010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '137010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '137010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '137010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '137010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '137020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '137020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '137020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '137020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '137020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '137090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '137090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '137090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '137090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '137090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '137120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '137120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '137120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '137120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '137120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '137010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '137010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '137010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '137010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '137010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '137020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '137020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '137020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '137020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '137020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '137090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '137090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '137090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '137090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '137090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '137120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '137120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '137120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '137120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '137120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '199010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '199010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '199010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '199010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '199010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '199020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '199020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '199020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '199020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '199020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '199090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '199090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '199090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '199090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '199090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '199120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '199120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '199120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '199120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '199120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '199010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '199010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '199010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '199010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '199010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '199020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '199020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '199020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '199020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '199020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '199090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '199090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '199090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '199090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '199090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '199120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '199120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '199120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '199120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '199120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '330010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '330010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '330010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '330010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '330010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '330020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '330020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '330020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '330020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '330020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '330040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '330040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '330040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '330040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '330040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '330120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '330120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '330120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '330120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '330120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '330010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '330010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '330010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '330010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '330010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '330020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '330020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '330020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '330020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '330020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '330040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '330040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '330040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '330040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '330040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '330120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '330120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '330120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '330120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '330120205', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '338010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '338010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '338010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '338010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '338010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '338020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '338020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '338020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '338020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '338020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '338090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '338090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '338090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '338090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '338090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '338120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '338120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '338120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '338120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '338120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '338010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '338010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '338010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '338010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '338010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '338020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '338020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '338020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '338020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '338020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '338090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '338090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '338090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '338090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '338090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '338120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '338120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '338120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '338120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '338120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '339010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '339010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '339010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '339010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '339010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '339020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '339020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '339020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '339020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '339020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '339040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '339040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '339040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '339040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '339040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '339030101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '339030102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '339030103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '339030104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '339030105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '339010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '339010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '339010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '339010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '339010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '339020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '339020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '339020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '339020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '339020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '339040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '339040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '339040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '339040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '339040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '339030201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '339030202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '339030203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '339030204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '339030205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '367010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '367010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '367010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '367010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '367010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '367020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '367020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '367020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '367020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '367020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '367040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '367040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '367040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '367040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '367040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '367030101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '367030102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '367030103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '367030104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '367030105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '367010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '367010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '367010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '367010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '367010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '367020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '367020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '367020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '367020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '367020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '367040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '367040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '367040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '367040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '367040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '367030201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '367030202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '367030203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '367030204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '367030205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '394010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '394010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '394010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '394010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '394010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '394020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '394020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '394020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '394020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '394020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '394090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '394090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '394090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '394090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '394090105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '394120101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '394120102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '394120103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '394120104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '394120105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '394010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '394010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '394010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '394010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '394010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '394020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '394020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '394020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '394020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '394020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '394090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '394090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '394090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '394090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '394090205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '394120201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '394120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '394120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '394120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '394120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '409010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '409010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '409010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '409010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '409010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '409020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '409020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '409020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '409020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '409020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '409090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '409090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '409090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '409090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '409090105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '409120101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '409120102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '409120103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '409120104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '409120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '409010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '409010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '409010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '409010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '409010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '409020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '409020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '409020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '409020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '409020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '409090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '409090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '409090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '409090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '409090205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '409120201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '409120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '409120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '409120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '409120205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '411010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '411010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '411010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '411010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '411010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '411020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '411020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '411020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '411020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '411020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '411090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '411090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '411090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '411090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '411090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '411120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '411120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '411120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '411120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '411120105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '411010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '411010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '411010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '411010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '411010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '411020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '411020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '411020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '411020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '411020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '411090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '411090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '411090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '411090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '411090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '411120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '411120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '411120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '411120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '411120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '413010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '413010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '413010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '413010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '413010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '413020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '413020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '413020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '413020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '413020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '413090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '413090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '413090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '413090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '413090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '413120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '413120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '413120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '413120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '413120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '413010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '413010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '413010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '413010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '413010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '413020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '413020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '413020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '413020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '413020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '413090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '413090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '413090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '413090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '413090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '413120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '413120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '413120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '413120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '413120205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '417010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '417010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '417010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '417010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '417010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '417020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '417020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '417020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '417020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '417020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '417090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '417090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '417090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '417090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '417090105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '417120101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '417120102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '417120103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '417120104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '417120105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '417010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '417010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '417010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '417010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '417010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '417020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '417020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '417020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '417020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '417020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '417090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '417090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '417090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '417090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '417090205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '417120201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '417120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '417120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '417120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '417120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '419010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '419010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '419010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '419010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '419010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '419020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '419020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '419020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '419020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '419020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '419090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '419090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '419090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '419090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '419090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '419120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '419120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '419120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '419120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '419120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '419010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '419010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '419010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '419010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '419010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '419020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '419020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '419020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '419020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '419020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '419090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '419090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '419090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '419090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '419090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '419120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '419120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '419120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '419120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '419120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '433010101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '433010102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '433010103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '433010104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '433010105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '433020101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '433020102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '433020103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '433020104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '433020105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '433040101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '433040102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '433040103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '433040104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '433040105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '433120101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '433120102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '433120103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '433120104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '433120105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '433010201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '433010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '433010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '433010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '433010205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '433020201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '433020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '433020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '433020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '433020205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '433040201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '433040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '433040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '433040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '433040205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '433120201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '433120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '433120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '433120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '433120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '456010101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '456010102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '456010103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '456010104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '456010105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '456020101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '456020102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '456020103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '456020104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '456020105', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '456090101', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '456090102', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '456090103', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '456090104', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '456090105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '456120101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '456120102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '456120103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '456120104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '456120105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '456010201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '456010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '456010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '456010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '456010205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '456020201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '456020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '456020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '456020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '456020205', 1, 4);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '456090201', 1, 5);
-- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '456090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '456090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '456090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '456090205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '456120201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '456120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '456120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '456120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '456120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '457010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '457010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '457010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '457010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '457010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '457020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '457020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '457020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '457020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '457020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '457040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '457040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '457040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '457040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '457040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '457120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '457120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '457120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '457120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '457120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '457010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '457010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '457010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '457010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '457010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '457020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '457020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '457020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '457020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '457020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '457040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '457040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '457040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '457040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '457040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '457120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '457120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '457120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '457120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '457120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '458010101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '458010102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '458010103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '458010104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '458010105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '458020101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '458020102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '458020103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '458020104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '458020105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '458040101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '458040102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '458040103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '458040104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '458040105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '458120101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '458120102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '458120103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '458120104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '458120105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '458010201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '458010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '458010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '458010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '458010205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '458020201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '458020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '458020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '458020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '458020205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '458040201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '458040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '458040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '458040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '458040205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '458120201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '458120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '458120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '458120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '458120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '461010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '461010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '461010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '461010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '461010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '461020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '461020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '461020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '461020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '461020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '461040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '461040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '461040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '461040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '461040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '461120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '461120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '461120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '461120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '461120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '461010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '461010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '461010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '461010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '461010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '461020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '461020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '461020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '461020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '461020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '461040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '461040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '461040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '461040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '461040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '461120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '461120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '461120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '461120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '461120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '471010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '471010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '471010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '471010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '471010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '471020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '471020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '471020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '471020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '471020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '471090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '471090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '471090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '471090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '471090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '471120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '471120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '471120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '471120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '471120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '471010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '471010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '471010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '471010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '471010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '471020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '471020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '471020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '471020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '471020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '471090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '471090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '471090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '471090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '471090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '471120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '471120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '471120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '471120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '471120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '487010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '487010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '487010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '487010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '487010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '487020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '487020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '487020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '487020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '487020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '487090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '487090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '487090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '487090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '487090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '487120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '487120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '487120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '487120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '487120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '487010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '487010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '487010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '487010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '487010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '487020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '487020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '487020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '487020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '487020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '487090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '487090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '487090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '487090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '487090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '487120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '487120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '487120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '487120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '487120205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '488010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '488010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '488010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '488010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '488010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '488020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '488020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '488020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '488020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '488020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '488090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '488090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '488090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '488090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '488090105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '488120101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '488120102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '488120103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '488120104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '488120105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '488010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '488010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '488010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '488010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '488010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '488020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '488020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '488020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '488020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '488020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '488090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '488090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '488090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '488090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '488090205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '488120201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '488120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '488120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '488120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '488120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '495010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '495010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '495010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '495010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '495010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '495020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '495020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '495020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '495020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '495020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '495040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '495040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '495040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '495040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '495040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '495030101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '495030102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '495030103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '495030104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '495030105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '495010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '495010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '495010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '495010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '495010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '495020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '495020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '495020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '495020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '495020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '495040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '495040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '495040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '495040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '495040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '495030201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '495030202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '495030203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '495030204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '495030205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '520010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '520010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '520010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '520010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '520010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '520020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '520020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '520020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '520020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '520020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '520090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '520090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '520090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '520090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '520090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '520120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '520120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '520120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '520120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '520120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '520010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '520010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '520010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '520010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '520010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '520020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '520020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '520020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '520020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '520020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '520090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '520090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '520090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '520090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '520090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '520120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '520120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '520120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '520120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '520120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '522010101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '522010102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '522010103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '522010104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '522010105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '522020101', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '522020102', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '522020103', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '522020104', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '522020105', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '522040101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '522040102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '522040103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '522040104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '522040105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '522120101', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '522120102', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '522120103', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '522120104', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '522120105', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '522010201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '522010202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '522010203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '522010204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '522010205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '522020201', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '522020202', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '522020203', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '522020204', 0, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '522020205', 0, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '522040201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '522040202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '522040203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '522040204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '522040205', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '522120201', 0, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '522120202', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '522120203', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '522120204', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '522120205', 0, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '524010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '524010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '524010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '524010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '524010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '524020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '524020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '524020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '524020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '524020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '524040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '524040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '524040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '524040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '524040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '524120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '524120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '524120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '524120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '524120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '524010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '524010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '524010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '524010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '524010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '524020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '524020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '524020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '524020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '524020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '524040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '524040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '524040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '524040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '524040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '524120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '524120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '524120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '524120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '524120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '562010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '562010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '562010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '562010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '562010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '562020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '562020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '562020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '562020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '562020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '562090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '562090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '562090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '562090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '562090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '562120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '562120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '562120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '562120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '562120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '562010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '562010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '562010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '562010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '562010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '562020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '562020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '562020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '562020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '562020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '562090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '562090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '562090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '562090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '562090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '562120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '562120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '562120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '562120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '562120205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '564010101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '564010102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '564010103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '564010104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '564010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '564020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '564020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '564020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '564020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '564020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '564090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '564090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '564090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '564090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '564090105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '564120101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '564120102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '564120103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '564120104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '564120105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '564010201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '564010202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '564010203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '564010204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '564010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '564020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '564020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '564020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '564020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '564020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '564090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '564090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '564090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '564090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '564090205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '564120201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '564120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '564120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '564120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '564120205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '568010101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '568010102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '568010103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '568010104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '568010105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '568020101', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '568020102', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '568020103', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '568020104', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '568020105', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '568040101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '568040102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '568040103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '568040104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '568040105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '568120101', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '568120102', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '568120103', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '568120104', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '568120105', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '568010201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '568010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '568010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '568010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '568010205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '568020201', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '568020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '568020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '568020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '568020205', 1, 4);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '568040201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '568040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '568040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '568040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '568040205', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '568120201', 1, 5);
REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '568120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '568120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '568120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '568120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '574010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '574010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '574010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '574010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '574010105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '574020101', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '574020102', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '574020103', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '574020104', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '574020105', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '574090101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '574090102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '574090103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '574090104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '574090105', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '574120101', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '574120102', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '574120103', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '574120104', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '574120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '574010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '574010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '574010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '574010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '574010205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '574020201', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '574020202', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '574020203', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '574020204', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '574020205', 1, 4);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '574090201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '574090202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '574090203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '574090204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '574090205', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '574120201', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '574120202', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '574120203', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '574120204', 1, 5);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '574120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '610010101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '610010102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '610010103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '610010104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '610010105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '610020101', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '610020102', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '610020103', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '610020104', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '610020105', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '610090101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '610090102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '610090103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '610090104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '610090105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '610120101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '610120102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '610120103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '610120104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '610120105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '610010201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '610010202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '610010203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '610010204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '610010205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '610020201', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '610020202', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '610020203', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '610020204', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '610020205', 1, 4);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '610090201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '610090202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '610090203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '610090204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '610090205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '610120201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '610120202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '610120203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '610120204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '610120205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '638010101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '638010102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '638010103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '638010104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '638010105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '638020101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '638020102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '638020103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '638020104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '638020105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '638040101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '638040102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '638040103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '638040104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '638040105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '638030101', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '638030102', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '638030103', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '638030104', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '638030105', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '638010201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '638010202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '638010203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '638010204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '638010205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '638020201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '638020202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '638020203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '638020204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '638020205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '638040201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '638040202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '638040203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '638040204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '638040205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '638030201', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '638030202', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '638030203', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '638030204', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '638030205', 1, 5);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '659010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '659010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '659010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '659010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '659010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '659020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '659020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '659020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '659020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '659020105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '659090101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '659090102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '659090103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '659090104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '659090105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '659120101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '659120102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '659120103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '659120104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '659120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '659010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '659010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '659010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '659010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '659010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '659020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '659020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '659020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '659020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '659020205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '659090201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '659090202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '659090203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '659090204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '659090205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '659120201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '659120202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '659120203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '659120204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '659120205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '663010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '663010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '663010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '663010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '663010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '663020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '663020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '663020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '663020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '663020105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '663090101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '663090102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '663090103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '663090104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '663090105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '663120101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '663120102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '663120103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '663120104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '663120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '663010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '663010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '663010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '663010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '663010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '663020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '663020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '663020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '663020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '663020205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '663090201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '663090202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '663090203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '663090204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '663090205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '663120201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '663120202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '663120203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '663120204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '663120205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '666010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '666010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '666010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '666010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '666010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '666020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '666020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '666020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '666020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '666020105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '666090101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '666090102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '666090103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '666090104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '666090105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '666120101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '666120102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '666120103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '666120104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '666120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '666010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '666010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '666010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '666010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '666010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '666020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '666020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '666020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '666020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '666020205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '666090201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '666090202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '666090203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '666090204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '666090205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '666120201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '666120202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '666120203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '666120204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '666120205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '696010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '696010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '696010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '696010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '696010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '696020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '696020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '696020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '696020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '696020105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '696090101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '696090102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '696090103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '696090104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '696090105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '696120101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '696120102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '696120103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '696120104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '696120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '696010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '696010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '696010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '696010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '696010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '696020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '696020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '696020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '696020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '696020205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '696090201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '696090202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '696090203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '696090204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '696090205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '696120201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '696120202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '696120203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '696120204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '696120205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '698010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '698010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '698010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '698010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '698010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '698020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '698020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '698020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '698020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '698020105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '698090101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '698090102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '698090103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '698090104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '698090105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '698120101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '698120102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '698120103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '698120104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '698120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '698010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '698010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '698010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '698010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '698010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '698020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '698020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '698020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '698020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '698020205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '698090201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '698090202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '698090203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '698090204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '698090205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '698120201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '698120202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '698120203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '698120204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '698120205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '1458010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '1458010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '1458010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '1458010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '1458010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '1458020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '1458020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '1458020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '1458020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '1458020105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '1458090101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '1458090102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '1458090103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '1458090104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '1458090105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '1458120101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '1458120102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '1458120103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '1458120104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '1458120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '1458010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '1458010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '1458010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '1458010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '1458010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '1458020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '1458020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '1458020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '1458020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '1458020205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '1458090201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '1458090202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '1458090203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '1458090204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '1458090205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '1458120201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '1458120202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '1458120203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '1458120204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '1458120205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 1 ), '36702010101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 2 ), '36702010102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 3 ), '36702010103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 4 ), '36702010104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 1 AND tier_id = 5 ), '36702010105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 1 ), '36702020101', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 2 ), '36702020102', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 3 ), '36702020103', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 4 ), '36702020104', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 1 AND tier_id = 5 ), '36702020105', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 1 ), '36702090101', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 2 ), '36702090102', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 3 ), '36702090103', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 4 ), '36702090104', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 1 AND tier_id = 5 ), '36702090105', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 1 ), '36702120101', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 2 ), '36702120102', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 3 ), '36702120103', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 4 ), '36702120104', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 1 AND tier_id = 5 ), '36702120105', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 1 ), '36702010201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 2 ), '36702010202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 3 ), '36702010203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 4 ), '36702010204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 1 AND proficiency_id = 2 AND tier_id = 5 ), '36702010205', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 1 ), '36702020201', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 2 ), '36702020202', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 3 ), '36702020203', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 4 ), '36702020204', 1, 6);
-- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 2 AND proficiency_id = 2 AND tier_id = 5 ), '36702020205', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 1 ), '36702090201', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 2 ), '36702090202', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 3 ), '36702090203', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 4 ), '36702090204', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 9 AND proficiency_id = 2 AND tier_id = 5 ), '36702090205', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 1 ), '36702120201', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 2 ), '36702120202', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 3 ), '36702120203', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 4 ), '36702120204', 1, 6);
-- -- -- REPLACE INTO merc_templates ( merc_type_id, merc_subtype_id, merc_npc_type_id, dbstring, name_type_id, clientversion ) VALUES ( (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ), (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 ), ( SELECT merc_npc_type_id FROM merc_npc_types WHERE class_id = 12 AND proficiency_id = 2 AND tier_id = 5 ), '36702120205', 1, 6);
 
 
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Human Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Barbarian Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Erudite Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Wood Elf Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default High Elf Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Dark Elf Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Half Elf Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Dwarf Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Troll Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Ogre Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Halfling Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Gnome Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Froglok Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Kobold Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Lizard Man Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Scarecrow Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Iksar Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Vah Shir Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Mosquito Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Kunark Goblin Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default ShikNar Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Guktan Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Gnome Pirate Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Dark Elf Pirate Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Frozen Skeleton Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Ikaav Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Bazu Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Pyrilen Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Dragorn Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Gelidran Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Hadal Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Goblin Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Sporali Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Clockwork Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Orc Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Drachnid Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Zombie Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Banshee Mercenaries', ''); 
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Banshee Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Skrykin Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Bixie Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Drakkin Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Gnoll Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Kerran Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Siren Mercenaries', '');
REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Brownie Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Minotaur Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Sarnak Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Bellikos Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Marionette Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Amygdalan Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Gingerbread Man Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Swinetor Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Hadal Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Rallosian Orc Mercenaries', '');
-- REPLACE INTO merc_merchant_templates ( Name, qglobal ) VALUES ( 'Default Frozen Skeleton Mercenaries', '');


REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 1, 1, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 1, 1, 5, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 1, 2, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 1, 2, 5, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 1, 2, 6, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 2, 1, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 2, 1, 2, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 2, 2, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 2, 2, 2, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 2, 2, 3, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 2, 2, 4, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 9, 1, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 9, 1, 2, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 9, 2, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 9, 2, 2, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 9, 2, 7, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 12, 1, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 12, 1, 2, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 12, 2, 1, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 12, 2, 2, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 12, 2, 7, 0 );
REPLACE INTO merc_stance_entries ( class_id, proficiency_id, stance_id, isdefault ) VALUES ( 12, 2, 9, 0 );

REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 2 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 3 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 4 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 5 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 6 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 7 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 8 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 9 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 10 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 11 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 12 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 26 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 48 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 51 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Scarecrow Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 82 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 128 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 130 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Mosquito Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 134 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 137 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default ShikNar Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 199 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 330 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 338 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Pirate Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 339 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 367 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ikaav Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 394 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bazu Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 409 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Pyrilen Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 411 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dragorn Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 413 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gelidran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 417 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 419 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 433 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 456 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Clockwork Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 457 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drachnid Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 461 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Zombie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 471 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 487 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Banshee Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 488 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Skrykin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 495 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bixie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 520 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 522 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnoll Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 524 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kerran Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 562 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Siren Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 564 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 568 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Minotaur Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 574 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sarnak Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 610 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Bellikos Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 638 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Marionette Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 659 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Amygdalan Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 663 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gingerbread Man Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 666 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Swinetor Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 696 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Hadal Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 698 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Rallosian Orc Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 1458 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 1 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 1 AND tier_id = 5 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 1 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 2 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 3 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 4 LIMIT 1 )));
-- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 2 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 9 AND tier_id = 5 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 1 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 2 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 3 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 4 LIMIT 1 )));
-- -- -- REPLACE INTO merc_merchant_template_entries ( merc_merchant_template_id, merc_template_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Frozen Skeleton Mercenaries'), (SELECT merc_template_id FROM merc_templates WHERE merc_type_id = (SELECT merc_type_id FROM merc_types WHERE race_id = 36702 AND proficiency_id = 2 LIMIT 1 ) AND merc_subtype_ID = (SELECT merc_subtype_id FROM merc_subtypes WHERE class_id = 12 AND tier_id = 5 LIMIT 1 )));
	

REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Caynd')); 
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Caynd'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Barbarian Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Aderrawyn'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Aderrawyn'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Jarenth'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Jarenth'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Half Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rhilali'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rhilali'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Bomawyn'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Bomawyn'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Erudite Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Adiasean'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kobold Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Adiasean'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Norerd'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Guktan Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Erohach'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Frilikin'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Gnome Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Asirav'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Voelath'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Voelath'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Vah Shir Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Helind'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Sporali Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Helind'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rirak'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rirak'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dwarf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Cigosh'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Goblin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Cigosh'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Jelab'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Jelab'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Jelab'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Iksar Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Frendad'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Frendad'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Kunark Goblin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Frendad'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Onaut'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Onaut'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default High Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rhenwan'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Brownie Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rhenwan'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Prau'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Wood Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Shabado'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Kedirakith'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Dark Elf Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Onay'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Drendle'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Human Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Vaehan'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Aboekor'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Adew'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Daknot'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Daknot'));	
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Ogre Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rhorin'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Lizard Man Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Rhorin'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Ulaurd'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Ulaurd'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Ulaurd'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Troll Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Wedrijan'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Froglok Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Wedrijan'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Orc Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Wedrijan'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Jerbabi'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Halfling Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Guardian_Thaowyn'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Mercenary_Mdjai'));
REPLACE INTO merc_merchant_entries ( merc_merchant_template_id, merchant_id ) VALUES ( (SELECT merc_merchant_template_id FROM merc_merchant_templates WHERE name = 'Default Drakkin Mercenaries'), (SELECT ID FROM npc_types WHERE name = 'Mercenary_Akana'));