"invoker_multi_tornadoes"
{
	"challengetype"		"170"
	"desc"		"#DOTA_ChallengeDesc_InvokerMultiTornadoes"
	"image"		"images/spellicons/invoker_tornado.png"
	"requiredhero"		"74"
	"events"
	{
		"matching_type"		"timeblock_accumulate_after_trigger"
		"query"
		{
			"trigger"
			{
				"event"		"ability"
				"caster"		"! hero"
				"ability"		"invoker_tornado"
			}
			"time_block_after_trigger"		"5"
			"accumulate_event"
			{
				"event"		"modifier_add"
				"modifier"		"modifier_invoker_tornado"
				"caster"		"! hero"
				"target_must_be_hero"		"1"
				"storage"
				{
					"1"
					{
						"aggregator"		"increment"
					}
				}
			}
		}
		"postmatch_increments"
		{
			"pre_storage_test"
			{
				"test_tornadoed_heroes_per_cast"
				{
					"storage"		"1"
					"compare"		">="
					"amount"		"<tornadoes_per_cast>"
				}
			}
			"storage"
			{
				"2"
				{
					"aggregator"		"increment"
				}
			}
		}
		"clear_storage_per_trigger_or_pre_test_pass"
		{
			"1"		"1"
			"2"		"0"
		}
		"progress_stored_in"		"2"
		"post_tests"
		{
			"test_tornadoed_heroes"
			{
				"storage"		"2"
				"compare"		">="
				"amount"		"<multi_tornadoes_count>"
			}
		}
	}
	"variables"
	{
		"<tornadoes_per_cast>"
		{
			"format"		"int"
			"index"		"0"
		}
		"<multi_tornadoes_count>"
		{
			"format"		"int"
			"index"		"1"
		}
	}
}
