{
	"name": {
		"text": "Splixson"
	},
	
	"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/splixson.png"
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/splixson_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/splixson_to.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "ability_enabled",
					"ability": "heroesexpansion:precision"
				}
			]
		}
	],
	
	"abilities": {
		"normal_sizesplixson,": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 0.7 pymtech:pym_particles"]
		},
		"clone": {
			"ability": "speedsterheroes:time_remnant",
           		"cooldown": 200,
			"title": {"translate":"Create clone"},
			"bar_color": "black",
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/splixson_clone.png"
					}
		},
		"remove clones": {
			"ability": "lucraftcore:command",
           		"show_in_bar": true,
			"commands": ["/execute @e[r=2,tag=alive] ~ ~ ~ scoreboard players remove @a[r=2,score_splixsonclone_min=1] splixsonclone 1", "/execute @e[r=2,tag=alive] ~ ~ ~ scoreboard players remove @a[r=2,score_clones_min=1] clones 1", "/entitydata @e[r=2,tag=alive] {OwnerUUID:\"7e2b5ebc-3aa1-4278-3ca9-110085\"}"],
			"title": {"translate":"Absorb clones"},
			"icon": {
						"type": "texture",
						"texture": "ben_ten:textures/gui/powers/remove_clone.png"
					},
			"bar_color": "black"
		},
		"clone com": {
			"ability": "lucraftcore:command",
           		"show_in_bar": false,
			"parent_ability": "clone",
			"commands": [
"/scoreboard players add @s clones 1",
"/execute @s[score_clones_min=5] ~ ~ ~ entitydata @e[type=speedsterheroes:time_remnant,tag=alive] {OwnerUUID:\"7e2b5ebc-3aa1-4278-3ca9-110085\"}",

"/execute @s[score_clones_min=5] ~ ~ ~ /entitydata @e[r=2,tag=alive] {OwnerUUID:\"7e2b5ebc-3aa1-4278-3ca9-110085\"}",
			"/scoreboard players set @s[score_clones_min=5] splixsonclone 0", "/scoreboard players set @s[score_clones_min=5] clones 1",
			"/execute @e[type=speedsterheroes:dimension_breach] ~ ~ ~ scoreboard players tag @s add clone",
			"/tp @e[type=speedsterheroes:dimension_breach,tag=clone] ~ ~100 ~",
			"scoreboard players add @s splixsonclone 1",
			"superpowerxp 3 @s"],
			"title": {"translate":"clone com"},
			"bar_color": "green"
		},
		"detransformsplix": {	
	        "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": ["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", "/entitydata @e[r=2,tag=alive] {OwnerUUID:\"7e2b5ebc-3aa1-4278-3ca9-110085\"}",
			"/superpower @s[score_splixsonclone=0,score_splixsonclone_min=0] ben_10_addon:prototype_omnitrix",
			"playsound ben_ten:prototype_transformation player @s[score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~",
			"/execute @s[score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~ particle reddust ~ ~1 ~ 0.3 0.5 0.3 0 3000"]
		},
		"selectorsplixmc": {	
	        "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:splixson_selector"]
		},
		"detransformsplixmc": {	
	        "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[score_splixsonclone=0,score_splixsonclone_min=0] ben_10_addon:prototype_omnitrix",
			"playsound ben_ten:prototype_transformation player @s[score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~",
			"/execute @s[score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~ particle reddust ~ ~1 ~ 0.3 0.5 0.3 0 3000"]
		},
		"timersplix":{
			"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[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}]}",
			"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,score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~ /superpower @s ben_ten:prototype_omnitrix_timeout", 
			"execute @s[score_Timer_min=12000,tag=!MasterControl,score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~ /particle reddust ~ ~1 ~ 0.3 0.5 0.3 0 3000", 
			"execute @s[score_Timer=11940,score_Timer_min=11940,tag=!MasterControl,score_splixsonclone=0,score_splixsonclone_min=0] ~ ~ ~ /playsound ben_ten:prototype_timeout-detransform master @a ~ ~ ~",
			"execute @s[score_Timer=11940,score_Timer_min=11940,tag=!MasterControl] ~ ~ ~ effect @e[tag=alive] minecraft:glowing 10 255 true",
			"execute @s[score_Timer=11940,score_Timer_min=11940,tag=!MasterControl,score_splixsonclone_min=1] ~ ~ ~ /playsound ben_ten:prototype_ditto-detransform master @a ~ ~ ~",
			"execute @e[tag=eyelaser] ~ ~ ~ particle reddust ~0.2 ~ ~ 0.1 1 0 1 0",
			"execute @e[tag=eyelaser] ~ ~ ~ particle reddust ~-0.2 ~ ~ 0.1 1 0 1 0",
			"execute @e[tag=eyelaser] ~ ~ ~ particle reddust ~ ~ ~0.2 0.1 1 0 1 0",
			"execute @e[tag=eyelaser] ~ ~ ~ particle reddust ~ ~ ~-0.2 0.1 1 0 1 0",
			"execute @e[tag=eyelaser] ~ ~0.2 ~ particle reddust ~ ~ ~ 0.1 1 0 1 0",
			"execute @e[tag=eyelaser] ~ ~ ~ particle reddust ~ ~-0.2 ~ 0.1 1 0 1 0",
			"execute @e[type=fireball,tag=atomixball] ~ ~1 ~ particle totem ~ ~ ~ 0.8 0.8 0.8 0 250",
			"superpower @e[tag=alive] ben_ten:splixson_clone_power",
			"/execute @e[type=speedsterheroes:dimension_breach,tag=clone] ~ ~ ~ scoreboard players tag @e[type=speedsterheroes:time_remnant] add splixsonclone",
			"/effect @e[tag=alive] minecraft:regeneration 1000000 255 true",
			"/effect @e[tag=alive] minecraft:invisibility 1000000 255 true",
			"/sizechange @e[tag=alive] 0.7 pymtech:pym_particles",
			"scoreboard players tag @e[tag=alive] remove splixsonclone",
			"/execute @e[type=speedsterheroes:time_remnant] ~ ~ ~ kill @e[type=speedsterheroes:dimension_breach,r=4]",
			"/scoreboard objectives add clones dummy",
			"/execute @e[type=speedsterheroes:time_wraith] ~ ~ ~ tp @e[type=speedsterheroes:dimension_breach] ~ ~200 ~",
			"/kill @e[type=speedsterheroes:time_wraith]",
			"/kill @e[type=speedsterheroes:black_flash]",
			"tp @e[type=speedsterheroes:time_remnant,tag=splixsonclone] @s",
			"effect @e[tag=splixsonclone] slowness 100000 2 true",
			"replaceitem entity @e[tag=splixsonclone] slot.armor.chest ben_ten:splixson_clone_chest",
			"scoreboard players tag @e[tag=splixsonclone,r=1] add alive",
			"scoreboard players tag @e[tag=splixsonclone] remove splixsonclone",
			"/scoreboard objectives add splixsonclone dummy",
			"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_min=11990,tag=!MasterControl] heroesexpansion:kryptonite_poison 1 0 true",
			"/execute @s[score_DoD_min=1] ~ ~ ~ entitydata @e[tag=alive] {OwnerUUID:\"7e2b5ebc-3aa1-4278-3ca9-110085\"}",
			"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] splixsonclone 0 ",
			"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" }
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"show_in_bar": false,
			"title": {"text":"Fall Resistance"},
			"amount": 10,
			"operation": 0,
			"uuid": "d22e1d91-2a5c-488f-a9ec-df4a577987e8"
		}
	}
}
		