<?xml version="1.0" encoding="utf-8"?>
<oakxmlfile>
	<struct name="arti">
		<long name="flags"/>
		<tag name="monster_restriction_tag" group="mons"/>
		<short name="maximum_charges"/>
		<short name="initial_charges_lower_bound"/>
		<short name="initial_charges_delta" lower_bound="initial_charges_lower_bound"/>
		<short name="monster_restriction_type"/>
		<tag name="collection" group=".256"/>
		<sequence_index name="sequence_indexes" count="4"/>
		<tag name="projectile_tags" group="proj" count="4"/>
		<long name="bonus_monster_flags"/>
		<short name="monster_override_type"/>
		<short name="expiry_timer"/>
		<short_fixed name="bonus_effect_modifiers" count="16"/>
		<substruct struct="monster_attack_definition" name="override_attack"/>
		<tag name="special_ability_string_list_tag" group="stli"/>
		<tag name="override_tag" group="mons"/>
		<byte count="12"/>
	</struct>
	<structedit struct="arti" layout="horizontal">
		<frame stretch="true">
			<!-- left column-->
			<frame layout="table" stretch="true" text="">
				<row>
					<label text="Collection: "/>
					<item target="collection"/>
				</row>
				<row>
					<label text="Monster Restriction Tag:"/>
					<item target="monster_restriction_tag"/>
				</row>
				<row>
					<label text="Special Ablity:"/>
					<item target="special_ability_string_list_tag"/>
				</row>
				<row>
					<label text="Monster Override Tag:"/>
					<item target="override_tag"/>
				</row>
				<row>
					<label text="Inventory Sequence:"/>
					<item target="sequence_indexes" tag="collection" index="0"/>
				</row>
				<row>
					<label text="Projectile:"/>
					<item target="projectile_tags"/>
				</row>
			</frame>
			<frame text="Parameters" layout="table" stretch="true">
				<row>
					<item target="flags" bit="7" text="Has Timed Expiry"/>
				</row>
				<row>
					<label text="Expiry Timer:"/>
					<item target="expiry_timer"/>
				</row>
				<row>
					<label text="Initial Charges (from):"/>
					<item target="initial_charges_lower_bound"/>
				</row>
				<row>
					<label text="Initial Charges (to):"/>
					<item target="initial_charges_delta"/>
				</row>
			</frame>
			<frame text="Charges">
				<item target="flags" bit="17" text="Projectile Pickup Adds Charges"/>
				<item target="flags" bit="18" text="Charges Drop As Ammo Projectiles"/>
				<label text="Maximum Charges:"/>
				<item target="maximum_charges"/>
			</frame>
			<frame text="" stretch="true">
				<item target="override_attack" text="Edit Override Attack"/>
				<structedit caption="Edit Bonus Effect Modifiers..." text="" layout="table" stretch="true" alignchildren="true">
					<row>
						<label text="Slashing Damage:"/>
						<item target="bonus_effect_modifiers" index="0"/>
					</row>
					<row>
						<label text="Kinetic Damage:"/>
						<item target="bonus_effect_modifiers" index="1"/>
					</row>
					<row>
						<label text="Explosive Damage:"/>
						<item target="bonus_effect_modifiers" index="2"/>
					</row>
					<row>
						<label text="Eletric Damage:"/>
						<item target="bonus_effect_modifiers" index="3"/>
					</row>
					<row>
						<label text="Fire Damage:"/>
						<item target="bonus_effect_modifiers" index="4"/>
					</row>
					<row>
						<label text="Paralysis Damage:"/>
						<item target="bonus_effect_modifiers" index="5"/>
					</row>
					<row>
						<label text="Stone:"/>
						<item target="bonus_effect_modifiers" index="6"/>
					</row>
					<row>
						<label text="Gas Damage:"/>
						<item target="bonus_effect_modifiers" index="7"/>
					</row>
					<row>
						<label text="Confusion:"/>
						<item target="bonus_effect_modifiers" index="8"/>
					</row>
				</structedit>
				<!--structedit caption="Edit Override Attack..." text="" layout="table" stretch="true" alignchildren="true">
				<row>
				</row>
			</structedit-->
			</frame>
		</frame>
		<frame stretch="true" alignchildren="true">
			<!-- middle column-->
			<frame text="Flags" layout="table" stretch="true">
				<row>
					<item target="flags" bit="0" text="Overrides Owner Attack"/>
				</row>
				<row>
					<item target="flags" bit="1" text="Vanishes After Last Charge"/>
				</row>
				<row>
					<item target="flags" bit="2" text="Overrides Owner Monster"/>
				</row>
				<row>
					<item target="flags" bit="3" text="Keeps Charge Count"/>
				</row>
				<row>
					<item target="flags" bit="4" text="Restricted Override"/>
				</row>
				<row>
					<item target="flags" bit="5" text="Can Not Be Holstered"/>
				</row>
				<row>
					<item target="flags" bit="6" text="Can Not Be Discarded"/>
				</row>
				<row>
					<item target="flags" bit="8" text="Restricted By Collection"/>
				</row>
				<row>
					<item target="flags" bit="9" text="Use Original Death"/>
				</row>
				<row>
					<item target="flags" bit="10" text="Don't Drop on Death"/>
				</row>
				<row>
					<item target="flags" bit="11" text="Display Charges As Percent"/>
				</row>
				<row>
					<item target="flags" bit="12" text="Always Slow When Held"/>
				</row>
				<row>
					<item target="flags" bit="13" text="Overrides Monster Yaw"/>
				</row>
				<row>
					<item target="flags" bit="14" text="Override Monster Doesn't Use Charges"/>
				</row>
				<row>
					<item target="flags" bit="15" text="Override Attack Hides Other Monster Attacks"/>
				</row>
				<row>
					<item target="flags" bit="16" text="Doesn't Override Monster Effect Modifiers"/>
				</row>
				<!--row>
			<item target="flags" bit="17" text="Projectile Pickup Adds Charges" />
		</row>
		<row>
			<item target="flags" bit="18" text="Charges Drop As Ammo Projectiles" />
		</row-->
				<row>
					<item target="flags" bit="19" text="Overrides Monster Collection"/>
				</row>
				<row>
					<item target="flags" bit="20" text="Monster Override is Permanent (Currently broken)"/>
				</row>
				<row>
					<item target="flags" bit="21" text="Uses Charge Even on Action Change"/>
				</row>
			</frame>
		</frame>
	</structedit>
</oakxmlfile>
