{
	"name": {
		"text": "Galvanic Mechamorph"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 30,
	
	"capsule_color" : 8519680,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/inv_u_upspeed.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/inv_u_upspeed_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 0.2,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 0.4,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 0.6,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 0.8,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 1.0,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 1.2,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 1.4,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 1.6,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 1.8,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 2.0,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 2.2,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 2.4,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 2.6,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 2.8,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 3.0,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 3.2,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 3.4,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 3.6,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 3.8,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/wing.png",
            "size": 4.0,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/case.png",
            "size": 4.2,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/burst.png",
            "size": 4.2,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/case.png",
            "size": 4.4,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/case.png",
            "size": 4.6,
            "glow": false,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		}
	],
	
	"abilities": {
		"normal_size12": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 1.1 lucraftcore:default"]
		},
		"speed13": {
			"ability": "lucraftcore:command_toggle",
			"show_in_bar": true,
			"title": {"text": "Enable Speed"},
			"bar_color": "red",
			"commands": ["effect @s speed 1 8 true"],
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/inv_speed.png"
					}
		},
		"burst speed14": {
			"ability": "heroesexpansion:god_mode",
			"show_in_bar": true,
			"required_ability": "speed13",
			"cooldown": 200,
			"title": {"text": "Burst Speed"},
			"bar_color": "red",
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/inv_bspeed.png"
					}
		},
		"burstspeedcom15": {
			"ability": "lucraftcore:command_held",
			"show_in_bar": false,
			"title": {"text": "Burst speedcom"},
           		 "parent_ability": "burst speed14",
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["effect @s speed 1 24 true", "effect @s jump_boost 1 1 true", "sizechange @s 0.9 pymtech:pym_particles"]
		},
		"inv_deupgrade16": {
			"ability": "lucraftcore:command",
			"show_in_bar": true,
			"title": {"text": "Deupgrade"},
			"bar_color": "light_gray",
			"commands": ["setblock ~ ~ ~ speedsterheroes:particle_accelerator_part", "superpower @s ben_ten:inv_u_upgrade"],
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/inv_upgradeit.png"
					}
		},
		"inv_detransformupsmc": {	
	        "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": "light_gray",	
			"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",
			"setblock ~ ~ ~ speedsterheroes:particle_accelerator_part"]
		},
		"inv_timerups":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"title": {"text":"Recharge"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png"},
			"commands": ["scoreboard players add @s Timer 1",
			"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[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",
			"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}]}",
			"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 ~ ~ ~",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ setblock ~ ~ ~ speedsterheroes:particle_accelerator_part",
			"execute @e[type=lucraftcore:energy_blast,tag=bullet] ~ ~ ~ particle endRod ~ ~ ~ 0.1 0.1 0.1 0 100",
			"scoreboard players set @s[score_NoArmor_min=1] NoArmor 0",
			"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
		},
		"space survivability": {
			"ability": "lucraftcore:tough_lungs",
			"show_in_bar": false,
			"title": {"text":"Space Survivability"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray"
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",				
            "show_in_bar": false,		
            "title": {"text":"Enhanced Strength"},							
			"amount": 4,
			"operation": 0,
			"uuid": "7d706001-8484-44fd-8fe3-ae93e2efe315"
		},
		"health": {
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 14,
			"operation": 0,
			"uuid": "14250ae0-bbc7-434f-9c6f-7525f4a2c31a"
		},
		"defense": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Durability"},						
			"amount": 16,
			"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"
		},	
		"step assist": {
            "ability": "lucraftcore:step_assist",
            "show_in_bar": false,
            "title": {"translate":"lucraftcore.abilities.step_assist.name"},
            "icon": { "type": "internal" },
            "bar_color": "green",
            "amount": 2.0,
            "operation": 0
		},
		"speed XP": {
            "ability": "lucraftcore:command_toggle",
            "cooldown": 0,
			"parent_ability": "speed13",
            "show_in_bar": false,
            "title": {"text":"Speed XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
		    "commands": ["/superpowerxp 1 @s"],
		    "hidden": true
		},
		"burst speed XP": {
            "ability": "lucraftcore:command_held",
            "cooldown": 0,
			"parent_ability": "burst speed14",
            "show_in_bar": false,
            "title": {"text":"Burst Speed XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
		    "commands": ["/superpowerxp 2 @s"],
		    "hidden": true
		}
	}
}
		