{
	"name": {
		"text": "Necrofriggian Selector"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 33333,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/necrofriggian_cloak.png"
		},
		{
        	"type": "skin_change",
        	"texture": "ben_ten:textures/models/transformations/necrofriggian.png",
        	"conditions": [
        		{
        			"type": "ability_enabled",
        			"ability": "heroesexpansion:precision"
        		}
        	]
        },
		{
        	"type": "skin_change",
        	"texture": "ben_ten:textures/models/transformations/necrofriggian_transparent.png",
        	"conditions": [
        		{
        			"type": "ability_enabled",
        			"ability": "speedsterheroes:phasing"
        		}
        	]
        },
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/necrofriggian_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "ability_enabled",
        			"ability": "lucraftcore:step_assist"
				}
			]
		}
	],
	
	"abilities": {
		"deselectnecro": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Deselect"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
            "bar_color": "green",				
			"commands": ["/superpower @s ben_ten:necrofriggian"]
		},
		"methanosian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Methanosian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_methanosian_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:methanosian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"sonorosian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Sonorosian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_sonorosian_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:sonorosian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"vaxasaurian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Vaxasaurian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_vaxasaurian_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:vaxasaurian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"aerophibian": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Aerophibian"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_aerophibian_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:aerophibian",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"crystalsapien": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Crystalsapien"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_crystalsapien_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s[tag=!DRev] ben_ten:crystalsapien",
			"superpower @s[tag=DRev] ben_ten:af_diamondhead",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"cerebrocrustacean": {	
	        "ability": "lucraftcore:command",		
			"required_level": 2,
            "show_in_bar": true,	
            "title": {"text":"Cerebrocrustacean"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_cerebrocrustacean_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:cerebrocrustacean",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"polymorph": {	
	        "ability": "lucraftcore:command",		
			"required_level": 6,
            "show_in_bar": true,	
            "title": {"text":"Polymorph"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_polymorph_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:polymorph",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"nanochip": {	
	        "ability": "lucraftcore:command",		
			"required_level": 8,
            "show_in_bar": true,	
            "title": {"text":"Nanochip"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/ultimatrix_nanochip_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:nanochip",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"celestialsapien": {	
	        "ability": "lucraftcore:command",		
			"required_level": 10,
            "show_in_bar": true,	
            "title": {"text":"Celestialsapien"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_celestialsapean_selection.png" },
            "bar_color": "green",				
			"commands": ["superpower @s ben_ten:celestialsapien",
			"playsound ben_ten:recalibrated_transformation master @a ~ ~ ~",
			"particle totem ~ ~1.2 ~ 0.3 0.5 0.3 0 3000",
			"scoreboard players add @s Timer 200"]
		},
		"timer_necro":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"title": {"text":"Timer"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"},
			"commands": ["sizechange @s 1 pymtech:pym_particles",
			"/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 set @s WatchOn 1",
			"execute @e[type=lucraftcore:energy_blast,tag=IceShot] ~ ~ ~ /particle snowshovel ~ ~ ~ 0.2 0.2 0.2 0 100",
"/execute @e[tag=IceShot] ~ ~ ~ /effect @e[r=3] heroesexpansion:frozen",
"/scoreboard objectives add NecroSneak stat.sneakTime",
"/scoreboard players set @s[score_NecroSneak_min=2] NecroSneak 0",
"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_bigchill_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[tag=!Wings] slot.armor.chest ben_ten:invis_wings_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
"/scoreboard objectives add Omni:NecroWings dummy",
"/execute @s ~ ~ ~ detect ~ ~-1 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-2 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-3 ~ air 0 /execute @s ~ ~ ~ detect ~ ~-4 ~ air 0 scoreboard players set @s Omni:NecroWings 2",
"/scoreboard players remove @s Omni:NecroWings 1",
"/scoreboard players tag @s[score_Omni:NecroWings=0] remove Wings",
"/effect @s minecraft:nausea 0 0",
"/effect @s[score_Omni:NecroWings_min=1] minecraft:nausea 1 0 true",
"/scoreboard players tag @s[score_Omni:NecroWings_min=1] add Wings",
			"replaceitem entity @s[tag=Wings] slot.armor.chest ben_ten:necrofriggian_wings_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.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 totem ~ ~1.2 ~ 0.3 1.0 0.3 0 6500", 
			"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
		},
		"NO INJECTIONS": {
			"ability": "lucraftcore:command_loop",	
			"show_in_bar": false,	
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "lucraftcore:injection",
              		"hand": "main_hand"}],
			"icon": { "type": "internal" },		
			"commands": ["/replaceitem entity @s slot.weapon.mainhand lucraftcore:injection"]
		},
		"radiation immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "lucraftcore:radiation",
			"title": {"text":"Radiation Immunity"},
			"icon": {"type": "internal"}
		},
		"Chitauri Virus immunity":{
			"ability": "the-fifth-world:potion_immunity",
			"show_in_bar": false,
			"potion": "heroesexpansion:chitauri_virus",
			"title": {"text":"Chitauri Virus Immunity"},
			"icon": {"type": "internal"}
		},
		"glowcom_necro": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
            "parent_ability": "intangibility_necro",
			"title": {"translate":"glowcom"},
			"commands": ["effect @s minecraft:unluck 1 0 true"]
		},
		"glowabil_necro": {
			"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"}]
		},
		"space survivability": {
			"ability": "lucraftcore:tough_lungs",
			"show_in_bar": false,
			"title": {"text":"Space Survivability"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray"
		},
		"water breathing": {
			"ability": "lucraftcore:water_breathing",
			"show_in_bar": false,
			"title": {"text":"Water Breathing"},
			"icon": { "type": "internal" }
		},
		"fire resistance": {
			"ability": "lucraftcore:fire_resistance"
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",				
          		  "show_in_bar": false,		
          		  "title": {"text":"Enhanced Strength"},						"amount": 8,
			"operation": 0,
			"uuid": "7d706001-8484-44fd-8fe3-ae93e2efe315"
		},
		"health": {
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 12,
			"operation": 0,
			"uuid": "14250ae0-bbc7-434f-9c6f-7525f4a2c31a"
		},
		"defense": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Durability"},						
			"amount": 6,
			"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"
		}
	}
}