<?xml version="1.0" encoding="utf-8" ?>
<Layout>
	<Image x="5" y="112" image="/demon_list/demon_portal.png"/>

	<Image name="glow" x="36" y="60" scale="1" image="/demon_list/portal_glow.png">

		<AnimController autoPlay="1" >
			<ActionChain>
				<EfxMove to_x="36" to_y="60" duration="0" modifier="fullarc"/>
				<EfxColor duration="0" to="FFFFFFFF" />
				<ActionRepeat repeat="-1">
					<EfxRotate from="0" to="-3590" duration="500"/>
				</ActionRepeat>
			</ActionChain>
		</AnimController>

		<!--AnimController autoPlay="0" events="event_human_low_attack">
			<ActionChain>
				<ActionGroup>
					<EfxScale duration="0" to="1.0" />

					<EfxScale duration="0.2" from="1.0" to="1.2" />
					<EfxScale duration="0.5" from="1.2" to="0" />
				</ActionGroup>

				<EfxSendEvent event="event_human_low_attack_particle"/>
			</ActionChain>
		</AnimController-->
	</Image>

	<SkeletonWidget x="238" y="288" name="human_stun_boom_down" data="data/spine/stun_boom_down.json" atlas="demon_battle/spine/stun_boom_down.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1" events="e_human_stunt_hide">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="238" y="288" name="human_healing_down" data="data/spine/healing_down.json" atlas="demon_battle/spine/healing_down.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="238" y="288" name="human_stun_start" data="data/spine/stun_start.json" atlas="demon_battle/spine/stun_start.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="238" y="288" name="human_attack_bkg" data="data/spine/attack_start.json" atlas="demon_battle/spine/attack_start.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<SkeletonWidget x="238" y="288" name="human_magic_start" data="data/spine/magic_start.json" atlas="demon_battle/spine/magic_start.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>

	<Widget x="95" y="115">
		<Image name="demon" scale="1" x="-20" y="5">
			<AnimController autoPlay="0" events="event_long_damages_human">
				<ActionChain>
					<EfxMove from_x="-20" from_y="5" to_x="-20" to_y="5" duration="0" modifier="fullarc"/>

					<ActionGroup>
						<EfxColor duration="0.1" from="FFFFFFFF" to="FFFF0000" />
						<EfxMove from_x="-20" from_y="5" to_x="-15" to_y="5" duration="0.1" modifier="fullarc"/>
					</ActionGroup>

					<ActionGroup>
						<EfxColor duration="0.1" from="FFFF0000" to="FFFFFFFF" />
						<EfxMove from_x="-15" from_y="5" to_x="-25" to_y="5" duration="0.1" modifier="fullarc"/>
					</ActionGroup>

					<ActionGroup>
						<EfxColor duration="0.1" from="FFFFFFFF" to="FFFF0000" />
						<EfxMove from_x="-25" from_y="5" to_x="-15" to_y="5" duration="0.1" modifier="fullarc"/>
					</ActionGroup>

					<ActionGroup>
						<EfxColor duration="0.1" from="FFFFFFFF" to="FFFF0000" />
						<EfxMove from_x="-15" from_y="5" to_x="-25" to_y="5" duration="0.1" modifier="fullarc"/>
					</ActionGroup>

					<ActionGroup>
						<EfxColor duration="0.1" from="FFFF0000" to="FFFFFFFF" />
						<EfxMove from_x="-25" from_y="5" to_x="-15" to_y="5" duration="0.1" modifier="fullarc"/>
					</ActionGroup>

					<ActionGroup>
						<EfxColor duration="0.1" from="FFFFFFFF" to="FFFF0000" />
						<EfxMove from_x="-15" from_y="5" to_x="-20" to_y="5" duration="0.1" modifier="fullarc"/>
					</ActionGroup>

					<EfxMove from_x="-20" from_y="5" to_x="-20" to_y="5" duration="0" modifier="fullarc"/>
					<EfxColor duration="0.0" from="FFFF0000" to="FFFFFFFF" />
				</ActionChain>
			</AnimController>

			<AnimController autoPlay="0" events="event_ai_low_attack_show">
				<ActionChain>
					<EfxColor duration="0.2" from="FFFFFFFF" to="FFFF0000" />
					<EfxColor duration="0.1" from="FFFF0000" to="FFFFFFFF" />
				</ActionChain>
			</AnimController>
		</Image>


		<AnimController autoPlay="1" events="e_human_stunt_hide">
			<ActionChain>
				<EfxColor duration="0.0" from="FF646464" to="FFFFFFFF" />
			</ActionChain>
		</AnimController>

		<AnimController autoPlay="0" events="e_human_stunt_show">
			<ActionChain>
				<EfxColor duration="1.0" from="FFFFFFFF" to="FF646464" />
			</ActionChain>
		</AnimController>
	</Widget>

	<SkeletonWidget x="238" y="282" name="human_stun_boom_up" data="data/spine/stun_boom_up.json" atlas="demon_battle/spine/stun_boom_up.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1" events="e_human_stunt_hide">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>

	</SkeletonWidget>

	<SkeletonWidget x="238" y="282" name="human_healing_up" data="data/spine/healing_up.json" atlas="demon_battle/spine/healing_up.atlas" base_scale="2" visible="0">
		<Scenario>
		[
			{
				"id": "flip",
				"x": false,
				"y": false,
			},
		]
		</Scenario>

		<AnimController autoPlay="1">
			<ActionGroup>
				<EfxVisible delay="0" visible="0"/>
			</ActionGroup>
		</AnimController>
	</SkeletonWidget>


	<Widget name="hp_label" x="220" y="231">
		<Text name="damage_low" scale="1.1" x="0" y="0" width="50" text="99" font="medium" align="C" color="FFFFFFFF" visible="0">
			<AnimController autoPlay="0" events="event_ai_low_attack_show" xml="battle_hp_item_template_damage.xml"/>		
		</Text>

		<Text name="damage_long" scale="1.1" x="0" y="0" width="50" text="99" font="medium" align="C" color="FFFFFFFF" visible="0">
			<AnimController autoPlay="0" events="event_long_damages_human_show" xml="battle_hp_item_template_damage.xml"/>		
		</Text>

		<Text name="damage_add" scale="1.1" x="0" y="0" width="50" text="99" font="medium" align="C" color="FFFFFFFF" visible="0">
			<AnimController autoPlay="0" events="event_protection_human_final" xml="battle_hp_item_template_heal.xml"/>		
		</Text>
	</Widget>

	<Image name="border_demon" x="31" y="98" image="/demon_battle/border_demon.png">
		<Text name="border_demon_text" x="110" y="0" width="200" height="10" font="author" text="DEMON_HUMAN" align="C" color="FFF6982D" />
	</Image>

	<Image name="demon_name" x="112" y="406" scale="1" image="/demon_list/board_name.png">
		<Text name="name" x="50" y="18" width="160" height="12" font="font" text="" align="C" color="FFFFFFFF"/>
	</Image>

	<Widget name="hp" x="136" y="472">
		<Text name="text" x="40" y="-4" width="150" height="10" font="small" text="DEMON_HP_TITLE" align="C" color="FFF6982D" />
		<Image name="border" x="0" y="0" image="/demon_battle/hp_board_01.png" />
		<Image name="value" x="43.5" y="16.5" width="154" height="20" image="/demon_battle/hp_board_02.png" />
		<Text name="value_text" x="58" y="18" width="120" height="12" font="author" text="" align="C" color="FFFFFFFF"/>
	</Widget>

	<Widget name="hp_timer" x="72" y="485">
		<Image name="timer_border" x="0" y="0" image="/demon_battle/border_timer.png"/>
		<Text name="timer_text" x="-7" y="5" width="95" height="10" font="small" text="" align="C" color="FFFFFFFF"/>
	</Widget>

	<Widget name="mana" x="136" y="513">
		<Text name="text" x="40" y="-4" width="150" height="10" font="small" text="DEMON_MANA_TITLE" align="C" color="FFF6982D" />
		<Image name="border" x="0" y="0" image="/demon_battle/mana_board_01.png" />
		<Image name="value" x="43.5" y="16.5" width="154" height="20" image="/demon_battle/mana_board_02.png" />
		<Text name="not_enough_mana" x="58" y="18" width="120" height="12" font="author" text="DEMON_NOT_ENOUGH_MP" visible="0" align="C" color="FFFFFFFF">
			<AnimController autoPlay="0" events="event_not_enough_mp">
				<ActionChain>
					<EfxVisible visible="1"/>
					<EfxColor duration="0.1" from="00FFFFFF" to="FFFFFFFF" />
					<EfxWait delay="0.3"/>
					<EfxColor duration="0.1" from="FFFFFFFF" to="00FFFFFF" />
					<EfxVisible visible="0"/>
				</ActionChain>
			</AnimController>
		</Text>			

		<Text name="value_text" x="58" y="18" width="120" height="12" font="author" text="" align="C" color="FFFFFFFF">
			<AnimController autoPlay="0" events="event_not_enough_mp">
				<ActionChain>
					<EfxColor duration="0.1" from="FFFFFFFF" to="00FFFFFF" />
					<EfxVisible visible="0"/>
					<EfxWait delay="0.3"/>
					<EfxVisible visible="1"/>
					<EfxColor duration="0.1" from="00FFFFFF" to="FFFFFFFF" />
				</ActionChain>
			</AnimController>
		</Text>
	</Widget>
</Layout>
