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

	<ThingDef ParentName="BaseMeleeWeapon_Sharp_Quality">
		<defName>DR_BattleStaff_Air</defName>
		<label>Dragonian AirCannon Staff</label>
		<description>A Staff for Dragonian.Can Shoot AirCannon.</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>
			<researchPrerequisites>
				<li>DragonianMeleeWeapon</li>
				<li>DragonianWandMagic</li>
			</researchPrerequisites>
		</recipeMaker>
		<weaponTags>
			<li>DR_BattleStaff_Air</li>
		</weaponTags>
		<thingCategories>
			<li>WeaponsRanged</li>
		</thingCategories>
		<weaponClasses>
			<li>Ranged</li>
		</weaponClasses>
		<verbs>
			<li>
				<verbClass>Verb_Shoot</verbClass>
				<hasStandardCommand>true</hasStandardCommand>
				<defaultProjectile>DRM_Bullet_AirCannon</defaultProjectile>
				<warmupTime>2.4</warmupTime>
				<range>23.9</range>
				<isMortar>true</isMortar>
				<requireLineOfSight>false</requireLineOfSight>
				<forcedMissRadius>1.9</forcedMissRadius>
				<burstShotCount>1</burstShotCount>
				<soundCast>Shot_IncendiaryLauncher</soundCast>
				<soundCastTail>GunTail_Medium</soundCastTail>
				<muzzleFlashScale>14</muzzleFlashScale>
				<targetParams>
					<canTargetLocations>true</canTargetLocations>
				</targetParams>
			</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="BaseMeleeWeapon_Sharp_Quality">
		<defName>DR_BattleStaff_AcidAir</defName>
		<label>Dragonian AcidAirCannon Staff</label>
		<description>A Staff for Dragonian.Can Shoot AcidAirCannon.</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>
			<researchPrerequisites>
				<li>DragonianMeleeWeapon</li>
				<li>DragonianWandMagic</li>
			</researchPrerequisites>
		</recipeMaker>
		<weaponTags>
			<li>DR_BattleStaff_Ranged</li>
		</weaponTags>
		<thingCategories>
			<li>WeaponsRanged</li>
		</thingCategories>
		<weaponClasses>
			<li>Ranged</li>
		</weaponClasses>
		<verbs>
			<li>
				<verbClass>Verb_Shoot</verbClass>
				<hasStandardCommand>true</hasStandardCommand>
				<defaultProjectile>DRM_Bullet_AcidAirCannon</defaultProjectile>
				<warmupTime>2.4</warmupTime>
				<range>29.9</range>
				<isMortar>true</isMortar>
				<requireLineOfSight>false</requireLineOfSight>
				<forcedMissRadius>1.9</forcedMissRadius>
				<burstShotCount>3</burstShotCount>
				<ticksBetweenBurstShots>16</ticksBetweenBurstShots>
				<soundCast>Shot_IncendiaryLauncher</soundCast>
				<soundCastTail>GunTail_Medium</soundCastTail>
				<muzzleFlashScale>14</muzzleFlashScale>
				<targetParams>
					<canTargetLocations>true</canTargetLocations>
				</targetParams>
			</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="BaseMeleeWeapon_Sharp_Quality">
		<defName>DR_BattleStaff_Fear</defName>
		<label>Dragonian Fear Staff</label>
		<description>A Staff for Dragonian.Can Shoot Feartox bomb.</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>
			<researchPrerequisites>
				<li>DragonianMeleeWeapon</li>
				<li>DragonianWandMagic</li>
			</researchPrerequisites>
		</recipeMaker>
		<weaponTags>
			<li>DR_BattleStaff_Fear</li>
		</weaponTags>
		<thingCategories>
			<li>WeaponsRanged</li>
		</thingCategories>
		<weaponClasses>
			<li>Ranged</li>
		</weaponClasses>
		<verbs>
			<li>
				<verbClass>Verb_Shoot</verbClass>
				<hasStandardCommand>true</hasStandardCommand>
				<defaultProjectile>DRM_Bullet_FeargasLauncher</defaultProjectile>
				<warmupTime>3.5</warmupTime>
				<range>23.9</range>
				<forcedMissRadius>1.9</forcedMissRadius>
				<burstShotCount>1</burstShotCount>
				<soundCast>Shot_IncendiaryLauncher</soundCast>
				<soundCastTail>GunTail_Medium</soundCastTail>
				<muzzleFlashScale>14</muzzleFlashScale>
				<targetParams>
					<canTargetLocations>true</canTargetLocations>
				</targetParams>
			</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="BaseBullet">
		<defName>DRM_Bullet_AirCannon</defName>
		<label>AirCannon shell</label>
		<graphicData>
			<texPath>Things/Projectile/LauncherShot</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
			<color>(111,111,111)</color>
		</graphicData>
		<projectile>
			<damageDef>Thump</damageDef>
			<damageAmountBase>10</damageAmountBase>
			<explosionRadius>3.9</explosionRadius >
			<stoppingPower>3</stoppingPower>
			<speed>50</speed>
			<soundExplode>ThumpCannon_Impact</soundExplode>
		</projectile>
		<thingClass>DragonianMix.Projectile_CruiseMissile</thingClass>
		<modExtensions>
			<li Class="DragonianMix.CruiseMissileProperties">
				<!-- 主爆炸参数 -->
				<customDamageDef>Thump</customDamageDef>
				<customDamageAmount>10</customDamageAmount>
				<customExplosionRadius>3.9</customExplosionRadius>
				<customSoundExplode>ThumpCannon_Impact</customSoundExplode>

				<!-- 子爆炸系统 -->
				<useSubExplosions>false</useSubExplosions>
			</li>
		</modExtensions>
	</ThingDef>

	<ThingDef ParentName="BaseBullet">
		<defName>DRM_Bullet_AcidAirCannon</defName>
		<label>AcidAirCannon shell</label>
		<graphicData>
			<texPath>Things/Projectile/LauncherShot</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
			<color>(111,111,111)</color>
		</graphicData>
		<projectile>
			<damageDef>DRM_Damage_AcidCover_Ex</damageDef>
			<damageAmountBase>5</damageAmountBase>
			<explosionRadius>1.1</explosionRadius >
			<stoppingPower>3</stoppingPower>
			<speed>50</speed>
			<soundExplode>ThumpCannon_Impact</soundExplode>
		</projectile>
		<thingClass>DragonianMix.Projectile_CruiseMissile</thingClass>
		<modExtensions>
			<li Class="DragonianMix.CruiseMissileProperties">
				<!-- 主爆炸参数 -->
				<customDamageDef>DRM_Damage_AcidCover_Ex</customDamageDef>
				<customDamageAmount>5</customDamageAmount>
				<customExplosionRadius>1.1</customExplosionRadius>
				<customSoundExplode>ThumpCannon_Impact</customSoundExplode>

				<!-- 子爆炸系统 -->
				<useSubExplosions>true</useSubExplosions>
				<subExplosionCount>2</subExplosionCount>
				<subExplosionRadius>1.1</subExplosionRadius>
				<subExplosionDamage>5</subExplosionDamage>
				<subExplosionSpread>3</subExplosionSpread>
				<subDamageDef>DRM_Damage_AcidCover_Ex</subDamageDef>
				<subSoundExplode>ThumpCannon_Impact</subSoundExplode>
			</li>
		</modExtensions>
	</ThingDef>

	<ThingDef ParentName="BaseBullet">
		<defName>DRM_Bullet_FeargasLauncher</defName>
		<label>Feargas launcher shell</label>
		<graphicData>
			<texPath>Things/Projectile/LauncherShot</texPath>
			<graphicClass>Graphic_Single</graphicClass>
			<shaderType>TransparentPostLight</shaderType>
			<color>(78,65,167)</color>
		</graphicData>
		<thingClass>Projectile_Explosive</thingClass>
		<projectile>
			<speed>40</speed>
			<damageDef>DRM_Feargas</damageDef>
			<!-- Use default damage from explosion def -->
			<explosionRadius>5.4</explosionRadius>
			<soundExplode>DispensePaste</soundExplode>
			<postExplosionSpawnThingDef>DRM_FearGasCloud</postExplosionSpawnThingDef>			<!-- ARL_ToxicGasCloud -->
			<postExplosionSpawnChance>1</postExplosionSpawnChance>
			<postExplosionSpawnThingCount>1</postExplosionSpawnThingCount>
			<arcHeightFactor>2</arcHeightFactor>
			<shadowSize>0.5</shadowSize>
			<applyDamageToExplosionCellsNeighbors>true</applyDamageToExplosionCellsNeighbors>
			<explosionDelay>0</explosionDelay>
		</projectile>
	</ThingDef>

	<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>
			<researchPrerequisites>
				<li>DragonianMeleeWeapon</li>
				<li>DragonianWandMagic</li>
			</researchPrerequisites>
		</recipeMaker>
		<weaponTags>
			<li>DR_BattleStaff_Ranged</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>15</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>
				<conductFriendly>False</conductFriendly>
				<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>