;; _

;; fix bosshp scaling

modify:
{
	match:
	{
		"targetname" "boss_trigger"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "healthbar_switch,SetTextureIndex,,10,1"
	}
	insert:
	{
		"OnPressed" "healthbar_switch,SetTextureIndex,0,10,1"
	}
}
modify:
{
	match:
	{
		"targetname" "player_zone"
		"classname" "trigger_multiple"
	}
	replace:
	{
		"wait" "-1"
		"OnStartTouch" "hp_default,Add,130,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "hp_default"
		"classname" "math_counter"
	}
	delete:
	{
		"OutValue" "hp_per,SetValue,0.01,0,-1"
	}
	insert:
	{
		"OutValue" "hp_per,SetValue,,0.01,-1"
	}
}

;; crush doorhugers

modify:
{
	match:
	{
		"targetname" "b3door2"
		"classname" "func_door_rotating"
	}
	replace:
	{
		"dmg" "10"
	}
}


