﻿{
	"counters":
	[
		{ "sid": "main_quest_win_action",		"value": 0 },
		{ "sid": "main_quest_win",				"value": 0 },
		{ "sid": "main_quest_lost",				"value": 0 },

		{ "sid": "main_quest_save_queen",		"value": 0 },
		{ "sid": "main_quest_save_queen_beelzebubs_blessing_demon_claw_artifact",		"value": 0 },
		{ "sid": "main_quest_save_queen_beelzebubs_blessing_chitinous_shield_artifact",	"value": 0 },
		{ "sid": "main_quest_save_queen_beelzebubs_blessing_heartbeat_artifact",		"value": 0 },
		{ "sid": "main_quest_save_queen_beelzebubs_blessing_demon_crest_artifact",		"value": 0 },

		{ "sid": "main_quest_line_timer_count_1",			"value": 34 },
		{ "sid": "main_quest_line_timer_count_2",			"value": 3 },
		{ "sid": "main_quest_line_timer_count_3",			"value": 6 },
		{ "sid": "main_quest_line_timer_count_4",			"value": 9 },
		{ "sid": "main_quest_line_timer_count_5",			"value": 12 },
		{ "sid": "main_quest_line_timer_count_6",			"value": 15 },
		{ "sid": "main_quest_line_timer_count",				"value": 0 },

		{ "sid": "main_quest_line_starter_count",	"value": 0 },

		{ "sid": "main_quest_line_item_1",	"value": 0 },
		{ "sid": "main_quest_line_item_2",	"value": 0 },
		{ "sid": "main_quest_line_item_3",	"value": 0 },
		{ "sid": "main_quest_line_item_4",	"value": 0 }
	],

	"interruptions":
	[
		{
			"sid": "interaction_with_demon_hero_7",
			"interruption": "BeforeIamVsHero",
			"activeOnStart": true,
			"p": [ "demon_hero_7" ],

			"actions":
			[
				{ "a": "Dialog", "p": [ "if_main_quest_line_item_beforе_1" ] }
			]
		},
		{
			"sid": "interaction_with_demon_hero_13",
			"interruption": "BeforeIamVsHero",
			"activeOnStart": true,
			"p": [ "demon_hero_13" ],

			"actions":
			[
				{ "a": "Dialog", "p": [ "if_main_quest_line_item_beforе_2" ] }
			]
		},
		{
			"sid": "interaction_with_demon_hero_18",
			"interruption": "BeforeIamVsHero",
			"activeOnStart": true,
			"p": [ "demon_hero_18" ],

			"actions":
			[
				{ "a": "Dialog", "p": [ "if_main_quest_line_item_beforе_3" ] }
			]
		},
		{
			"sid": "interaction_with_demon_hero_8",
			"interruption": "BeforeIamVsHero",
			"activeOnStart": true,
			"p": [ "demon_hero_8" ],

			"actions":
			[
				{ "a": "Dialog", "p": [ "if_main_quest_line_item_beforе_4" ] }
			]
		}
	],

	"quests":
	[	
		{
			"sid": "intro",

			"hidden": true,

			"comment": "intro",

			"activeOnStart": true,
			"sharing": "Clone",

			"name": "1",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] }
							],

							"actions":
							[
								{ "a": "DisableAiHero", "p": [ "unfrozen_hero_13" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "unfrozen_hero_13", "33" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "unfrozen_hero_13", "33" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "unfrozen_hero_13", "33" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "unfrozen_hero_13", "33" ] },

								{ "a": "AddSkillHero", "p": [ "skill_faction_unfrozen", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_faction_unfrozen", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_summoner", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_summoner", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_assault", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_assault", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_assault", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_protection", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_protection", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_protection", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_resistance", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_resistance", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_resistance", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_wisdom", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_wisdom", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_wisdom", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_sorcery", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_sorcery", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_sorcery", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_siege", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_siege", "unfrozen_hero_13" ] },
								{ "a": "AddSkillHero", "p": [ "skill_siege", "unfrozen_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_3", "unfrozen_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_3", "unfrozen_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_3", "unfrozen_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_3", "unfrozen_hero_13", "-1" ] },

								{ "a": "GiveExpHero", "p": [ "29750000", "unfrozen_hero_13" ] },

								{ "a": "GiveItemHero", "p": [ "catechism_of_night_magic_artifact", "unfrozen_hero_13" ] },
								{ "a": "GiveItemHero", "p": [ "catechism_of_daylight_magic_artifact", "unfrozen_hero_13" ] },
								{ "a": "GiveItemHero", "p": [ "catechism_of_spacetime_magic_artifact", "unfrozen_hero_13" ] },
								{ "a": "GiveItemHero", "p": [ "catechism_of_primal_magic_artifact", "unfrozen_hero_13" ] },

								{ "a": "GiveUnitHero", "p": [ "unspeakable",					"8",	"unfrozen_hero_13" ] },
								{ "a": "RemoveUnitHero", "p": [ "lesser_eldritch", "all", "unfrozen_hero_13" ] },
								{ "a": "RemoveUnitHero", "p": [ "eldritch_flyer", "all", "unfrozen_hero_13" ] },
								{ "a": "RemoveUnitHero", "p": [ "eldritch_flyer", "all", "unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "unspeakable_upg",				"8",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "eldritch_flyer_upg",				"20",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "lesser_eldritch_upg",			"160",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "lesser_eldritch_upg_alt",		"160",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "eldritch_flyer_upg_alt",			"20",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "unspeakable_upg_alt",			"8",	"unfrozen_hero_13" ] },



								{ "a": "DisableAiHero", "p": [ "unfrozen_hero_11" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "unfrozen_hero_11", "33" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "unfrozen_hero_11", "33" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "unfrozen_hero_11", "33" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "unfrozen_hero_11", "33" ] },

								{ "a": "GiveExpHero", "p": [ "1000000", "unfrozen_hero_11" ] },



								{ "a": "DisableAiHero", "p": [ "demon_hero_7" ] },
								{ "a": "DisableAiHero", "p": [ "demon_hero_13" ] },
								{ "a": "DisableAiHero", "p": [ "demon_hero_18" ] },
								{ "a": "DisableAiHero", "p": [ "demon_hero_8" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "4" ] },
								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "RemoveUnitHero", "p": [ "locust", "all", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_7" ] },

								{ "a": "AddSpellHero", "p": [ "bonus_magic_pure_bolt", "demon_hero_7" ] },

								{ "a": "AddSpellHero", "p": [ "day_1_magic_healing_water", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_2_magic_sharp_edge", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_3_magic_haste", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_4_magic_favorable_wind", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_5_magic_shorten_shadow", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_6_magic_cleansing_ray", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_7_magic_inner_light", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_8_magic_taunt", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_9_magic_arinas_hymn", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_10_magic_second_song", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_11_magic_masterful_parry", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_12_magic_radiant_armor", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_13_magic_holy_arms", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_14_magic_vengeance", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_15_magic_judgement", "demon_hero_7" ] },
								{ "a": "AddSpellHero", "p": [ "day_16_magic_arinas_chosen", "demon_hero_7" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "4" ] },
								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "RemoveUnitHero", "p": [ "wasp", "all", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_13" ] },

								{ "a": "AddSpellHero", "p": [ "bonus_magic_pure_bolt", "demon_hero_13" ] },

								{ "a": "AddSpellHero", "p": [ "night_1_magic_unnatural_calm", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_2_magic_web", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_3_magic_enlarge_shadow", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_4_magic_despair", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_5_magic_shade_cloak", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_6_magic_deaths_grip", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_7_magic_fatal_decay", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_8_magic_sleep", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_9_magic_twilight", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_10_magic_silence", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_11_magic_vulnerability", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_12_magic_summon_starchild", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_13_magic_berserker", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_14_magic_nairas_kiss", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_15_magic_deaths_call", "demon_hero_13" ] },
								{ "a": "AddSpellHero", "p": [ "night_16_magic_shadow_army", "demon_hero_13" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "4" ] },
								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "RemoveUnitHero", "p": [ "wasp", "all", "demon_hero_18" ] },
								{ "a": "RemoveUnitHero", "p": [ "locust", "all", "demon_hero_18" ] },
								{ "a": "RemoveUnitHero", "p": [ "trick_demon", "all", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_18" ] },

								{ "a": "AddSpellHero", "p": [ "bonus_magic_pure_bolt", "demon_hero_18" ] },

								{ "a": "AddSpellHero", "p": [ "space_1_magic_early_start", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_2_magic_energy_explosion", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_3_magic_energyze", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_4_magic_optical_illusion", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_5_magic_trap_jaws", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_6_magic_blink", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_7_magic_shackles", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_8_magic_carapace", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_9_magic_impending_fate", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_10_magic_mirror_copy", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_11_magic_decimate", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_12_magic_rewind", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_13_magic_black_hole", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_14_magic_doreaths_tide", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_15_magic_trap_snare", "demon_hero_18" ] },
								{ "a": "AddSpellHero", "p": [ "space_16_magic_reality_distortion", "demon_hero_18" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "4" ] },
								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "RemoveUnitHero", "p": [ "wasp", "all", "demon_hero_8" ] },
								{ "a": "RemoveUnitHero", "p": [ "locust", "all", "demon_hero_8" ] },
								{ "a": "RemoveUnitHero", "p": [ "trick_demon", "all", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_8" ] },

								{ "a": "AddSpellHero", "p": [ "bonus_magic_pure_bolt", "demon_hero_8" ] },

								{ "a": "AddSpellHero", "p": [ "primal_1_magic_thunderbolt", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_2_magic_thick_hide", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_3_magic_wean", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_4_magic_fire_globe", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_5_magic_crystal_crown", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_6_magic_ice_bolt", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_7_magic_wall_of_flame", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_8_magic_cave_in", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_9_magic_earths_rage", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_10_magic_primordial_purity", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_11_magic_armageddon", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_12_magic_chain_lightning", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_13_magic_avalanche", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_14_magic_hksmillas_rampage", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_15_magic_summon_primal_remnant", "demon_hero_8" ] },
								{ "a": "AddSpellHero", "p": [ "primal_16_magic_stone_fangs", "demon_hero_8" ] },

								{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_demon_claw_artifact", "demon_hero_7" ] },
								{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_chitinous_shield_artifact", "demon_hero_13" ] },
								{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_heartbeat_artifact", "demon_hero_18" ] },
								{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_demon_crest_artifact", "demon_hero_8" ] },

								{ "a": "Dialog", "p": [ "if_main_quest_line_start" ] }
							]
						}
					]
				},

				{
					"sid": "2_start_game",
					"activeOnStart": true,

					"comment": "Economy/Neutral/Ai",

					"triggers":
					[
						{
							"conditionsLogic": "And",

							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "1" ] }
							],

							"actions":
							[
								
							]
						}
					]
				},
				{
					"sid": "2_start_weak",
					"activeOnStart": true,

					"comment": "Economy/Neutral/Ai",

					"triggers":
					[
						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "1" ] }
							],

							"actions":
							[

							]
						}
					]
				},

				{
					"sid": "3_start_game",
					"activeOnStart": true,

					"comment": "Economy/Neutral/Ai",

					"triggers":
					[
						{
							"conditionsLogic": "And",

							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"63",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"39",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"21",	"demon_hero_7" ] },

								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"63",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"39",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"21",	"demon_hero_13" ] },

								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"63",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"39",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"21",	"demon_hero_18" ] },

								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"63",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"39",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"21",	"demon_hero_8" ] }
							]
						}
					]
				},
				{
					"sid": "3_start_weak",
					"activeOnStart": true,

					"comment": "Economy/Neutral/Ai",

					"triggers":
					[
						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveUnitHero", "p": [ "unspeakable",					"1",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "unspeakable_upg",				"1",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "eldritch_flyer_upg",				"4",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "lesser_eldritch_upg",			"20",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "lesser_eldritch_upg_alt",		"20",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "eldritch_flyer_upg_alt",			"4",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "unspeakable_upg_alt",			"1",	"unfrozen_hero_13" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "1" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "1" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "1" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "1" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "1" ] }
							]
						}
					]
				},

				{
					"sid": "4_start_game",
					"activeOnStart": true,

					"comment": "Economy/Neutral/Ai",

					"triggers":
					[
						{
							"conditionsLogic": "And",

							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "3" ] }
							],

							"actions":
							[
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_7" ] },

								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_13" ] },

								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_18" ] },

								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"126",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"78",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"42",	"demon_hero_8" ] }
							]
						}
					]
				},
				{
					"sid": "4_start_weak",
					"activeOnStart": true,

					"comment": "Economy/Neutral/Ai",

					"triggers":
					[
						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "3" ] }
							],

							"actions":
							[
								{ "a": "GiveUnitHero", "p": [ "unspeakable",					"2",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "unspeakable_upg",				"2",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "eldritch_flyer_upg",				"8",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "lesser_eldritch_upg",			"40",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "lesser_eldritch_upg_alt",		"40",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "eldritch_flyer_upg_alt",			"8",	"unfrozen_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "unspeakable_upg_alt",			"2",	"unfrozen_hero_13" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "3" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "2" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "3" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "2" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "3" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "2" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"repeat": true,

							"conditions":
							[
								{ "c": "StartWeek" },
								{ "c": "DifficultyCustomMap", "p": [ "Neutral", "3" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "2" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "demon_kill_conditions",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_7" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "jaw",					"25",	"demon_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_13", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_7" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "jaw",					"25",	"demon_hero_18" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_18", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_7" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "jaw",					"25",	"demon_hero_8" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_8", "-1" ] }
							]
						},

						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_7" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "jaw",					"50",	"demon_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_13", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_7" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "jaw",					"50",	"demon_hero_18" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_18", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_7" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "jaw",					"50",	"demon_hero_8" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_8", "-1" ] }
							]
						}
					]
				},

				{
					"sid": "2",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_13" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "godslayer",				"9",	"demon_hero_7" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_7", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_13" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "godslayer",				"9",	"demon_hero_18" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_18", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_13" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "godslayer",				"9",	"demon_hero_8" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_8", "-1" ] }
							]
						},

						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_13" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "godslayer",				"18",	"demon_hero_7" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_7", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_13" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "godslayer",				"18",	"demon_hero_18" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_18", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_13" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "godslayer",				"18",	"demon_hero_8" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_8", "-1" ] }
							]
						}
					]
				},

				{
					"sid": "3",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_18" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "olgoi",					"6",	"demon_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_13", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_18" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "olgoi",					"6",	"demon_hero_7" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_7", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_18" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "olgoi",					"6",	"demon_hero_8" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_8", "-1" ] }
							]
						},

												{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_18" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "olgoi",					"12",	"demon_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_13", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_18" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "olgoi",					"12",	"demon_hero_7" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_7", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_18" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_8", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_8", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_8" ] },
								{ "a": "GiveUnitHero", "p": [ "olgoi",					"12",	"demon_hero_8" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_8", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_8", "-1" ] }
							]
						}
					]
				},

				{
					"sid": "4",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_8" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "hive_queen",				"2",	"demon_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_13", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_8" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "hive_queen",				"2",	"demon_hero_18" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_18", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_8" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "1" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "2" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "2" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "hive_queen",				"2",	"demon_hero_7" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_7", "-1" ] }
							]
						},

						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_8" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_13", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_13", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_13" ] },
								{ "a": "GiveUnitHero", "p": [ "hive_queen",				"4",	"demon_hero_13" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_13", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_13", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_8" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_18", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_18", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_18" ] },
								{ "a": "GiveUnitHero", "p": [ "hive_queen",				"4",	"demon_hero_18" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_18", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_18", "-1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "demon_hero_8" ] },
								{ "c": "DifficultyCustomMap", "p": [ "Ai", "2" ] }
							],

							"actions":
							[
								{ "a": "GiveStatsHero", "p": [ "offence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "defence", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "spellPower", "demon_hero_7", "4" ] },
								{ "a": "GiveStatsHero", "p": [ "intelligence", "demon_hero_7", "4" ] },

								{ "a": "GiveExpHero", "p": [ "38900", "demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "trick_demon",			"42",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "locust",					"26",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "wasp",					"14",	"demon_hero_7" ] },
								{ "a": "GiveUnitHero", "p": [ "hive_queen",				"4",	"demon_hero_7" ] },

								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_day_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_night_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_space_1", "demon_hero_7", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_magic_primal_1", "demon_hero_7", "-1" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "win_lose_conditions",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "unfrozen_hero_13" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "if_main_quest_line_win" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "ObjectLose", "p": [ "start_city" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "if_main_quest_line_lost" ] }
							]
						}
					]
				},
				{
					"sid": "2",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_win", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "GameVictory" }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_lost", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "GameLose" }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_timer",
			"hidden": true,

			"comment": "main starter",

			"activeOnStart": true,
			"name": "song_of_murmurwood_name",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Подчините взбунтовавшихся ктулхов, одержав верх над The Eye Collective пока он не захватил столицу",

					"triggers":
					[
						{
							"repeat": true,
							
							"conditions":
							[
								{ "c": "StartTurn" }
							],

							"actions":
							[
								{ "a": "CounterMinus", "p": [ "main_quest_line_timer_count_1", "1" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_timer_end",
			"hidden": true,

			"comment": "main starter",

			"activeOnStart": true,
			"name": "song_of_murmurwood_name",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Подчините взбунтовавшихся ктулхов, одержав верх над The Eye Collective пока он не захватил столицу",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_timer_count_1", "=", "0" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "if_main_quest_line_start_attack_dialog" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_starter",
			"hidden": true,

			"comment": "main starter",

			"activeOnStart": true,
			"name": "song_of_murmurwood_name",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Подчините взбунтовавшихся ктулхов, одержав верх над The Eye Collective пока он не захватил столицу",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_starter_count", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest", "p": [ "main_quest_line" ] },
								{ "a": "NextQuest", "p": [ "main_quest_line_queen" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_wake_up",
			"hidden": true,

			"comment": "main starter",

			"activeOnStart": true,
			"name": "song_of_murmurwood_name",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Подчините взбунтовавшихся ктулхов, одержав верх над The Eye Collective пока он не захватил столицу",

					"triggers":
					[
						{	
							"conditionsLogic": "And",

							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_save_queen_beelzebubs_blessing_demon_claw_artifact", "=", "1" ] },
								{ "c": "Counter", "p": [ "main_quest_save_queen_beelzebubs_blessing_chitinous_shield_artifact", "=", "1" ] },
								{ "c": "Counter", "p": [ "main_quest_save_queen_beelzebubs_blessing_heartbeat_artifact", "=", "1" ] },
								{ "c": "Counter", "p": [ "main_quest_save_queen_beelzebubs_blessing_demon_crest_artifact", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "if_main_quest_line_wake_up" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line",
			"main": true,
			"hidden": false,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "infinity_frost_sub_1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "infinity_frost_sub_2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_win", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] },
								{ "a": "SubQuestDone", "p": [ "main_quest_line", "2" ] }
							]
						}
					]
				},
				{
					"sid": "2",
					"activeOnStart": true,
					"name": "infinite_frost_counter_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_timer_count_1", "=", "0" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_queen",
			"hidden": false,

			"comment": "lose conditions",

			"activeOnStart": false,
			"name": "infinity_frost_sub_3",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "infinity_frost_sub_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_save_queen", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] }
							]
						}
					]
				},
				{
					"sid": "2",
					"activeOnStart": false,
					"name": "infinity_frost_sub_5",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_item_1", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] }
							]
						}
					]
				},
				{
					"sid": "3",
					"activeOnStart": false,
					"name": "infinity_frost_sub_6",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_item_2", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] }
							]
						}
					]
				},
				{
					"sid": "4",
					"activeOnStart": false,
					"name": "infinity_frost_sub_7",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_item_3", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] }
							]
						}
					]
				},
				{
					"sid": "5",
					"activeOnStart": false,
					"name": "infinity_frost_sub_8",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_item_4", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone", "p": [  ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_queen_items_activator",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "Спящая королева",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Пробудите спящую королеву Хель’Гхат",

					"triggers":
					[
						{
							"conditionsLogic": "Or",

							"conditions":
							[
								{ "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_demon_claw_artifact", "=" , "1" ] },
								{ "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_chitinous_shield_artifact", "=" , "1" ] },
								{ "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_heartbeat_artifact", "=" , "1" ] },
								{ "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_demon_crest_artifact", "=" , "1" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "if_main_quest_line_start_items" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_queen_items_activator_1",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "Item #1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Item #1",

					"triggers":
					[
						{
							"conditions": [ { "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_demon_claw_artifact", "=" , "1" ] } ],
							"actions": [ { "a": "CounterPlus", "p": [ "main_quest_line_item_1", "1" ] } ]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_queen_items_activator_2",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "Item #2",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Item #2",

					"triggers":
					[
						{
							"conditions": [ { "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_chitinous_shield_artifact", "=" , "1" ] } ],
							"actions": [ { "a": "CounterPlus", "p": [ "main_quest_line_item_2", "1" ] } ]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_queen_items_activator_3",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "Item #3",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Item #3",

					"triggers":
					[
						{
							"conditions": [ { "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_heartbeat_artifact", "=" , "1" ] } ],
							"actions": [ { "a": "CounterPlus", "p": [ "main_quest_line_item_3", "1" ] } ]
						}
					]
				}
			]
		},

		{
			"sid": "main_quest_line_queen_items_activator_4",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "Item #4",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,
					"name": "Item #4",

					"triggers":
					[
						{
							"conditions": [ { "c": "ItemOwnSide", "p": [ "beelzebubs_blessing_demon_crest_artifact", "=" , "1" ] } ],
							"actions": [ { "a": "CounterPlus", "p": [ "main_quest_line_item_4", "1" ] } ]
						}
					]
				}
			]
		},

		{
			"sid": "final_battle_quest_line",
			"hidden": true,

			"comment": "lose conditions",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest_line_timer_count", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "AddBuffHeroDays", "p": [ "campaign_infinite_moves_buff", "unfrozen_hero_13", "9999" ] },
								{ "a": "HeroToNode", "p": [ "unfrozen_hero_13", "2386" ] }
							]
						}
					]
				}
			]
		}
	]
}