<?xml version="1.0" encoding="utf-8" ?>
<Defs>
	
	<ThingDef ParentName="BaseMeleeWeapon_Sharp_Quality">
		<defName>DR_BattleStaff_Arc</defName>
		<label>Dragonian Arc Staff</label>
		<description>A Staff for Dragonian.Can Shoot Arc beam.</description>
		<graphicData>
			<texPath>Dragonian/Things/Weapon/staff</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>CutoutComplex</shaderType>
		</graphicData>
		<uiIconScale>1</uiIconScale>
		<techLevel>Medieval</techLevel>
		<statBases>
			<WorkToMake>12000</WorkToMake>
			<Mass>15</Mass>
			<AccuracyTouch>0.60</AccuracyTouch>
			<AccuracyShort>0.70</AccuracyShort>
			<AccuracyMedium>0.65</AccuracyMedium>
			<AccuracyLong>0.55</AccuracyLong>
			<RangedWeapon_Cooldown>1.70</RangedWeapon_Cooldown>
		</statBases>
		<equippedAngleOffset>45</equippedAngleOffset>
		<costStuffCount>80</costStuffCount>
		<stuffCategories>
			<li>Metallic</li>
		</stuffCategories>
		<costList>
			<WoolDragonian>40</WoolDragonian>
			<Steel>40</Steel>
			<ComponentIndustrial>5</ComponentIndustrial>
		</costList>
		<recipeMaker>
			<skillRequirements>
				<Crafting>10</Crafting>
			</skillRequirements>
		</recipeMaker>
		<weaponTags>
			<li>DR_BattleStaff_Arc</li>
		</weaponTags>
		<thingCategories>
			<li>WeaponsRanged</li>
		</thingCategories>
		<weaponClasses>
			<li>Ranged</li>
		</weaponClasses>
		<verbs>
			<li Class="DragonianMix.VerbProperties_Arc">
				<verbClass>DragonianMix.Verb_ShootArc</verbClass>
				<hasStandardCommand>true</hasStandardCommand>
				<damageDef>DRM_Arc</damageDef>
				<damageAmount>5</damageAmount>
				<EMPDamageAmount>20</EMPDamageAmount>
				<warmupTime>1.5</warmupTime>
				<range>24.9</range>
				<affectedAngle>20</affectedAngle>
				<armorPenetration>1.0</armorPenetration>
				<soundCast>DRM_ArcShot</soundCast>
				<soundCastTail>GunTail_Medium</soundCastTail>
				<muzzleFlashScale>9</muzzleFlashScale>
				<targetParams>
					<canTargetLocations>true</canTargetLocations>
				</targetParams>
				<isConductible>True</isConductible>
				<conductNum>4</conductNum>
				<beamMoteDef>DRM_ArcBeam</beamMoteDef>
			</li>
		</verbs>
		<tools>
			<li>
				<label>handle</label>
				<capacities>
					<li>Poke</li>
				</capacities>
				<power>8</power>
				<cooldownTime>2</cooldownTime>
			</li>
			<li>
				<label>physical-magic</label>
				<capacities>
					<li>Blunt</li>
					<li>Demolish</li>
				</capacities>
				<power>15</power>
				<extraMeleeDamages>
					<li>
						<def>DRM_Arc</def>
						<amount>15</amount>
						<chance>1</chance>
					</li>
					<li>
						<def>Stun</def>
						<amount>1.5</amount>
						<chance>0.25</chance>
					</li>
				</extraMeleeDamages>
				<cooldownTime>5.2</cooldownTime>
			</li>
		</tools>
		<equippedStatOffsets>
			<PsychicSensitivityOffset MayRequire="Ludeon.Rimworld.Royalty">0.50</PsychicSensitivityOffset>
			<PsychicEntropyRecoveryRate MayRequire="Ludeon.Rimworld.Royalty">0.083</PsychicEntropyRecoveryRate>
		</equippedStatOffsets>
		<meleeHitSound>DRHammerSound</meleeHitSound>
	</ThingDef>

	<ThingDef ParentName="MoteBase">
		<defName>DRM_ArcBeam</defName>
		<thingClass>MoteDualAttached</thingClass>
		<altitudeLayer>MoteOverhead</altitudeLayer>
		<mote>
			<fadeInTime>0</fadeInTime>
			<fadeOutTime>0.4</fadeOutTime>
			<solidTime>0.4</solidTime>
			<needsMaintenance>False</needsMaintenance>
			<rotateTowardsTarget>True</rotateTowardsTarget>
			<scaleToConnectTargets>True</scaleToConnectTargets>
			<fadeOutUnmaintained>False</fadeOutUnmaintained>
		</mote>
		<drawOffscreen>true</drawOffscreen>
		<graphicData>
			<graphicClass>Graphic_MoteWithAgeSecs</graphicClass>
			<texPath>Dragonian/Projectile/arc_emitter_diffuse</texPath>
			<shaderType>MoteGlow</shaderType>
			<drawSize>1</drawSize>
		</graphicData>
	</ThingDef>

</Defs>