{
	"name": {
		"text": "Tetramand"
	},
	
	"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/tetramand.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/tetramand_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/tetramand_to.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "ability_enabled",
					"ability": "heroesexpansion:precision"
				}
			]
		}
	],
	
	"abilities": {
		"normal_sizetet": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Size Change"},
			"icon": { "type": "internal" },
			"commands": ["sizechange @s 1.3 lucraftcore:default"]
		},
		"single strike": {
			"ability": "lucraftcore:set_punch",
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/tetramand_punch.png" },
			"cooldown": 150,
			"damage": 35,
            "reach_distance": 3.5,
            "arm": 0,			
            "show_in_bar": true,
            "title": {"text":"Single Strike"},
            "bar_color": "red"
		},
		"double strike": {
			"ability": "lucraftcore:set_punch",
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/tetramand_punch2.png" },
			"cooldown": 300,
			"damage": 40,
            "reach_distance": 3.5,
            "arm": 2,			
            "show_in_bar": true,
            "title": {"text":"Double Strike"},
            "bar_color": "red"
		},
		"sonic clap": {
			"ability": "the-fifth-world:screech",
			"cooldown": 2,
            "show_in_bar": true,
            "bar_color": "red",			
            "title": {"text":"Sonic Clap"},		
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/sonic_clap.png" },
            "damage": 0.0
		},
		"surface climbing": {
            "ability": "heroesexpansion:wall_crawling",
            "cooldown": 0,
            "show_in_bar": true,
			"title": {"text":"Surface Climbing"},
            "icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/tetramand_climbing.png" },
            "bar_color": "red"
		},
		"detransformtet": {	
	        "ability": "lucraftcore:command",		
			"required_level": 27,
            "show_in_bar": true,	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix_white.png" },
            "bar_color": "light_gray",
 			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "MasterControl"}]}],	
			"commands": ["/superpower @s ben_ten:prototype_omnitrix",
			"playsound ben_ten:prototype_transformation player @a ~ ~ ~",
			"/particle reddust ~ ~1 ~ 0.3 0.5 0.3 0 3000",
			"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"]
		},
		"selectortetmc": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Selector"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix.png" },
            "bar_color": "green",	
			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "MasterControl"}],			
			"commands": ["/superpower @s ben_ten:tetramand_selector"]
		},
		"detransformtetmc": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/prototype_omnitrix_white.png" },
            "bar_color": "light_gray",	
			"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"]
		},
		"timertet":{
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"cooldown": 0,
			"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",
			"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.5 0.3 0 3000", 
			"execute @s[score_Timer=11940,score_Timer_min=11940,tag=!MasterControl] ~ ~ ~ /playsound ben_ten:prototype_timeout-detransform master @a ~ ~ ~",
			"scoreboard players set @s[score_NoArmor_min=1] NoArmor 0",
			"effect @s[tag=MasterControl] minecraft: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",
			"cooldown": 0,
			"conditions": [{"type": "lucraftcore:not",
				"conditions": [{"type": "lucraftcore:potion_weakness",
						"potion": "heroesexpansion:kryptonite_poison"}]}],	
			"show_in_bar": false,
			"title": {"translate":"Color Warning"},
			"icon": { "type": "internal" }
		},
		"fire resistance": {
			"ability": "lucraftcore:fire_resistance"
		},
		"enhanced jumping": {
			"ability": "lucraftcore:jump_boost",
			"show_in_bar": false,
			"title": {"text":"Enhanced Jumping"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"amount": 3.5,
			"operation": 0,
			"uuid": "b0d3d241-371f-402d-b1c2-ca154d7c4e7f"
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",				
            "show_in_bar": false,		
            "title": {"text":"Enhanced Strength"},							
			"amount": 30,
			"operation": 0,
			"uuid": "7d706001-8484-44fd-8fe3-ae93e2efe315"
		},
		"health": {
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 32,
			"operation": 0,
			"uuid": "14250ae0-bbc7-434f-9c6f-7525f4a2c31a"
		},
		"defense": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Durability"},						
			"amount": 28,
			"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"
		},
		"single strike xp": {
            "ability": "lucraftcore:command",
            "cooldown": 0,
			"parent_ability": "single strike",
            "show_in_bar": false,
            "title": {"text":"Single Strike XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
		    "commands": ["/superpowerxp 5 @s"],
		    "hidden": true
		},
		"double strike xp": {
            "ability": "lucraftcore:command",
            "cooldown": 0,
			"parent_ability": "double strike",
            "show_in_bar": false,
            "title": {"text":"Double Strike XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
		    "commands": ["/superpowerxp 10 @s"],
		    "hidden": true
		},
		"sonic clap XP": {
            "ability": "lucraftcore:command_held",
            "cooldown": 0,
			"parent_ability": "sonic clap",
            "show_in_bar": false,
            "title": {"text":"Sonic Clap XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
		    "commands": ["/superpowerxp 1 @s", "playsound ben_ten:tetramand_clap master @a[r=10] ~ ~ ~"],
		    "hidden": true
		},
		"surface climbing XP": {
            "ability": "lucraftcore:command_toggle",
            "cooldown": 0,
			"parent_ability": "surface climbing",
            "show_in_bar": false,
            "title": {"text":"Surface Climbing XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
		    "commands": ["/superpowerxp 1 @s"],
		    "hidden": true			
		}
	}
}