{
	"type": "origins:multiple",
	"cooldown": {
		"type": "origins:cooldown",
		"cooldown": 120
	},
	"active": {
		"type": "origins:modify_damage_taken",
		"bientity_condition": {
			"type": "origins:invert",
			"condition": {
				"type": "origins:can_see"
			}
		},
		"self_action": {
			"type": "origins:and",
			"actions": [
				{
					"type": "origins:trigger_cooldown",
					"power": "drpg:rogue_uncanny_dodge_cooldown"
				},
				{
					"type": "origins:play_sound",
					"sound": "attributeslib:dodge",
					"pitch": 1.2
				}
			]
		},
		"damage_condition": {
			"type": "origins:amount",
			"comparison": ">=",
			"compare_to": 1
		},
		"modifier": {
			"operation": "multiply_total_multiplicative",
			"value": -0.5
		},
		"condition": {
			"type": "origins:and",
			"conditions": [
				{
					"type": "origins:power",
					"power": "drpg:rogue_evasion",
					"inverted": true
				},
				{
					"type": "origins:resource",
					"resource": "drpg:rogue_uncanny_dodge_cooldown",
					"comparison": "==",
					"compare_to": 0
				},
				{
					"type": "origins:resource",
					"resource": "drpg:armor_restriction",
					"comparison": "==",
					"compare_to": 0
				}
			]
		}
	}
}