﻿{
	"counters":
	[
		{ "sid": "gunnar_sacrifice", 		"value": 0, "comment": "флаг, кто остался жертвовать собой, 1 - подтвержден жертвой, 2 - пришел в город" },
		{ "sid": "filacus_sacrifice", 		"value": 0, "comment": "флаг, кто остался жертвовать собой, 1 - подтвержден жертвой, 2 - пришел в город" },
		{ "sid": "valentina_sacrifice", 	"value": 0, "comment": "флаг, кто остался жертвовать собой, 1 - подтвержден жертвой, 2 - пришел в город" },
		{ "sid": "galthran_sacrifice", 		"value": 0, "comment": "флаг, кто остался жертвовать собой, 1 - подтвержден жертвой, 2 - пришел в город" },

		{ "sid": "gunnar_safe", 			"value": 0, "comment": "гуннар сбежал" },
		{ "sid": "filacus_safe", 			"value": 0, "comment": "лафьюр сбежал" },
		{ "sid": "valentina_safe", 			"value": 0, "comment": "валентина сбежала" },
		{ "sid": "galthran_safe", 			"value": 0, "comment": "галтран сбежал" },
		{ "sid": "total_safe", 				"value": 0, "comment": "счетчик количества убежавших геров; если равен 3, значит все сбежали, остался только защитник" },

		{ "sid": "villages_quest", 			"value": 0, "comment": "квест на посещение деревень; 1 = включен; 2 = выполнен / автоматически скипнут если дк побежден" },
		{ "sid": "villages_visited", 		"value": 0, "comment": "счетчик количества спасенных деревень" },
		{ "sid": "village1_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village2_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village3_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village4_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village5_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village6_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village7_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village8_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village9_saved", 			"value": 0, "comment": "конкретная деревеня посещена" },
		{ "sid": "village10_saved", 		"value": 0, "comment": "конкретная деревеня посещена" },

		{ "sid": "enemy_hero_announced", 	"value": 0, "comment": "Счетчик, какой герой сейчас приближается; используется для квестлога" },
		{ "sid": "enemy_hero_killed", 		"value": 0, "comment": "Счетчик, какой герой был побежден; используется для квестлога" },
		{ "sid": "dk_attack", 				"value": 0, "comment": "флаг завершения первой фазы миссии, используется для отключения стартового винкондишена", "sharing": "All" },
		{ "sid": "dk_losses", 				"value": 0, "comment": "учет юнитов дк убитых при осаде" },
		{ "sid": "dk_enters_city", 			"value": 0, "comment": "впомогательный флаг, выдает команду для дк зайти в город после победы над защитником" },
		{ "sid": "main_quest", 				"value": 0, "comment": "флаг для квестлога, 0 = первая фаза миссии, 1 = вторая (сбежать + пожертвовать героями), 2 - герои сбежали" },
		{ "sid": "city_taken_dk", 			"value": 0, "comment": "1 = стрекозиный король захватил город" },
		{ "sid": "dk_defeated", 	 					"comment": "пасхальный флаг, 1 = игрок победил стрекозиного короля" }
	],

	"interruptions":
	[
		{
			"sid": "after_fight_demon_hero_1a",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_1", "campaign_M10_hero_demon_1" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial4_gunnar" ] },
				{ "a": "CounterSet", "p": [ "enemy_hero_killed", "1" ] }				
			]
		},
		{
			"sid": "after_fight_demon_hero_1b",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_2", "campaign_M10_hero_demon_1" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial4_filacus" ] },
				{ "a": "CounterSet", "p": [ "enemy_hero_killed", "1" ] }
			]
		},
		{
			"sid": "after_fight_demon_hero_1c",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_3", "campaign_M10_hero_demon_1" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial4_valentina" ] },
				{ "a": "CounterSet", "p": [ "enemy_hero_killed", "1" ] }
			]
		},
		{
			"sid": "after_fight_demon_hero_1d",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_4", "campaign_M10_hero_demon_1" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial4_galthran" ] },
				{ "a": "CounterSet", "p": [ "enemy_hero_killed", "1" ] }
			]
		},
		

		{
			"sid": "after_fight_demon_hero_2",
			"interruption": "AfterIamWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_M10_hero_demon_2" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial6" ] },
				{ "a": "CounterSet", "p": [ "enemy_hero_killed", "2" ] }	
			]
		},

		{
			"sid": "before_fight_demon_hero_3a",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_1", "campaign_M10_hero_demon_3" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial8_gunnar" ] }
			]
		},
		{
			"sid": "before_fight_demon_hero_3b",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_2", "campaign_M10_hero_demon_3" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial8_filacus" ] }
			]
		},
		{
			"sid": "before_fight_demon_hero_3c",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_3", "campaign_M10_hero_demon_3" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial8_valentina" ] }
			]
		},
		{
			"sid": "before_fight_demon_hero_3d",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": true,
			"p": [ "campaign_hero_4", "campaign_M10_hero_demon_3" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial8_galthran" ] }
			]
		},
		
		{
			"sid": "after_fight_demon_hero_3",
			"interruption": "AfterIamWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_M10_hero_demon_3" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial9" ] },
				{ "a": "CounterSet", "p": [ "enemy_hero_killed", "3" ] }
			]
		},

		{
			"sid": "before_fight_demon_hero_4a",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": false,
			"p": [ "campaign_hero_1", "campaign_M10_hero_demon_4" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial13_gunnar" ] }
			]
		},
		{
			"sid": "before_fight_demon_hero_4b",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": false,
			"p": [ "campaign_hero_2", "campaign_M10_hero_demon_4" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial13_filacus" ] }
			]
		},
		{
			"sid": "before_fight_demon_hero_4c",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": false,
			"p": [ "campaign_hero_3", "campaign_M10_hero_demon_4" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial13_valentina" ] }
			]
		},
		{
			"sid": "before_fight_demon_hero_4d",
			"interruption": "BeforeHeroVsHero",
			"activeOnStart": false,
			"p": [ "campaign_hero_4", "campaign_M10_hero_demon_4" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial13_galthran" ] }
			]
		},
		
		{
			"sid": "after_fight_demon_hero_4a",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": false,
			"p": [ "campaign_M10_hero_demon_4", "campaign_hero_1" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "CounterSet", "p": [ "dk_attack", "1" ] },
				{ "a": "CounterSet", "p": [ "dk_defeated", "0" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial14_gunnar" ] }
			]
		},
		{
			"sid": "after_fight_demon_hero_4b",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": false,
			"p": [ "campaign_M10_hero_demon_4", "campaign_hero_2" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "CounterSet", "p": [ "dk_attack", "1" ] },
				{ "a": "CounterSet", "p": [ "dk_defeated", "0" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial14_filacus" ] }
			]
		},
		{
			"sid": "after_fight_demon_hero_4c",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": false,
			"p": [ "campaign_M10_hero_demon_4", "campaign_hero_3" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "CounterSet", "p": [ "dk_attack", "1" ] },
				{ "a": "CounterSet", "p": [ "dk_defeated", "0" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial14_valentina" ] }
			]
		},
		{
			"sid": "after_fight_demon_hero_4d",
			"interruption": "AfterHeroWinVsHero",
			"activeOnStart": false,
			"p": [ "campaign_M10_hero_demon_4", "campaign_hero_4" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "CounterSet", "p": [ "dk_attack", "1" ] },
				{ "a": "CounterSet", "p": [ "dk_defeated", "0" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dial14_galthran" ] }
			]
		},

		{
			"sid": "after_WIN_demon_hero_4",
			"interruption": "AfterIamWinVsHero",
			"activeOnStart": true,
			"p": [ "campaign_M10_hero_demon_4" ],

			"actions":
			[
				{ "a": "MoveCamera", "p": [ "1313" ] },
				{ "a": "Dialog", "p": [ "M10Q1_dk_defeated" ] }
			]
		}
	],

	"quests":
	[
		{
			"sid": "win_lose_conditions_1",
			"hidden": true,

			"comment": "conditions for losing city",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "ObjectLose", "p": [ "city" ] }
							],

							"actions":
							[
								{ "a": "GameLose" }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "dk_attack", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextSubQuest", "p": [ "2" ] }
							]
						}
					]
				},
				{
					"sid": "2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "ObjectLose", "p": [ "city" ] }
							],

							"actions":
							[
								{ "a": "CounterSet", "p": [ "city_taken_dk", "1" ] }
							]
						}
					]
				}
			]
		},
		{
			"sid": "win_lose_conditions_2",
			"hidden": true,

			"comment": "conditions for winning + summoning dialog after",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[				
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "total_safe", "=", "3" ] },
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "M10Q1_dial17" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "total_safe", "=", "3" ] },
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "M10Q1_dial17" ] }
							]
						}
					]
				}
			]
		},	

		{
			"sid": "guard_conditions",
			"hidden": true,

			"comment": "kill guards",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[				
				{
					"sid": "tree_1_kill",
					"activeOnStart": true,

					"triggers": 
					[ 
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,1" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,2" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,4" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_1" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,6" ] } ]  }
					]
				},
				{
					"sid": "tree_2_kill",
					"activeOnStart": true,

					"triggers": 
					[ 
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,1" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,2" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,4" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_2" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,6" ] } ]  }
					]
				},
				{
					"sid": "tree_3_kill",
					"activeOnStart": true,

					"triggers": 
					[ 
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,1" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,2" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,4" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_3" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,6" ] } ]  }
					]
				},
				{
					"sid": "tree_4_kill",
					"activeOnStart": true,

					"triggers": 
					[ 
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,1" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,2" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,4" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_4" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_5", "0,6" ] } ]  }
					]
				},
				{
					"sid": "tree_5_kill",
					"activeOnStart": true,

					"triggers": 
					[ 
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,1" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "0" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,1" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,2" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "1" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,2" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,4" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "2" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,4" ] } ]  },

						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_2", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_3", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_4", "0,6" ] } ]  },
						{ "conditionsLogic": "And", "conditions": [ { "c": "SquadKill", "p": [ "tree_5" ] }, { "c": "Difficulty", "p": [ "3" ] } ], "actions": [ { "a": "IncreaseStrengthSquad", "p": [ "tree_1", "0,6" ] } ]  }
					]
				}
			]
		},	
		
		{
			"sid": "lose_conditions_gunnar",
			"hidden": true,

			"comment": "conditions for losing gunnar, off when he is saved or when he is defeated by DK",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[						
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "campaign_hero_1" ] }
							],

							"actions":
							[
								{ "a": "GameLose" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "gunnar_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_attack", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[								
								{ "c": "Counter", "p": [ "gunnar_sacrifice", "=", "0" ] },
								{ "c": "Counter", "p": [ "gunnar_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "gunnar_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						}
					]
				}				
			]
		},
		{
			"sid": "lose_conditions_filacus",
			"hidden": true,

			"comment": "conditions for losing filacus, off when he is saved or when he is defeated by DK",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "campaign_hero_2" ] }
							],

							"actions":
							[
								{ "a": "GameLose" }
							]
						},	
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_attack", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_sacrifice", "=", "0" ] },
								{ "c": "Counter", "p": [ "filacus_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						}
					]
				}				
			]
		},
		{
			"sid": "lose_conditions_valentina",
			"hidden": true,

			"comment": "conditions for losing valentina, off when she is saved or when he is defeated by DK",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "campaign_hero_3" ] }
							],

							"actions":
							[
								{ "a": "GameLose" }
							]
						},	
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_attack", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_sacrifice", "=", "0" ] },
								{ "c": "Counter", "p": [ "valentina_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						}
					]
				}
			]
		},
		{
			"sid": "lose_conditions_galthran",
			"hidden": true,

			"comment": "conditions for losing galthran, off when he is saved or when he is defeated by DK",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "HeroKill", "p": [ "campaign_hero_4" ] }
							],

							"actions":
							[
								{ "a": "GameLose" }
							]
						},	
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_attack", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_sacrifice", "=", "0" ] },
								{ "c": "Counter", "p": [ "galthran_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_sacrifice", ">", "0" ] },
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						}
					]
				}
			]
		},
		
		{
			"sid": "intro",
			"hidden": true,

			"comment": "intro",

			"activeOnStart": true,
			"name": "1",
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] }
							],

							"actions":
							[
								{ "a": "StoryCounterPlus", "p": [ "fractionReputation_Human" ,"0" ] },
								{ "a": "StoryCounterPlus", "p": [ "fractionReputation_Nature" ,"0" ] },
								{ "a": "StoryCounterPlus", "p": [ "fractionReputation_Undead" ,"0" ] },
								{ "a": "CounterPlus", "p": [ "dk_losses", "0" ] },

								{ "a": "RevealFogOfWar", "p": [ "326", "10" ] },
								{ "a": "RevealFogOfWar", "p": [ "336", "10" ] },
								{ "a": "RevealFogOfWar", "p": [ "346", "10" ] },
								{ "a": "RevealFogOfWar", "p": [ "356", "10" ] },
								{ "a": "RevealFogOfWar", "p": [ "366", "10" ] },

								{ "a": "RevealFogOfWar", "p": [ "916", "5" ] },
								{ "a": "RevealFogOfWar", "p": [ "833", "5" ] },
								{ "a": "RevealFogOfWar", "p": [ "835", "5" ] },
								{ "a": "RevealFogOfWar", "p": [ "837", "5" ] },
								{ "a": "RevealFogOfWar", "p": [ "607", "8" ] },
								{ "a": "RevealFogOfWar", "p": [ "1160", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "251", "6" ] },
								{ "a": "RevealFogOfWar", "p": [ "1420", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1290", "1" ] },
								{ "a": "RevealFogOfWar", "p": [ "1224", "1" ] },
								{ "a": "RevealFogOfWar", "p": [ "1262", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1095", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1360", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1107", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1047", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "985", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1116", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "907", "7" ] },
								{ "a": "RevealFogOfWar", "p": [ "1323", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "1381", "6" ] },
								{ "a": "RevealFogOfWar", "p": [ "1831", "4" ] },
								{ "a": "RevealFogOfWar", "p": [ "1763", "4" ] },
								{ "a": "RevealFogOfWar", "p": [ "1138", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "880", "5" ] },
								{ "a": "RevealFogOfWar", "p": [ "505", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "695", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "884", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1011", "1" ] },

								{ "a": "RevealFogOfWar", "p": [ "1759", "1" ] },
								{ "a": "RevealFogOfWar", "p": [ "1951", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "2273", "4" ] },
								{ "a": "RevealFogOfWar", "p": [ "2277", "4" ] },
								{ "a": "RevealFogOfWar", "p": [ "2078", "1" ] },
								{ "a": "RevealFogOfWar", "p": [ "2280", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "2220", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "2029", "1" ] },
								{ "a": "RevealFogOfWar", "p": [ "2411", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "2604", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "2668", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "2339", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "2796", "1" ] },
								{ "a": "RevealFogOfWar", "p": [ "2798", "2" ] },

								{ "a": "Dialog", "p": [ "M10Q1_dial1_intro" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "StoryCounter", "p": ["fractionReputation_Human",">=","20" ] }
							],

							"actions":
							[								
								{ "a": "SetActiveMarker", "p": [ "rep_marker_human", "true" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "StoryCounter", "p": ["fractionReputation_Nature",">=","20" ] }
							],

							"actions":
							[								
								{ "a": "SetActiveMarker", "p": [ "rep_marker_nature", "true" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "StoryCounter", "p": ["fractionReputation_Undead",">=","20" ] }
							],

							"actions":
							[								
								{ "a": "SetActiveMarker", "p": [ "rep_marker_undead", "true" ] }
							]
						}
					]
				},
				{
					"sid": "2",
					"activeOnStart": false,
					"comment": "revealing paths where demons will go //DSIABLED",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] }
							],

							"actions":
							[
								{ "a": "RevealFogOfWar", "p": [ "1247", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "1054", "2" ] },
								
								{ "a": "RevealFogOfWar", "p": [ "923", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "794", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "664", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "535", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "342", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "85", "2" ] },

								{ "a": "RevealFogOfWar", "p": [ "928", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "802", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "611", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "420", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "229", "2" ] },
								{ "a": "RevealFogOfWar", "p": [ "102", "2" ] }
							]
						}
					]
				},
				{
					"sid": "3",
					"activeOnStart": true,

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "1", "1" ] },
								{ "c": "Difficulty", "p": [ "0" ] }
							],

							"actions":
							[
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_easy_4", "campaign_hero_1", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_easy_4", "campaign_hero_2", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_easy_4", "campaign_hero_3", "-1" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_easy_4", "campaign_hero_4", "-1" ] }
							]
						}
					]
				}
			]
		},

		{
			"sid": "Questlog0",
			"main": true,

			"comment": "Квест 'Герои не должны умереть'",

			"activeOnStart": true,
			"sharing": "Clone",

			"name": "quest_name_genericQ0",

			"subQuests":
			[
				{
					"sid": "Questlog0_1",
					"activeOnStart": true,
					
					"name": "quest_sub_genericQ0_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						}
					]
				}
			]
		},
			
		{
			"sid": "Questlog1",
			"main": true,

			"comment": "main - defending city from waves of foes",

			"activeOnStart": true,
			"sharing": "Clone",
			
			"name": "quest_name_M10Q1",
			"desc": "quest_desc_M10Q1",

			"subQuests":
			[	
				{
					"sid": "Questlog1_1",
					"activeOnStart": true,

					"name": "quest_sub_M10Q1_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "main_quest", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }
							]
						}
					]
				},
				{
					"sid": "Questlog1_2",
					"activeOnStart": true,

					"name": "quest_sub_M10Q1_2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_announced", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" },
								{ "a": "NextSubQuest", "p": [ "Questlog1_3", "Questlog1_1" ] }
							]
						}
					]
				},
				{
					"sid": "Questlog1_3",

					"name": "quest_sub_M10Q1_3",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_killed", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" },
								{ "a": "NextSubQuest", "p": [ "Questlog1_4", "Questlog1_1" ] }
							]
						}
					]
				},
				{
					"sid": "Questlog1_4",

					"name": "quest_sub_M10Q1_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_announced", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "NextSubQuest", "p": [ "Questlog1_5", "Questlog1_1" ] }
							]
						}
					]
				},
				{
					"sid": "Questlog1_5",

					"name": "quest_sub_M10Q1_5",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_killed", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" },
								{ "a": "NextSubQuest", "p": [ "Questlog1_6", "Questlog1_1" ] }
							]
						}
					]
				},
				{
					"sid": "Questlog1_6",

					"name": "quest_sub_M10Q1_6",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_announced", "=", "3" ] }
							],

							"actions":
							[
								{ "a": "NextSubQuest", "p": [ "Questlog1_7", "Questlog1_1" ] }
							]
						}
					]
				},
				{
					"sid": "Questlog1_7",

					"name": "quest_sub_M10Q1_7",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_killed", "=", "3" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" },
								{ "a": "NextSubQuest", "p": [ "Questlog1_8", "Questlog1_1" ] }
							]
						}
					]
				},
				{
					"sid": "Questlog1_8",

					"name": "quest_sub_M10Q1_8",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "enemy_hero_announced", "=", "4" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				}
			]
		},

			{
				"sid": "setupQuestlog2",
				"hidden": true,

				"comment": "setup sacrifice quest",

				"activeOnStart": true,
				"sharing": "Clone",
				
				"name": "1",

				"subQuests":
				[
					{
						"sid": "a",
						"activeOnStart": true,

						"name":"setup sacrifice quest - gunnar",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "Counter", "p": [ "gunnar_sacrifice", "=", "1" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "Questlog2a" ] },
									{ "a": "EnableInterruption", "p": [ "before_fight_demon_hero_4a" ] },
									{ "a": "EnableInterruption", "p": [ "after_fight_demon_hero_4a" ] },

									{ "a": "CounterSet", "p": [ "villages_quest", "1" ] },

									{ "a": "Dialog", "p": [ "M10Q1_dial11_gunnar" ] }
								]
							}
						]
					},
					{
						"sid": "b",
						"activeOnStart": true,

						"name":"setup sacrifice quest - filacus",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "Counter", "p": [ "filacus_sacrifice", "=", "1" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "Questlog2b" ] },
									{ "a": "EnableInterruption", "p": [ "before_fight_demon_hero_4b" ] },
									{ "a": "EnableInterruption", "p": [ "after_fight_demon_hero_4b" ] },

									{ "a": "CounterSet", "p": [ "villages_quest", "1" ] },
									
									{ "a": "Dialog", "p": [ "M10Q1_dial11_filacus" ] }
								]
							}
						]
					},
					{
						"sid": "c",
						"activeOnStart": true,

						"name":"setup sacrifice quest - valentina",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "Counter", "p": [ "valentina_sacrifice", "=", "1" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "Questlog2c" ] },
									{ "a": "EnableInterruption", "p": [ "before_fight_demon_hero_4c" ] },
									{ "a": "EnableInterruption", "p": [ "after_fight_demon_hero_4c" ] },

									{ "a": "CounterSet", "p": [ "villages_quest", "1" ] },
									
									{ "a": "Dialog", "p": [ "M10Q1_dial11_valentina" ] }
								]
							}
						]
					},
					{
						"sid": "d",
						"activeOnStart": true,

						"name":"setup sacrifice quest - galthran",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "Counter", "p": [ "galthran_sacrifice", "=", "1" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "Questlog2d" ] },
									{ "a": "EnableInterruption", "p": [ "before_fight_demon_hero_4d" ] },
									{ "a": "EnableInterruption", "p": [ "after_fight_demon_hero_4d" ] },

									{ "a": "CounterSet", "p": [ "villages_quest", "1" ] },
									
									{ "a": "Dialog", "p": [ "M10Q1_dial11_galthran" ] }
								]
							}
						]
					}
				]
			},
		{
			"sid": "Questlog2a",
			"main": true,

			"comment": "sacrifice quest - gunnar",

			"sharing": "Clone",
			
			"name": "quest_name_M10Q2a",
			"desc": "quest_desc_M10Q2a",

			"subQuests":
			[
				{
					"sid": "Questlog2a_1",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2a_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "gunnar_sacrifice", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "DeleteEntity", "p": [ "block_exit" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_1" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3971", "false", "true", "pm_exit1" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3978", "false", "true", "pm_exit2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "4020", "false", "true", "pm_exit3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3971", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3978", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "4020", "3" ] },

								{ "a": "DeleteEntity", "p": [ "rep_marker_human" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_nature" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_undead" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2a_2",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2a_2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2a_3",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2a_3",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2a_4",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2a_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				}
			]
		},
		{
			"sid": "Questlog2b",
			"main": true,

			"comment": "sacrifice quest - filacus",

			"sharing": "Clone",
			
			"name": "quest_name_M10Q2b",
			"desc": "quest_desc_M10Q2b",

			"subQuests":
			[
				{
					"sid": "Questlog2b_1",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2b_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_sacrifice", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "DeleteEntity", "p": [ "block_exit" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_1" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3971", "false", "true", "pm_exit1" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3978", "false", "true", "pm_exit2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "4020", "false", "true", "pm_exit3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3971", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3978", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "4020", "3" ] },

								{ "a": "DeleteEntity", "p": [ "rep_marker_human" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_nature" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_undead" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2b_2",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2b_2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "gunnar_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2b_3",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2b_3",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2b_4",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2b_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				}
			]
		},
		{
			"sid": "Questlog2c",
			"main": true,

			"comment": "sacrifice quest - valentina",

			"sharing": "Clone",
			
			"name": "quest_name_M10Q2c",
			"desc": "quest_desc_M10Q2c",

			"subQuests":
			[
				{
					"sid": "Questlog2c_1",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2c_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_sacrifice", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "DeleteEntity", "p": [ "block_exit" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_1" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3971", "false", "true", "pm_exit1" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3978", "false", "true", "pm_exit2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "4020", "false", "true", "pm_exit3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3971", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3978", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "4020", "3" ] },

								{ "a": "DeleteEntity", "p": [ "rep_marker_human" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_nature" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_undead" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2c_2",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2c_2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "gunnar_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2c_3",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2c_3",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2c_4",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2c_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				}
			]
		},
		{
			"sid": "Questlog2d",
			"main": true,

			"comment": "sacrifice quest - galthran",

			"sharing": "Clone",
			
			"name": "quest_name_M10Q2d",
			"desc": "quest_desc_M10Q2d",

			"subQuests":
			[
				{
					"sid": "Questlog2d_1",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2d_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "galthran_sacrifice", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "DeleteEntity", "p": [ "block_exit" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_1" ] },
								{ "a": "DeleteEntity", "p": [ "block_exit_2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3971", "false", "true", "pm_exit1" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "3978", "false", "true", "pm_exit2" ] },
								{ "a": "CreateVFX", "p": [ "fx_quest_mark_gold_03", "4020", "false", "true", "pm_exit3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3971", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "3978", "3" ] },
								{ "a": "RevealFogOfWar", "p": [ "4020", "3" ] },

								{ "a": "DeleteEntity", "p": [ "rep_marker_human" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_nature" ] },
								{ "a": "DeleteEntity", "p": [ "rep_marker_undead" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "dk_defeated", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2d_2",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2d_2",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "gunnar_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2d_3",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2d_3",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "filacus_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				},
				{
					"sid": "Questlog2d_4",
					"activeOnStart": true,

					"name": "quest_sub_M10Q2d_4",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "valentina_safe", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "CounterPlus", "p": [ "total_safe", "1" ] },
								{ "a": "CurrentSubQuestDone" }
							]
						}
					]
				}
			]
		},
			{
				"sid": "setupQuestlog3",
				"hidden": true,

				"comment": "setup to start village quest",

				"activeOnStart": true,
				"name": "1",
				"sharing": "Clone",

				"subQuests":
				[	
					{
						"sid": "1",
						"activeOnStart": true,

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "Counter", "p": [ "villages_quest", "=", "1" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "Questlog3" ] },
									
									{ "a": "RevealFogOfWar", "p": [ "1893", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "1359", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "1499", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "1002", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "1779", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "2799", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "3197", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "3881", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "2709", "1" ] },
									{ "a": "RevealFogOfWar", "p": [ "3019", "1" ] },
									{ "a": "SetQuestMarker", "p": [ "village1", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village2", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village3", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village4", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village5", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village6", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village7", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village8", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village9", "effects/global_map/quest_mark_gold_02" ] },
									{ "a": "SetQuestMarker", "p": [ "village10", "effects/global_map/quest_mark_gold_02" ] }
								]
							}
						]
					}
				]
			},
		{
			"sid": "Questlog3",
			
			"main": true,
			"comment": "saving villages quest - common",

			"sharing": "Clone",
			
			"name": "quest_name_M10Q3",
			"desc": "quest_desc_M10Q3",

			"subQuests":
			[
				{
					"sid": "Questlog3_1",
					"activeOnStart": true,

					"name": "quest_sub_M10Q3_1",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "villages_visited", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "StoryCounterSet", "p": [ "Campaign_Flag_M10_VillagesSaved", "1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "villages_visited", "=", "3" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "M10Q1_evacuation_dial1" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "villages_visited", "=", "6" ] }
							],

							"actions":
							[
								{ "a": "Dialog", "p": [ "M10Q1_evacuation_dial2" ] },
								{ "a": "StoryCounterSet", "p": [ "Campaign_Flag_M10_VillagesSaved", "2" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "villages_visited", "=", "10" ] }
							],

							"actions":
							[
								{ "a": "StoryCounterSet", "p": [ "Campaign_Flag_M10_VillagesSaved", "3" ] },
								{ "a": "Dialog", "p": [ "M10Q1_evacuation_dial3" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "villages_quest", "=", "2" ] }
							],

							"actions":
							[
								{ "a": "CurrentSubQuestDone" },

								{ "a": "SetAchievement", "p": [ "achievement_18" ] }
							]
						}
					]
				}
			]
		},
			
			{
				"sid": "supportQuestSiege",
				"hidden": true,

				"comment": "to start tracking dk units losses during the siege",

				"activeOnStart": true,
				"sharing": "Clone",
				
				"name": "1",

				"subQuests":
				[	
					{
						"sid": "1",
						"activeOnStart": true,

						"triggers":
						[
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "0" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "QuestSiege_0" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "1" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "QuestSiege_1" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "2" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "QuestSiege_2" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "3" ] }
								],

								"actions":
								[
									{ "a": "NextQuest", "p": [ "QuestSiege_3" ] }
								]
							}
						]
					}
				]
			},
		{
			"sid": "QuestSiege_0",
			"hidden": true,

			"comment": "tracking dk units losses during the siege; difficulty = easy",

			"activeOnStart": false,
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "0",
					"activeOnStart": true,

					"comment":"ending quest after the city was lost",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }							
							]
						}
					]
				},
				{
					"sid": "1",
					"activeOnStart": true,

					"comment":"increasing dk_losses counter for different units killed",

					"triggers":
					[
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 25 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 50 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 75 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 125 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 15 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 45 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 75 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 5 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 10 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 15 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 20 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 25 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 25 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 50 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 75 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 125 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 5 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 10 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 15 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 20 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 25 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 15 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 45 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 75 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						}
					]
				}
			]
		},
		{
			"sid": "QuestSiege_1",
			"hidden": true,

			"comment": "tracking dk units losses during the siege; difficulty = medium",

			"activeOnStart": false,
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "0",
					"activeOnStart": true,

					"comment":"ending quest after the city was lost",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }							
							]
						}
					]
				},
				{
					"sid": "1",
					"activeOnStart": true,

					"comment":"increasing dk_losses counter for different units killed",

					"triggers":
					[
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 50 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 200 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 250 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 10 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 20 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 40 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 50 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 50 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 200 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 250 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 10 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 20 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 40 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 50 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 180 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 240 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						}
					]
				}
			]
		},
		{
			"sid": "QuestSiege_2",
			"hidden": true,

			"comment": "tracking dk units losses during the siege; difficulty = hard",

			"activeOnStart": false,
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "0",
					"activeOnStart": true,

					"comment":"ending quest after the city was lost",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }							
							]
						}
					]
				},
				{
					"sid": "1",
					"activeOnStart": true,

					"comment":"increasing dk_losses counter for different units killed",

					"triggers":
					[
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 200 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 400 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 500 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 180 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 240 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 20 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 40 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 80 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 200 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 400 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 500 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 20 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 40 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 80 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 100 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 180 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 240 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 240 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 360 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 480 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 600 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						}
					]
				}
			]
		},
		{
			"sid": "QuestSiege_3",
			"hidden": true,

			"comment": "tracking dk units losses during the siege; difficulty = difficult",

			"activeOnStart": false,
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "0",
					"activeOnStart": true,

					"comment":"ending quest after the city was lost",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "Counter", "p": [ "city_taken_dk", "=", "1" ] }
							],

							"actions":
							[
								{ "a": "NextQuest" }							
							]
						}
					]
				},
				{
					"sid": "1",
					"activeOnStart": true,

					"comment":"increasing dk_losses counter for different units killed",

					"triggers":
					[
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 450 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 600 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg" ], "counter": 750 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 180 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 270 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 360 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg" ], "counter": 450 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg_alt" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 300 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 450 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 600 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "godslayer_upg_alt" ], "counter": 750 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 30 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 60 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 120 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "hive_queen_upg" ], "counter": 150 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 90 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 180 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 270 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 360 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "olgoi_upg_alt" ], "counter": 450 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},

						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 180 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 360 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 540 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 720 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						},
						{
							"conditions": [ { "c": "UnitKill", "p": [ "wasp_upg_alt" ], "counter": 900 } ],
							"actions": [ { "a": "CounterPlus", "p": [ "dk_losses", "1" ] } ]
						}
					]
				}
			]
		},

			{
				"sid": "supportQuestlog1a",
				"hidden": true,

				"comment": "tech - spawning enemy heroes",

				"activeOnStart": true,
				"sharing": "Clone",
				
				"name": "1",

				"subQuests":
				[	
					{
						"sid": "supportQuestlog1_1",
						"activeOnStart": true,

						"name":"demon_hero_1 spawn",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "1", "6" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "1313" ] },
									{ "a": "Dialog", "p": [ "M10Q1_dial2" ] },
									{ "a": "CounterSet", "p": [ "enemy_hero_announced", "1" ] }								
								]
							},
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "2", "1" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "85" ] },
									{ "a": "RevealFogOfWar", "p": [ "85", "2" ] },
									{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_1", "85", "1" ] },
									{ "a": "AiSetStartAreas", "p": [ ] },
									{ "a": "Print", "p": [ "Set Start Areas" ] },
									{ "a": "DisableAiHero", "p": [ "campaign_M10_hero_demon_1" ] },
									{ "a": "Dialog", "p": [ "M10Q1_dial3" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "2", "1" ] },
									{ "c": "Difficulty", "p": [ "1" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "10", "campaign_M10_hero_demon_1" ] },	
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "20", "campaign_M10_hero_demon_1" ] },								
									{ "a": "GiveUnitHero", "p": [ "trick_demon_upg_alt", "50", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp", "10", "campaign_M10_hero_demon_1" ] },	
									{ "a": "GiveUnitHero", "p": [ "trick_demon_upg", "50", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "20", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg", "10", "campaign_M10_hero_demon_1" ] },	

								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_1" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_1", 	"campaign_M10_hero_demon_1", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_1", "6" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_1", "6" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_1", "6" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_1", "6" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "2", "1" ] },
									{ "c": "Difficulty", "p": [ "2" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "20", "campaign_M10_hero_demon_1" ] },	
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "50", "campaign_M10_hero_demon_1" ] },								
									{ "a": "GiveUnitHero", "p": [ "trick_demon_upg_alt", "105", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp", "20", "campaign_M10_hero_demon_1" ] },	
									{ "a": "GiveUnitHero", "p": [ "trick_demon_upg", "105", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "50", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg", "20", "campaign_M10_hero_demon_1" ] },

								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_1" ] },
								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_1" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_2", 	"campaign_M10_hero_demon_1", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_1", "12" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_1", "12" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_1", "12" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_1", "12" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "2", "1" ] },
									{ "c": "Difficulty", "p": [ "3" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "30", "campaign_M10_hero_demon_1" ] },	
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "85", "campaign_M10_hero_demon_1" ] },								
									{ "a": "GiveUnitHero", "p": [ "trick_demon_upg_alt", "170", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp", "30", "campaign_M10_hero_demon_1" ] },	
									{ "a": "GiveUnitHero", "p": [ "trick_demon_upg", "170", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "85", "campaign_M10_hero_demon_1" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg", "30", "campaign_M10_hero_demon_1" ] },

								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_1" ] },
								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_1" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_3", 	"campaign_M10_hero_demon_1", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_1", "18" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_1", "18" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_1", "18" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_1", "18" ] }
								]
							}
						]
					},
					{
						"sid": "supportQuestlog1_2",
						"activeOnStart": true,

						"name":"demon_hero_2 spawn",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "2", "7" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "1313" ] },
									{ "a": "Dialog", "p": [ "M10Q1_scouts_dial1" ] },
									{ "a": "CounterSet", "p": [ "enemy_hero_announced", "2" ] }
								]
							},
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "3", "2" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "102" ] },
									{ "a": "RevealFogOfWar", "p": [ "102", "2" ] },
									{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_2", "102", "1" ] },
									{ "a": "DisableAiHero", "p": [ "campaign_M10_hero_demon_2" ] },
									{ "a": "Dialog", "p": [ "M10Q1_dial5" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "3", "2" ] },
									{ "c": "Difficulty", "p": [ "1" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg", "9", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "35", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "20", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen", "4", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg", "20", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "35", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg_alt", "9", "campaign_M10_hero_demon_2" ] },

								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_2" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_1", 	"campaign_M10_hero_demon_2", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_2", "7" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_2", "7" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_2", "7" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_2", "7" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "3", "2" ] },
									{ "c": "Difficulty", "p": [ "2" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg", "18", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "60", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "40", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen", "8", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg", "40", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "60", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg_alt", "18", "campaign_M10_hero_demon_2" ] },

								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_2" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_2", 	"campaign_M10_hero_demon_2", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_2", "13" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_2", "13" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_2", "13" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_2", "13" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "3", "2" ] },
									{ "c": "Difficulty", "p": [ "3" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg", "27", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "85", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "60", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen", "12", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg", "60", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "85", "campaign_M10_hero_demon_2" ] },
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg_alt", "27", "campaign_M10_hero_demon_2" ] },

								{ "a": "AddSkillHero", "p": [ "skill_siege", "campaign_M10_hero_demon_2" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_3", 	"campaign_M10_hero_demon_2", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_2", "19" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_2", "19" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_2", "19" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_2", "19" ] }
								]
							}
						]
					},
					{
						"sid": "supportQuestlog1_3",
						"activeOnStart": true,

						"name":"demon_hero_3 spawn",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "3", "7" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "1313" ] },
									{ "a": "Dialog", "p": [ "M10Q1_scouts_dial1" ] },
									{ "a": "CounterSet", "p": [ "enemy_hero_announced", "3" ] }
								]
							},
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "2" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "102" ] },
									{ "a": "RevealFogOfWar", "p": [ "102", "2" ] },
									{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_3", "102", "1" ] },
									{ "a": "DisableAiHero", "p": [ "campaign_M10_hero_demon_3" ] },
									{ "a": "Dialog", "p": [ "M10Q1_dial7" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "2" ] },
									{ "c": "Difficulty", "p": [ "1" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "35", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "35", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg_alt", "4", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg", "9", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg", "4", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "35", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg_alt", "6", "campaign_M10_hero_demon_3" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_1", 	"campaign_M10_hero_demon_3", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_3", "8" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_3", "8" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_3", "8" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_3", "8" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "2" ] },
									{ "c": "Difficulty", "p": [ "2" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "60", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "65", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg_alt", "8", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg", "18", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg", "8", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "65", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg_alt", "12", "campaign_M10_hero_demon_3" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_2", 	"campaign_M10_hero_demon_3", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_3", "14" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_3", "14" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_3", "14" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_3", "14" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "2" ] },
									{ "c": "Difficulty", "p": [ "3" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "105", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg_alt", "125", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg_alt", "16", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg", "30", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg", "16", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "jaw_upg", "125", "campaign_M10_hero_demon_3" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg_alt", "20", "campaign_M10_hero_demon_3" ] },
								
								{ "a": "AddBuffHeroDays", "p": [ "campaign_heroStatBuff_campaign_M10_hero_demon_3", 	"campaign_M10_hero_demon_3", "9999" ] },

								{ "a": "GiveStatsHero", "p": [ "offence", "campaign_M10_hero_demon_3", "20" ] }, { "a": "GiveStatsHero", "p": [ "defence", "campaign_M10_hero_demon_3", "20" ] }, { "a": "GiveStatsHero", "p": [ "spellPower", "campaign_M10_hero_demon_3", "20" ] }, { "a": "GiveStatsHero", "p": [ "intelligence", "campaign_M10_hero_demon_3", "20" ] }
								]
							}
						]
					},
					{
						"sid": "supportQuestlog1_4",
						"activeOnStart": true,

						"name":"demon_hero_4 spawn",

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "5" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "1313" ] },
									{ "a": "Dialog", "p": [ "M10Q1_dial10" ] }
								]
							},
							{
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] }
								],

								"actions":
								[
									{ "a": "MoveCamera", "p": [ "102" ] },
									{ "a": "RevealFogOfWar", "p": [ "102", "2" ] },
									{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_4", "102", "1" ] },
									{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_demon_claw_artifact", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_chitinous_shield_artifact", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_heartbeat_artifact", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveItemHero", "p": [ "beelzebubs_blessing_demon_crest_artifact", "campaign_M10_hero_demon_4" ] },
									{ "a": "ChangeManaHero", "p": [ "campaign_M10_hero_demon_4", "666" ] },
									{ "a": "DisableAiHero", "p": [ "campaign_M10_hero_demon_4" ] },
									{ "a": "Dialog", "p": [ "M10Q1_dial12" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "1" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg", "165", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg_alt", "95", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg", "35", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg_alt", "165", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg_alt", "35", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "185", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg", "95", "campaign_M10_hero_demon_4" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "2" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg", "315", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg_alt", "190", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg", "65", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg_alt", "315", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg_alt", "65", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "375", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg", "190", "campaign_M10_hero_demon_4" ] }
								]
							},
							{
								"conditionsLogic": "And",
								"conditions":
								[
									{ "c": "StartTurn", "p": [ "4", "7" ] },
									{ "c": "Difficulty", "p": [ "3" ] }
								],

								"actions":
								[
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg", "625", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg_alt", "375", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg", "125", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "godslayer_upg_alt", "625", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "hive_queen_upg_alt", "125", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "wasp_upg_alt", "750", "campaign_M10_hero_demon_4" ] },
									{ "a": "GiveUnitHero", "p": [ "olgoi_upg", "375", "campaign_M10_hero_demon_4" ] }
								]
							}
						]
					}
				]
			},
			{
				"sid": "supportQuestlog1b",
				"hidden": true,

				"comment": "summon dialogue the next day after demon_hero_3 is defeated",

				"activeOnStart": true,
				"sharing": "Clone",

				"subQuests":
				[
					{
						"sid": "0",
						"activeOnStart": true,

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "Counter", "p": [ "enemy_hero_killed", "=", "3" ] }
								],

								"actions":
								[
									{ "a": "NextSubQuest", "p": [ "1" ] }
								]
							}
						]
					},
					{
						"sid": "1",
						"activeOnStart": false,

						"triggers":
						[
							{
								"conditions":
								[
									{ "c": "StartTurn", "counter": 1 }
								],

								"actions":
								[
									{ "a": "Dialog", "p": [ "M10Q1_dial9_1" ] }
								]
							}
						]
					}
				]
			},

		{
			"sid": "supportQuestlog1ai",
			"hidden": true,

			"comment": "ai quest - moving enemy heroes",

			"activeOnStart": true,
			"sharing": "Ai",

			"subQuests":
			[	
				{
					"sid": "supportQuestlog1ai_1",
					"activeOnStart": true,

					"name":"demon_hero_1 movement",

					"triggers":
					[					
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "2", "1" ] }
							],

							"actions":
							[
								{ "a": "HeroToNode", "p": [ "campaign_M10_hero_demon_1", "1313" ] }
							]
						}
					]
				},
				{
					"sid": "supportQuestlog1ai_2",
					"activeOnStart": true,

					"name":"demon_hero_2 movement",

					"triggers":
					[					
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "3", "2" ] }
							],

							"actions":
							[
								{ "a": "HeroToNode", "p": [ "campaign_M10_hero_demon_2", "1313" ] }
							]
						}
					]
				},
				{
					"sid": "supportQuestlog1ai_3",
					"activeOnStart": true,

					"name":"demon_hero_3 movement",

					"triggers":
					[					
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "4", "2" ] }
							],

							"actions":
							[
								{ "a": "HeroToNode", "p": [ "campaign_M10_hero_demon_3", "1313" ] }
							]
						}
					]
				},
				{
					"sid": "supportQuestlog1ai_4",
					"activeOnStart": true,

					"name":"demon_hero_4 movement",

					"triggers":
					[
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "4", "7" ] }
							],

							"actions":
							[
								{ "a": "HeroToNode", "p": [ "campaign_M10_hero_demon_4", "1313" ] }
							]
						},
						{
							"conditions":
							[
								{ "c": "StartTurn", "p": [ "4", "8" ] }
							],

							"actions":
							[
								{ "a": "HeroToNode", "p": [ "campaign_M10_hero_demon_4", "1313" ] }
							]
						}
					]
				}
			]
		},
		{
			"sid": "QQ",
			"hidden": true,

			"activeOnStart": true,
			"sharing": "Clone",

			"subQuests":
			[	
				{
					"sid": "1",
					"activeOnStart": true,

					"comment": "spawning generic heroes after the city has been lost",

					"triggers":
					[
						{
							"conditionsLogic": "And",
							"conditions": [ { "c": "AnyStartTurn", "p": [ "2", "1", "1" ] }, { "c": "Counter", "p": [ "dk_defeated", "=", "0" ] } ],

							"actions":
							[
								{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_generic_1", "85", "1" ] },
								{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_generic_4", "102", "1" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions": [ { "c": "AnyStartTurn", "p": [ "2", "1", "2" ] }, { "c": "Counter", "p": [ "dk_defeated", "=", "0" ] } ],

							"actions":
							[
								{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_generic_2", "85", "1" ] },
								{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_generic_5", "102", "1" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions": [ { "c": "AnyStartTurn", "p": [ "2", "1", "3" ] }, { "c": "Counter", "p": [ "dk_defeated", "=", "0" ] } ],

							"actions":
							[
								{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_generic_3", "85", "1" ] },
								{ "a": "SpawnHero", "p": [ "campaign_M10_hero_demon_generic_6", "102", "1" ] }
							]
						}
					]
				}
			]
		},
		{
			"sid": "QQ2",
			"hidden": true,

			"activeOnStart": true,
			"sharing": "Clone",

			"subQuests":
			[
				{
					"sid": "1",
					"activeOnStart": true,

					"comment": "slowing generic heroes if dk was weakened during his attack",

					"triggers":
					[
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "1" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "5" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_1", "95" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_4", "95" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_1", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_4", "9999" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "1" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "15" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_1", "80" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_4", "80" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_1", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_4", "9999" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "1" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "25" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_1", "65" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_4", "65" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_1", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_4", "9999" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "2" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "5" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_2", "95" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_5", "95" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_2", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_5", "9999" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "2" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "15" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_2", "80" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_5", "80" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_2", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_5", "9999" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "2" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "25" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_2", "65" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_5", "65" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_2", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_5", "9999" ] }
							]
						},

						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "3" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "5" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_3", "95" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_6", "95" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_3", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_6", "9999" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "3" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "15" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_3", "80" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_6", "80" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_3", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_6", "9999" ] }
							]
						},
						{
							"conditionsLogic": "And",
							"conditions":
							[
								{ "c": "AnyStartTurn", "p": [ "2", "1", "3" ] },
								{ "c": "Counter", "p": [ "dk_losses", ">=", "25" ] }
							],

							"actions":
							[
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_3", "65" ] },
								{ "a": "SetHeroMovePoints", "p": [ "campaign_M10_hero_demon_generic_6", "65" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_3", "9999" ] },
								{ "a": "AddBuffHeroDays", "p": [ "campaign_moves_debuff", 	"campaign_M10_hero_demon_generic_6", "9999" ] }
							]
						}
					]
				}
			]
		}
	]
}