; Fix door glitch
modify:
{
	match:
	{
		"classname"		"func_door"
		"targetname"	"door4"
	}
	replace:
	{
		"dmg"	"100"
	}
}
; Push to boss fix speed for pervent some trims 
modify:
{
	match:
	{
		"classname"		"trigger_push"
		"hammerid"		"35516"
	}
	replace:
	{
		"speed"		"900"
	}
}
; Fix hp for mid boss, before for me it was a lot, that make fights boring and faster rtv this map
modify:
{
	match:
	{
		"classname"		"trigger_multiple"
		"targetname"    "multiple2"
	}
	delete:
	{
		"OnStartTouch" "Boss_Health,Add,250,0,-1"
	}
	insert:
	{
		"OnStartTouch" "Boss_Health,Add,150,0,-1"
	}
}
; Mid boss fix hp and cut time for some seconds after killing boss
modify:
{
	match:
	{
		"classname"		"func_breakable"
		"targetname"	"Boss"
	}
	replace:
	{
		"health" "5000"
	}
	delete:
	{
		"OnBreak" "breakable5,Break,,18,1"
		"OnBreak" "teleport10,Enable,,17,1"
		"OnBreak" "zm_tp,Break,,18,1"
	}
	insert:
	{
		"OnBreak" "breakable5,Break,,12,1"
		"OnBreak" "teleport10,Enable,,10,1"
		"OnBreak" "zm_tp,Break,,12,1"
	}
}
; About this explosion edit, it hurt boss only for help team kill him faster
modify:
{
	match:
	{
		"classname"		"env_explosion"
		"targetname"	"exp_2_e"
	}
	replace:
	{
		"iMagnitude" 	"25"
	}
}
; Let humans prepare 5 seconds before last hold
modify:
{
	match:
	{
		"classname"		"func_physbox"
		"targetname"	"Boss_Hitbox"
	}
	delete:
	{
		"OnBreak" "finalzmbreak,Break,,1,-1"
	}
	insert:
	{
		"OnBreak" "finalzmbreak,Break,,5,-1"
	}
	replace:
	{
		"health" "1500"
	}
}
; Make laser boss lower hp, for let players kill faster or not delay much time
modify:
{
	match:
	{
		"classname"		"trigger_hurt"
		"targetname"	"Boss_HP_Add"
	}
	delete:
	{
		"OnStartTouch" "Boss_Counter,Add,100,0,-1"
	}
	insert:
	{
		"OnStartTouch" "Boss_Counter,Add,45,0,-1"
	}
}
; Fix glitch that you can avoid laser attack in front of face boss
add:
{
"model" "*40"
"targetname" "Fixglitch"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "-11808 8128 -3168"
"nodmgforce" "0"
"damagetype" "0"
"damagemodel" "0"
"damagecap" "10000"
"damage" "10000"
"classname" "trigger_hurt"
}
modify:
{
    match:
	{
	    "classname" "func_physbox"
		"targetname" "Boss_Hitbox"
	}
	insert:
	{
	    "OnBreak" "Fixglitch,Kill,,0,-1"
	}
}
; Removing useless triggers
filter:
{
	"hammerid" "44772"
	"classname" "trigger_multiple"
	"origin" "2621.74 -7858.3 -3487.5"
	"targetname" "multiple1"
}
filter:
{
	"hammerid" "4965"
	"classname" "path_track"
	"targetname" "path1"
}
; removing mess spawn points
filter:
{
	"classname" "info_player_counterterrorist"
}
filter:
{
	"classname" "info_player_terrorist"
}
; Not necessary, but my edits
modify:
{
	match:
	{
		"targetname" "sprite2"
	}
	replace:
	{
		"rendercolor" "0 0 255"
	}
}
modify:
{
	match:
	{
		"targetname" "sprite1"
	}
	replace:
	{
		"rendercolor" "255 255 0"
		"startwidth" "8.0"
	}
}
modify:
{
	match:
	{
		"targetname"	"text1"
	}
	insert:
	{
		"OnTrigger" "cmd,Command,say ***STRIPPER FIXES BY KILLIK***,4,-1"
		"OnTrigger" "cmd,Command,say ***SEE BUG? PING KILLIK IN DISCORD!***,5,-1"
	}
}
; Added new spawn points, before it was mess
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 -320 65"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 -320 64"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 -320 64"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 -320 64"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 -256 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 -256 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 -256 64"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 -256 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 -128 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 -128 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 -128 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 -128 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 -192 64"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 -192 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 -192 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 -192 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 128 61"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 128 61"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 128 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 128 61"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 64 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 64 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 64 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 64 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 -64 64"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 -64 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 -64 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 -64 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "320 0 63"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "384 0 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "448 0 62"
}
add:
{
	"classname" "info_player_terrorist"
	"angles" "0 0 0"
	"origin" "512 0 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 384 61"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 384 61"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 384 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 384 61"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 320 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 320 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 320 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 320 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 192 64"
}
add:
{
    "classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 192 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 192 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 192 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 256 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 256 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 256 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 256 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 448 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 640 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 640 61"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 640 61"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 640 61"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 576 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 576 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 576 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 576 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 512 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 512 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 512 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "512 512 62"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "448 448 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "384 448 63"
}
add:
{
	"classname" "info_player_counterterrorist"
	"angles" "0 0 0"
	"origin" "320 448 64"
}

; Change platform speed to faster
modify:
{
	match:
	{
		"targetname"	"train"
		"classname"		"func_tanktrain"
	}
	replace:
	{
		"startspeed" 	"600"
	}
}
