<?xml version="1.0" encoding="UTF-8"?>
<oakxmlfile>
	<struct name="monster_attack_sequence">
		<short name="flags"/>
		<sequence_index name="sequence_index"/>
		<fixed_fraction name="skip_fraction"/>
		<byte count="2"/>
	</struct>
	<struct name="monster_attack_definition">
		<short name="flags"/>
		<fixed_fraction name="miss_fraction"/>
		<tag name="projectile_tag" group="proj"/>
		<short_world name="minimum_range"/>
		<short_world name="maximum_range"/>
		<substruct name="attack_sequences" struct="monster_attack_sequence" count="4"/>
		<short name="repetitions"/>
		<short_world name="initial_velocity_lower_bound"/>
		<short_world name="initial_velocity_delta" lower_bound="initial_velocity_lower_bound"/>
		<short_world name="initial_velocity_error"/>
		<short_time name="recovery_time"/>
		<short_time name="recovery_time_experience_delta"/>
		<short_world name="velocity_improvement_with_experience"/>
		<short_fixed name="mana_cost"/>
		<short name="extra_flags"/>
		<byte count="2"/>
	</struct>
	<structedit struct="monster_attack_sequence" layout="horizontal">
		<frame text="Attack Sequence" layout="table">
			<row>
				<label text="Sequence:"/>
				<item target="sequence_index" tag="monster_restriction_tag.collection"/>
			</row>
			<row>
				<label text="Skip Fraction:"/>
				<item target="skip_fraction"/>
			</row>
		</frame>
		<frame text="Flags">
			<item target="flags" bit="0" text="Normal"/>
			<item target="flags" bit="1" text="Declined"/>
			<item target="flags" bit="2" text="Elevated"/>
		</frame>
	</structedit>
	<structedit struct="monster_attack_definition" layout="horizontal">
		<frame text="">
			<frame layout="horizontal">
				<label text="Projectile:"/>
				<item target="projectile_tag"/>
			</frame>
			<label text="Attack sequences:"/>
			<item target="attack_sequences" text_target="sequence_index"/>
			<frame layout="table" align="right">
				<row>
					<label text="Minimum Range:"/>
					<item target="minimum_range"/>
				</row>
				<row>
					<label text="Maximum Range:"/>
					<item target="maximum_range"/>
				</row>
				<row>
					<label text="Reptitions:"/>
					<item target="repetitions"/>
				</row>
				<row>
					<label text="Miss Fraction:"/>
					<item target="miss_fraction"/>
				</row>
				<row>
					<label text="Minimum Initial Velocity:"/>
					<item target="initial_velocity_lower_bound"/>
				</row>
				<row>
					<label text="Maximum Initial Velocity:"/>
					<item target="initial_velocity_delta"/>
				</row>
				<row>
					<label text="Initial Velocity Error:"/>
					<item target="initial_velocity_error"/>
				</row>
				<row>
					<label text="Velocity Experience Delta"/>
					<item target="velocity_improvement_with_experience"/>
				</row>
				<row>
					<label text="Recovery Time:"/>
					<item target="recovery_time"/>
				</row>
				<row>
					<label text="Recovery Time Experience Delta:"/>
					<item target="recovery_time_experience_delta"/>
				</row>
				<row>
					<label text="Mana Cost:"/>
					<item target="mana_cost"/>
				</row>
			</frame>
		</frame>
		<frame text="Attack Flags">
			<item target="flags" bit="0" text="Is Indirect"/>
			<item target="flags" bit="1" text="Does not require a firing solution"/>
			<item target="flags" bit="2" text="Aimed at target's feet"/>
			<item target="flags" bit="3" text="Leads target"/>
			<item target="flags" bit="4" text="Uses ammunition"/>
			<item target="flags" bit="5" text="Uses carried projectle"/>
			<item target="flags" bit="6" text="Is reflexive"/>
			<item target="flags" bit="7" text="Is special ability"/>
			<item target="flags" bit="8" text="Cannot be aborted"/>
			<item target="flags" bit="9" text="Is primary attack"/>
			<item target="flags" bit="10" text="Avoids friendly units"/>
			<item target="flags" bit="11" text="Vs. Giant Sized"/>
			<item target="flags" bit="12" text="Prohibited vs. giant sized"/>
			<item target="flags" bit="13" text="Is fixed pitch"/>
			<item target="flags" bit="14" text="Don't shoot over nearby units"/>
			<item target="flags" bit="15" text="Lob to hit lower nearby units"/>
			<item target="extra_flags" bit="0" text="Can be used against friendly units"/>
			<!--item target="extra_flags" bit="1" text="Gives projectile to target" /!-->
			<item target="extra_flags" bit="2" text="Player Can Interupt"/>
			<item target="extra_flags" bit="3" text="Vs. flying"/>
			<item target="extra_flags" bit="4" text="Prohibited vs. flying"/>
			<item target="extra_flags" bit="5" text="No monster recovery time"/>
			<item target="extra_flags" bit="6" text="Vs. undead"/>
			<item target="extra_flags" bit="7" text="Prohibited vs. undead"/>
			<byte count="2"/>
		</frame>
	</structedit>
</oakxmlfile>
