{
	"name": {
		"text": "Appoplexian"
	},
	
	"icon": {
		"type": "texture",
		"texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png"
	},
	
	"creative_tab": "ben10",
	
	"max_level": 40,
	
	"capsule_color" : 8519680,
	
	"effects": [		
		{
		"type": "skin_change",
        "texture": "ben_ten:textures/models/transformations/inv_appoplexian.png"
		},
		{
			"type": "blade",
			"conditions": [
				{
					"type": "ability_enabled",
					"ability": "speedsterheroes:blade"
				}
			]
		},
		{
            "type": "skin_overlay",
            "texture": "ben_ten:textures/overlays/glow/inv_appoplexian_glow.png",
            "size": 0,
            "glow": true,
            "conditions": [
            	{
            		"type": "always"
				}
			]
		}
	],
	
	"abilities": {
		"normal_size_appo": {
			"ability": "lucraftcore:command_loop",
			"show_in_bar": false,
			"title": {"text": "Normal Size"},
			"icon": { "type": "internal" },
			"bar_color": "light_gray",
			"commands": ["/sizechange @s 1.2 pymtech:pym_particles"]
		},
	"detect claws": {
		"ability": "lucraftcore:command_loop",	
			"title": {"translate":"Claws"},
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon_af:rath_claws_chest",
              		"hand": "main_hand"}],
			"commands": [
"scoreboard players add @s rath_claws 1"]
		},
		"enhanced strength_ba": {	
			"ability": "lucraftcore:strength",
        		"title": {"text":"Sharp Claws"},							"amount": 8,
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon_af:rath_claws_chest",
              		"hand": "main_hand"}]
		},
	"detect claws2": {
		"ability": "lucraftcore:command_loop",	
			"title": {"translate":"Claws"},
 			"conditions": [{
             	 	"type": "lucraftcore:held_item",
              		"item": "ben_10_addon_af:rath_claws_chest",
              		"hand": "off_hand"}],
			"commands": [
"scoreboard players add @s rath_claws 1"]
		},
		"sharp retractable claws_appo": {
            "ability": "lucraftcore:command",
            "cooldown": 0,
            "show_in_bar": true,
            "title": {"text":"Retractable Claws"},
            "icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/inv_rath_claw.png" },
            "bar_color": "orange",
			"commands": [
"scoreboard players set @s[tag=!RathReset] rath_claws 0",
"scoreboard players tag @s add RathReset",
"/scoreboard players tag @s add offhand_claws",
"/scoreboard players tag @s remove offhand_claws {Inventory:[{Slot:-106b}]}",
"/scoreboard players tag @s add main_claws",
"/scoreboard players tag @s remove main_claws {SelectedItem:{}}",
"/clear @s[score_rath_claws_min=1] ben_10_addon_af:rath_claws_chest",
"/replaceitem entity @s[score_rath_claws=0,tag=offhand_claws] slot.weapon.offhand ben_10_addon_af:rath_claws_chest",
"/replaceitem entity @s[score_rath_claws=0,tag=main_claws] slot.weapon.mainhand ben_10_addon_af:rath_claws_chest",
"/scoreboard players set @s[score_rath_claws=0] rath_claws 3"]
		},
		"shock waves_appo": {		
			"ability": "the-fifth-world:explode",
			"cooldown": 6000,
            "icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/ground_smash.png" },			
            "show_in_bar": true,		
            "title": {"text":"Shock Waves"},
            "bar_color": "orange",			
			"strength": 12,
			"operation": 0,
			"uuid": "fb5a77c8-9a89-46f8-a1b5-a2b531f02ac3"	
		},
		"wall scaling_appo": {
            "ability": "heroesexpansion:wall_crawling",
            "cooldown": 0,
            "show_in_bar": true,
			"title": {"text":"Wall Scaling"},
            "icon": { "type": "texture", "texture": "ben_ten:textures/gui/powers/appoplexian_climbing.png" },
            "bar_color": "orange"
		},
		"inv_selector_appo": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Selector"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix_red.png" },
            "bar_color": "red",				
			"commands": ["/superpower @s ben_ten:inv_appoplexian_selector"],
			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]
		},
		"inv_detransform_appo": {	
	        "ability": "lucraftcore:command",		
			"cooldown": 0,
            "show_in_bar": true,	
            "title": {"text":"Detransform"},
			"icon": { "type": "texture", "texture": "ben_ten:textures/gui/omnitrix/recalibrated_omnitrix.png" },
            "bar_color": "green",				
			"commands": ["/clear @s ben_10_addon_af:rath_claws_chest","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" ],
			"conditions": [{"type": "lucraftcore:not",
 			"conditions": [{
             	 	"type": "lucraftcore:scoreboard_tag",
              		"tag": "Sneaking"}]}]
		},
		"inv_timer_appo":{
			"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 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",
"/kill @e[name=item.item.ben_10_addon_af:rath_claws_chestplate]",
"scoreboard objectives add rath_claws dummy",
"/scoreboard players remove @s[score_rath_claws_min=1] rath_claws 2",
"/clear @s[score_rath_claws=0] ben_10_addon_af:rath_claws_chest",

"scoreboard players add @s Timer 1",
			"clear @s ben_10_addon_af:dial_rath_chest",
			"clear @s ben_10_addon_af:dial_rath_iv_chest",
			"scoreboard players add @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] NoArmor 1",
"/clear @s[score_Timer=12000,score_Timer_min=12000,tag=!MasterControl] ben_10_addon_af:rath_claws_chest",
			"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 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 ~ ~ ~",
			"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": 12,
			"operation": 0,
			"uuid": "7d706001-8484-44fd-8fe3-ae93e2efe315"
		},
		"enhanced speed": {
			"ability": "lucraftcore:sprint",			
            "show_in_bar": false,		
            "title": {"text":"Enhanced Speed"},										
			"amount": 0.5,
			"operation": 0,
			"uuid": "0119d469-1991-40c9-9d45-bad2db61bff3"		
		},
		"health": {
			"ability": "lucraftcore:health",			
            "show_in_bar": false,		
            "title": {"text":"Health"},					
			"amount": 28,
			"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"
		},
		"sharp retractable claws XP": {
            "ability": "lucraftcore:command",
            "cooldown": 0,
			"parent_ability": "sharp retractable claws",
            "show_in_bar": false,
            "title": {"text":"Sharp Retractable Claws XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
            "conditions": [{
			    "type": "ability_enabled",
				"ability": "speedsterheroes:blade"}],
		    "commands": ["/superpowerxp 3 @s"],
		    "hidden": true
		},
		"shock waves XP": {
            "ability": "lucraftcore:command",
            "cooldown": 0,
			"parent_ability": "shock waves",
            "show_in_bar": false,
            "title": {"text":"Shock Waves XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
            "conditions": [{
			    "type": "ability_enabled",
				"ability": "the-fifth-world:explode"}],
		    "commands": ["/superpowerxp 5 @s"],
		    "hidden": true
		},
		"wall scaling XP": {
            "ability": "lucraftcore:command",
            "cooldown": 0,
			"parent_ability": "wall scaling",
            "show_in_bar": false,
            "title": {"text":"Wall Scaling XP"},
            "icon": { "type": "internal" },
            "bar_color": "light_gray",
            "conditions": [{
			    "type": "ability_enabled",
				"ability": "heroesexpansion:wall_crawling"}],
		    "commands": ["/superpowerxp 4 @s"],
		    "hidden": true
		}
	}
}
		