<?xml version="1.0" encoding="utf-8" ?>
<Defs>

	<ThingDef ParentName="BaseMeleeWeapon_Sharp_Quality">
		<defName>DR_BattleStaff_Beam</defName>
		<label>Dragonian Beam Staff</label>
		<description>A Staff for Dragonian.Can Shoot Frozen 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</li>
		</weaponTags>
		<thingCategories>
			<li>WeaponsRanged</li>
		  </thingCategories>
		  <weaponClasses>
			<li>Ranged</li>
		  </weaponClasses>
		  <verbs>
			<li>
			  <verbClass>Verb_ShootBeam</verbClass>
			  <hasStandardCommand>true</hasStandardCommand>
			  <warmupTime>1.5</warmupTime>
			  <range>24.9</range>
			  <minRange>3.9</minRange>
			  <muzzleFlashScale>9</muzzleFlashScale>
			  <soundCastTail>GunTail_Medium</soundCastTail>
			  <soundCastBeam>BeamGraser_Shooting</soundCastBeam>

			  <beamStartOffset>0.8</beamStartOffset>
			  <beamFullWidthRange>3</beamFullWidthRange>
			  <beamWidth>3</beamWidth>
			  <beamMaxDeviation>0</beamMaxDeviation>
			  <beamCurvature>0</beamCurvature>
			  <burstShotCount>15</burstShotCount>
			  <ticksBetweenBurstShots>5</ticksBetweenBurstShots>
			  <showBurstShotStats>false</showBurstShotStats>
			  <beamFleckChancePerTick>0.32</beamFleckChancePerTick>
			  <beamGroundFleckDef>Fleck_BeamBurn</beamGroundFleckDef>
			  
			  <beamDamageDef>DRM_Frostbite</beamDamageDef>
			  <beamMoteDef>Mote_GraserBeamBase</beamMoteDef>
			  <beamEndEffecterDef>GraserBeam_End</beamEndEffecterDef>
			  <beamLineFleckDef>Fleck_BeamSpark</beamLineFleckDef>

			  <beamChanceToStartFire>0</beamChanceToStartFire>
			  <beamChanceToAttachFire>0</beamChanceToAttachFire>
			  <beamFireSizeRange>0</beamFireSizeRange>
			  <beamLineFleckChanceCurve>
				<points>
				  <li>(0, 0)</li>
				  <li>(0.2, 0.1)</li>
				  <li>(0.4, 0.2)</li>
				</points>
			  </beamLineFleckChanceCurve>
			</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_Frostbite</def>
						<amount>30</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>
	
</Defs>