{
	"name": {
		"text": "Galvanic Mechamorph"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 30,
	
	"capsule_color" : 33333,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/upgol.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/upgol_glow.png",
            "size": 0,
            "glow": true            
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/upgol_arm.png",
            "size": 1.1        
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.2,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.3,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.4,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.5,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.6,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.7,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.8,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 0.9,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.0,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.1,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.2,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.3,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.4,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 1.4,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.5,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 1.5,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.6,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 1.6,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.7,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 1.7,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.8,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 1.8,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 1.9,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 1.9,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 2.0,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 2.0,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 2.1,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 2.1,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 2.2,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 2.2,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/galt.png",
            "size": 2.3,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/jet.png",
            "size": 2.3,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/upgol_leg.png",
            "size": 0.6,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/models/transformations/upgol_leg_glow.png",
            "size": 0.6,
            "glow": true,
		  "conditions": [
				{
					"type": "ability_enabled",
					"ability": "heroesexpansion:god_mode"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/upgol_to.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "ability_enabled",
					"ability": "heroesexpansion:precision"
				}
			]
		}
	],
	
	"abilities": {
		"normal_size19": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"commands": ["sizechange @s 2.3 lucraftcore:default"]
		},
		"enhance": {
			"ability": "heroesexpansion:god_mode",
			"required_level": 30,
			"cooldown": 1200,
			"title": {"text": "Enhanced Armaments!"},
			"bar_color": "green",
			"icon": {"type": "texture","texture": "ben_ten:textures/gui/powers/enhancearmament.png"}
		},
        "enhanced timer drain": {
			"ability": "lucraftcore:command_held",
			"show_in_bar": false,
			"title": {"translate":"timer drain"},
           		 "parent_ability": "enhance",
			"commands": ["scoreboard players add @s Timer 5"]
		},
		"missile21": {
			"ability": "lucraftcore:energy_blast",
           	"cooldown": 120,
			"required_ability": "enhance",
			"damage": 19.0,
			"color": [0, 0, 0],
			"title": {"translate":"Fire Advanced Missiles"},
			"bar_color": "green",
			"icon": {"type": "texture","texture": "ben_ten:textures/gui/powers/upgol_missile2.png"}
		},
        "missilecom21": {
			"ability": "lucraftcore:command",
			"show_in_bar": false,
			"title": {"translate":"missile command"},
           	"parent_ability": "missile21",
			"commands": ["scoreboard players tag @e[type=lucraftcore:energy_blast,r=4] add rocket",
			"effect @s resistance 1 255 true",
			"superpowerxp 2 @s"]
		},
		"Full power ray": {
			"ability": "star-tech:power_blast",
			"required_ability": "enhance",
			"cooldown": 650,
			"title": {"text": "Death Ray!"},
			"bar_color": "green",
			"distance": 15.0,
			"rotate_arms": false,
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/ray.png"
					}
		},
		"gale booster": {
			"ability": "lucraftcore:flight",
			"required_ability": "enhance",
			"cooldown": 400,
			"title": {"text": "Gale Booster"},
			"bar_color": "green",
			"speed": 0.4,
			"sprint_speed": 1.3,
			"rotate_arms": false,
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/galeb.png"
					}
		},
		"selfd": {
			"ability": "the-fifth-world:explode",
			"required_ability": "enhance",
			"cooldown": 10000,
			"title": {"text": "Energy Release"},
			"bar_color": "green",
			"strength": 6.0,
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/selfdup.png"
					}
		},
        "seldcom": {
			"ability": "lucraftcore:command",
			"show_in_bar": false,
			"title": {"translate":"selfd Com"},
           		 "parent_ability": "selfd",
			"commands": ["superpower @s ben_ten:upgrade", "scoreboard players add @s Timer 5000"]
		},
		"bullet20": {
			"ability": "lucraftcore:energy_blast",
           		"cooldown": 15,
			"damage": 15.0,
			"color": [0, 0, 0],
			"title": {"translate":"Fire Bullet Shells"},
			"bar_color": "green",
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/upgol_fire.png"
					}
		},
                 "bulletcom21": {
			"ability": "lucraftcore:command",
			"show_in_bar": false,
			"title": {"translate":"bullet command"},
           		 "parent_ability": "bullet20",
			"commands": ["scoreboard players tag @e[type=lucraftcore:energy_blast,r=4] add bullet"]
		},
      		  "Mecha punch22":{
           		 "ability": "lucraftcore:set_punch",
           		 "cooldown": 50,
           		 "title": {"text":"Mecha punch"},
           		 "arm": 0,
				 "bar_color": "green",
           		 "reach_distance": 5.0,
            		"damage": 15.0	
		},
      		  "missle pods23":{
           		 "ability": "star-tech:power_rocket_burst",
           		 "cooldown": 500,
				 "bar_color": "green",
           		 "title": {"text":"Deploy missiles"},
           		 "arm": 0,
            		"damage": 20.0,
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/upgol_missile.png"
					}
		},
		"deupgrade24": {
			"ability": "lucraftcore:command",
			"title": {"text": "Deupgrade"},
			"commands": ["summon villager_golem", "superpower @s ben_ten:upgrade"],
			"icon": {"type": "texture","texture": "ben_ten:textures/gui/powers/upgradeit.png"}
		},
		"detransformupg": {	
	        "ability": "lucraftcore:command",		
			"required_level": 27,
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix_white.png" },			
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "MasterControl"}],
			"commands": ["/superpower @s ben_ten:prototype_omnitrix",
			"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",
			"playsound ben_ten:prototype_transformation player @a ~ ~ ~",
			"particle reddust ~ ~1 ~ 0.3 0.3 0.3 0 3000",
			"summon villager_golem"]
		},
		"detransformupgmc": {	
	        "ability": "lucraftcore:command",	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix_white.png" },
			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "MasterControl"}]}],			
			"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_ten:prototype_omnitrix",
			"playsound ben_ten:prototype_transformation player @a ~ ~ ~",
			"particle reddust ~ ~1 ~ 0.3 0.5 0.3 0 3000",
			"summon villager_golem"]
		},
		"timerupg":{
			"ability": "lucraftcore:command_loop",
			"title": {"text":"Timer"},			
			"icon": {"type": "texture",
				"texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix_red.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: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: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: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: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",
			"scoreboard objectives add dhw dummy",
			"replaceitem entity @s[tag=MasterControl] slot.armor.head ben_ten:invis_suit_helmet 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.chest ben_ten:invis_suit_chest 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.legs ben_ten:invis_suit_legs 1 0 {ench:[{id:10,lvl:1},{id:71,lvl:1}]}",
			"replaceitem entity @s[tag=MasterControl] slot.armor.feet ben_ten: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_ten:prototype_omnitrix_timeout", 
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ particle reddust ~ ~1 ~ 0.3 0.3 0.3 0 3000",
			"execute @s[score_Timer=11940,score_Timer_min=11940,tag=!MasterControl] ~ ~ ~ /playsound ben_ten:prototype_timeout-detransform master @a ~ ~ ~",
			"effect @s slowness 1 2 true",
			"execute @s[score_Timer_min=12000,tag=!MasterControl] ~ ~ ~ summon villager_golem",
			"execute @e[type=lucraftcore:energy_blast,tag=bullet] ~ ~ ~ particle endRod ~ ~ ~ 0.1 0.1 0.1 0 100",
			"execute @e[tag=rocket] ~ ~ ~ summon creeper ~ ~.9 ~ {Fuse:1s,ignited:10b,ExplosionRadius:2}",
			"scoreboard players set @s[score_NoArmor_min=1] NoArmor 0",
			"effect @s[tag=MasterControl] luck 1 0 true",
			"effect @s[score_Timer=11940,score_Timer_min=11940,tag=!MasterControl] heroesexpansion:kryptonite_poison 1 0 true",
			"effect @s[score_Timer=11965,score_Timer_min=11965,tag=!MasterControl] heroesexpansion:kryptonite_poison 1 0 true",
			"effect @s[score_Timer=12000,score_Timer_min=11990,tag=!MasterControl] heroesexpansion:kryptonite_poison 1 0 true",
			"superpower @s[score_DoD=1,score_DoD_min=1,tag=MasterControl] ben_10_addon:prototype_omnitrix",
			"superpower @s[score_DoD=1,score_DoD_min=1,tag=!MasterControl] ben_ten:prototype_omnitrix_timeout",
			"scoreboard players set @s[score_DoD_min=1] DoD 0"], 
			"hidden": true
		},
		"timeoutwarning": {
			"ability": "heroesexpansion:precision",
			"conditions": [{"type": "lucraftcore:not",
				"conditions": [{"type": "lucraftcore:potion_weakness",
						"potion": "heroesexpansion:kryptonite_poison"}]}]
		},
		"space survivability": {
			"ability": "lucraftcore:tough_lungs"
		},
		"water breathing": {
			"ability": "lucraftcore:water_breathing"
		},
		"fire resistance": {
			"ability": "lucraftcore:fire_resistance"
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",							
			"amount": 8
		},
		"health": {
			"ability": "lucraftcore:health",			
			"amount": 20
		},
		"defense": {
			"ability": "lucraftcore:resistance",				
			"amount": 30
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"amount": 200
		}
	}
}
		