{
	"name": {
		"text": "Citrakayah"
	},

	"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/citrakayah.png"
        },
		{
        	"type": "trail",
        	"trail_type": "normal",
        	"color": [0.15,0.30,0.73],
        	"use_suit_trail": false,
        	"conditions": [
        		{
        			"type": "ability_enabled",
        			"ability": "lucraftcore:step_assist"
        		}
        	]
        },
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/citrakayah_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
            	}
            ]
        }
    ],
	"abilities": {
		"normal_size_cit": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["sizechange @s 1 pymtech:pym_particles"]
		},
		"accelerate": {
			"ability": "lucraftcore:command_held",
			"cooldown": 0,
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/speed_up.png" },
			"show_in_bar": true,
			"title": {"text":"Accelerate"},
			"bar_color": "light_blue",
			"commands": ["/scoreboard players add @s Omni:Kin_speed 1"]
		},
		"decelerate": {
			"ability": "lucraftcore:command_held",
			"cooldown": 0,
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/slow_down.png" },
			"show_in_bar": true,
			"title": {"text":"Decelarate"},
			"bar_color": "light_blue",
			"commands": ["/scoreboard players remove @s Omni:Kin_speed 1"]
		},
		"selector_cit": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Selector"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
            "bar_color": "green",				
			"commands": ["/superpower @s ben_ten:citrakayah_selector"],
			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]
		},
		"detransform_cit": {	
	        "ability": "lucraftcore:command",		
			"required_level": 0,
            "show_in_bar": true,	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png" },
            "bar_color": "red",				
			"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 totem ~ ~1.2 ~ 0.3 0.3 0.3 0 6500" ],
			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]}]
		},
		"timer_cit":{
			"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": [
			"/scoreboard objectives add Omni:Kin_speed dummy",
			"/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",
"/effect @s minecraft:haste 1 3 true",
"/execute @s[score_Omni:Kin_speed_min=81] ~ ~ ~ /scoreboard players set @s Omni:Kin_speed 80",
"/execute @s[score_Omni:Kin_speed=-1] ~ ~ ~ /scoreboard players set @s Omni:Kin_speed 0",
"/effect @s[score_Omni:Kin_speed=0] minecraft:speed 0",
"/effect @s[score_Omni:Kin_speed_min=1,score_Omni:Kin_speed=9] minecraft:speed 1 5 true",
"/effect @s[score_Omni:Kin_speed_min=10,score_Omni:Kin_speed=19] minecraft:speed 1 8 true",
"/effect @s[score_Omni:Kin_speed_min=20,score_Omni:Kin_speed=29] minecraft:speed 1 10 true",
"/effect @s[score_Omni:Kin_speed_min=30,score_Omni:Kin_speed=39] minecraft:speed 1 12 true",
"/effect @s[score_Omni:Kin_speed_min=40,score_Omni:Kin_speed=49] minecraft:speed 1 14 true",
"/effect @s[score_Omni:Kin_speed_min=50,score_Omni:Kin_speed=59] minecraft:speed 1 20 true",
"/effect @s[score_Omni:Kin_speed_min=60,score_Omni:Kin_speed=69] minecraft:speed 1 25 true",
"/effect @s[score_Omni:Kin_speed_min=70,score_Omni:Kin_speed=80] minecraft:speed 1 30 true",

"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_fast_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[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[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}]}",
			"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
		},
		"water running": {
			"ability": "speedsterheroes:water_running",
			"conditions": [{"type": "lucraftcore:not",
					"conditions": [{"type": "lucraftcore:potion_weakness",
							"potion": "speed"}]}],			
            "show_in_bar": false,		
            "title": {"text":"Water Running"},		
			"icon": { "type": "internal" },		
			"speed": 1.0
		},
		"wall running": {
			"ability": "speedsterheroes:wall_running",
			"conditions": [{"type": "lucraftcore:not",
					"conditions": [{"type": "lucraftcore:potion_weakness",
							"potion": "speed"}]}],			
            "show_in_bar": false,		
            "title": {"text":"wall Running"},		
			"icon": { "type": "internal" },		
			"speed": 1.0
		},
		"enhanced jumping": {
			"ability": "lucraftcore:jump_boost",			
            "show_in_bar": false,		
            "title": {"text":"Enhanced Jumping"},									
			"amount": 3.0,
			"operation": 0,
			"uuid": "d467a081-7c9d-4a26-9d6d-a15de25418da"
		},
		"enhanced strength": {	
			"ability": "lucraftcore:strength",				
            "show_in_bar": false,		
            "title": {"text":"Enhanced Strength"},							
			"amount": 12,
			"operation": 0,
			"uuid": "bce04505-a0c2-436f-894b-620c2d547e43"	
		},
		"health": {		
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 24,
			"operation": 0,
			"uuid": "a0beeb5f-fba7-48c8-b03f-6b056727545b" 			
		},
		"fall resistance": {
			"ability": "lucraftcore:fall_resistance",
			"show_in_bar": false,
			"title": {"text":"Fall Resistance"},
			"amount": 200,
			"operation": 0,
			"uuid": "273f6587-eec7-4da9-bea7-df0733da8f24"
		},
		"enhanced durability": {
			"ability": "lucraftcore:resistance",			
            "show_in_bar": false,		
            "title": {"text":"Resistance"},						
			"amount": 12,
			"operation": 0,
			"uuid": "a2281c83-5f4e-4a8d-ad47-1ce2b4eda07f"		
		},
        "step assist": {
            "ability": "lucraftcore:step_assist",
            "show_in_bar": false,
			"conditions": [{"type": "lucraftcore:not",
					"conditions": [{"type": "lucraftcore:potion_weakness",
							"potion": "speed"}]}],
            "title": {"translate":"lucraftcore.abilities.step_assist.name"},
            "icon": { "type": "internal" },
            "bar_color": "green",
            "amount": 2.0,
            "operation": 0,
            "uuid": "b4dd7a17-d536-436a-86e6-8cd2ae02cc99"
		},
		"enhanced speed XP": {
            "ability": "lucraftcore:command_toggle",
            "cooldown": 0,
			"parent_ability": "enhanced speed",
            "show_in_bar": false,
            "title": {"text":"Enhanced Speed XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
            "conditions": [{
			    "type": "ability_enabled",
				"ability": "speedsterheroes:super_speed"}],
		    "commands": ["/superpowerxp 3 @s"],
		    "hidden": true
		}
	}
}