;--------------------------------------
; Increases HP of the bycicle boss
;--------------------------------------
modify:
{
	match:
	{
        "targetname" "lancerbike_addhp"
        "origin" "12576 -3680 -912"
        "classname" "trigger_once"
	}
	delete:
	{
        "OnStartTouch" "lancerbike_math,Add,80,0.02,-1"
	}
	insert:
	{
        "OnStartTouch" "lancerbike_math,Add,160,0.02,-1"
	}
}

;--------------------------------------------------------------
; Filters all triggers that give hp to bosses from humans
;--------------------------------------------------------------
modify:
{
	match:
	{
        "targetname" "field_addhp4npc_trigger"
        "origin" "-2848 10816 384"
        "classname" "trigger_once"
	}
	insert:
	{
        "filtername" "hum"
	}
}

;----------------------------------------
; Replaces a func_brush to a breakable
;----------------------------------------
filter:
{
    "targetname" "smlchecker_wall"
    "classname" "func_brush"
}
add:
{
    "model" "*40"
    "targetname" "smlchecker_wall"
    "spawnobject" "0"
    "spawnflags" "1"
    "rendermode" "0"
    "renderfx" "0"
    "rendercolor" "255 255 255"
    "renderamt" "255"
    "propdata" "0"
    "pressuredelay" "0"
    "physdamagescale" "1.0"
    "PerformanceMode" "1"
    "origin" "2272 9760 88"
    "nodamageforces" "0"
    "minhealthdmg" "0"
    "material" "10"
    "health" "0"
    "gibdir" "0 0 0"
    "explosion" "0"
    "ExplodeRadius" "0"
    "explodemagnitude" "0"
    "ExplodeDamage" "0"
    "disableshadows" "0"
    "disablereceiveshadows" "0"
    "classname" "func_breakable"
}



;; _

;; fix afk teleport

modify:
{
	match:
	{
		"targetname" "lancerfight_teleportzmcage"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"origin" "12160 -6017 -752"
	}
}
modify:
{
	match:
	{
		"targetname" "darkcastle_to_field_afktele"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"origin" "13632 -5408 -748"
	}
}


