{
	"type": "origins:multiple",
	"stealth": {
		"type": "origins:invisibility",
		"render_armor": true,
		"render_outline": true,
		"bientity_condition": {
			"type": "origins:and",
			"inverted": true,
			"conditions": [
				{
					"type": "origins:can_see"
				},
				{
					"type": "origins:attack_target"
				}
			]
		},
		"condition": {
			"type": "origins:and",
			"conditions": [
				{
					"type": "origins:sneaking"
				},
				{
					"type": "origins:resource",
					"resource": "drpg:armor_restriction",
					"comparison": "==",
					"compare_to": 0
				}
			]
		}
	},
	"stealth_locked": {
		"type": "origins:resource",
		"min": 0,
		"max": 7,
		"start_value": 7,
		"hud_render": {
			"sprite_location": "origins:textures/gui/community/spiderkolo/resource_bar_01.png",
			"bar_index": 23,
			"order": 0,
			"condition": {
				"type": "origins:resource",
				"resource": "drpg:armor_restriction",
				"comparison": ">",
				"compare_to": 0
			}
		}
	},
	"break_aggro": {
		"type": "origins:active_self",
		"cooldown": 5,
		"key": {
			"key": "key.sneak",
			"continuous": true
		},
		"entity_action": {
			"type": "origins:area_of_effect",
			"bientity_condition": {
				"type": "origins:and",
				"conditions": [
					{
						"type": "origins:invert",
						"condition": {
							"type": "origins:attack_target"
						}
					},
					{
						"type": "origins:can_see",
						"inverted": true
					}
				]
			},
			"bientity_action": {
				"type": "origins:target_action",
				"action": {
					"type": "origins:apply_effect",
					"effect": {
						"effect": "cataclysm:stun",
						"duration": 5,
						"amplifier": 0,
						"show_particles": false
					}
				}
			}
		},
		"condition": {
			"type": "origins:resource",
			"resource": "drpg:armor_restriction",
			"comparison": "==",
			"compare_to": 0
		}
	}
}