{
	"name": {
		"text": "Ectonurite"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 8519680,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/inv_u_ectonurite.png"
		},
		{
        	"type": "skin_change",
        	"texture": "ben_ten:textures/models/transformations/inv_u_ectonurite_transparent.png",
        	"conditions": [
        		{
        			"type": "ability_enabled",
        			"ability": "speedsterheroes:phasing"
        		}
        	]
        },
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/inv_u_ectonurite_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "ability_enabled",
        			"ability": "lucraftcore:step_assist"
				}
			]
		}
	],
	
	"abilities":{
	"normal_sizeect": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 1 pymtech:pym_particles"]
		},
		"flight": {
			"ability": "lucraftcore:flight",
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/inv_u_ectonurite_flight.png" },
			"cooldown": 0,
			"show_in_bar": true,
			"title": {"text":"Flight"},			
			"speed": 0.5,
			"sprint_speed": 1.0,
			"rotate_arms": false
		},
		"intangibility": {
			"ability": "heroesexpansion:god_mode",
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/inv_u_ectonurite_intangibility.png" },
			"title": {"translate":"Intangibility"},
			"damage": 0.0,
			"cooldown": 0
		},
		"intangibility": {
			"ability": "speedsterheroes:phasing",
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/ectonurite_intangibility.png" },
			"title": {"translate":"Phasing"},
			"damage": 0.0,
			"cooldown": 0
		},
		"intangibility field_com": {
			"ability": "heroesexpansion:force_field",
			"show_in_bar": false,
			"color": [0, 0, 0],
            "parent_ability": "intangibility",
			"title": {"translate":"intangibility field_com"}
		},
		"glowcom": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
            "parent_ability": "intangibility",
			"title": {"translate":"glowcom"},
			"commands": ["effect @s minecraft:unluck 1 0 true"]
		},
		"invisibility": {
			"ability": "lucraftcore:invisibility",
			"cooldown": 0,
			"show_in_bar": true,
			"title": {"text":"Invisibility"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/inv_u_ectonurite_invisibility.png" }
		},
		"invis_com_inv": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"parent_ability": "invisibility",
			"title": {"translate":"Invis Com"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/inv_u_ectonurite_invisibility.png" },
			"commands": ["effect @s minecraft:invisibility 1 0 true"]
		},
		"inv_selectorect_u": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Selector"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png" },
            "bar_color": "red",	
			"commands": ["/superpower @s ben_ten:inv_u_ectonurite_selector"],
			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]
		},
		"inv_detransformect_u": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
            "bar_color": "green",				
			"commands": ["replaceitem entity @s slot.armor.head air",
			"replaceitem entity @s slot.armor.chest air",
			"replaceitem entity @s slot.armor.legs air",
			"replaceitem entity @s slot.armor.feet air",
			"scoreboard players set @s NoArmor 0",
			"/superpower @s ben_10_addon_af:recal_omnitrix",
			"playsound ben_ten:recalibrated_detransform player @a ~ ~ ~",
			"particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152"  ],
			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]}]
		},
		"inv_timerect_u":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"title": {"text":"Timer"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"},
			"commands": ["/scoreboard objectives add Omni:Sneak stat.sneakTime",
			"/scoreboard players tag @s[score_Omni:Sneak_min=1] add Sneaking",
			"/scoreboard players tag @s[score_Omni:Sneak=0] remove Sneaking",
			"/scoreboard players set @s[score_Omni:Sneak_min=1] Omni:Sneak 0",
			"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_ghostfreak_chest",
			"clear @s ben_10_addon_af:dial_ghostfreak_iv_chest",
			"scoreboard players add @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] NoArmor 1",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_Timer=11998,score_Timer_min=0] slot.armor.feet ben_ten:u_invis_suit_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.head ben_ten:u_invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.chest ben_ten:u_invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.legs ben_ten:u_invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.feet ben_ten:u_invis_suit_boots 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.head air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.chest air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.legs air",
			"replaceitem entity @s[score_NoArmor=1,score_NoArmor_min=1] slot.armor.feet air",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /superpower @s ben_10_addon_af:recal_omnitrix_timedout", 
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ particle fallingdust ~ ~1.2 ~ 0.3 0.4 0.3 0 3000 force @a 0152", 
			"execute @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ /playsound ben_ten:recalibrated_detransform master @a ~ ~ ~",
			"superpower @s[score_DoD=1,score_DoD_min=1] ben_10_addon_af:recal_omnitrix",
			"scoreboard players set @s[score_DoD_min=1] DoD 0"], 
			"hidden": true
		},
		"glowabil": {
			"ability": "lucraftcore:step_assist",
			"show_in_bar": false,
			"title": {"translate":"glowabil"},
			"icon": { "type": "internal" },
			"amount": 0,
			"operation": 0,
			"conditions": [{"type": "lucraftcore:potion_weakness",
				"potion": "unluck"}]
		},
		"night vision": {
			"ability": "lucraftcore:command_loop",
            "show_in_bar": false,				
			"title": {"text":"Night vision"},
			"commands": [
			"/effect @s minecraft:night_vision 1 0 true"],
			"icon": { "type": "internal" }
		},
		"space survivability": {
			"ability": "lucraftcore:tough_lungs",
			"show_in_bar": false,
			"title": {"text":"Space Survivability"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray"
		},
		"corrodium immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "lucraftcore:radiation",
			"title": {"text":"Corrodium Immunity"},
			"icon": {"type": "internal"}
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",				
            "show_in_bar": false,		
            "title": {"text":"Enhanced Strength"},							
			"amount": 8,
			"operation": 0,
			"uuid": "7d706001-8484-44fd-8fe3-ae93e2efe315"
		},
		"defense": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Durability"},						
			"amount": 12,
			"operation": 0,
			"uuid": "8e327f4a-2a25-457f-82b9-03b5b6f17118"
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"show_in_bar": false,
			"title": {"text":"Fall Resistance"},
			"amount": 200,
			"operation": 0,
			"uuid": "d22e1d91-2a5c-488f-a9ec-df4a577987e8"
		},
		"phasing XP": {
            "ability": "lucraftcore:command_held",
            "cooldown": 0,
			"parent_ability": "intangibility",
            "show_in_bar": false,
            "title": {"text":"Intangibility XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
            "conditions": [{
			    "type": "ability_enabled",
				"ability": "speedsterheroes:phasing"}],
		    "commands": [
"/scoreboard objectives add NecroSneak stat.sneakTime",
"/scoreboard players tag @s add NoFreeze",
"/superpowerxp 1 @s", 
"/execute @s ~ ~ ~ detect ~ ~-1 ~ bedrock 0 /scoreboard players set @s NecroSneak 0",
"/tp @s[score_NecroSneak_min=1] ~ ~-0.2 ~",
"/scoreboard players set @s[score_NecroSneak_min=1] NecroSneak 0"],
		    "hidden": true
		},
		"invisibility XP": {
            "ability": "lucraftcore:command_held",
            "cooldown": 0,
			"parent_ability": "invisibility",
            "show_in_bar": false,
            "title": {"text":"Invisibility XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
            "conditions": [{
			    "type": "ability_enabled",
				"ability": "lucraftcore:invisibility"}],
		    "commands": ["/superpowerxp 1 @s"],
		    "hidden": true

			}
		}
	}