126 lines
4.7 KiB
XML
126 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Defs>
|
|
|
|
<AbilityDef>
|
|
<defName>ARA_EggSpew</defName>
|
|
<label>生育虫卵</label>
|
|
<description>向目标区域发射一个卵囊和酸性污泥喷射。污泥会粘在目标上并灼烧它们。</description>
|
|
<iconPath>UI/Commands/EggSpew</iconPath>
|
|
<cooldownTicksRange>5000</cooldownTicksRange> <!-- 2 hours -->
|
|
<aiCanUse>true</aiCanUse>
|
|
<displayOrder>300</displayOrder>
|
|
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
|
|
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
|
|
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
|
|
<verbProperties>
|
|
<verbClass>Verb_CastAbility</verbClass>
|
|
<range>14.9</range>
|
|
<warmupTime>0.25</warmupTime>
|
|
<soundCast>AcidSpray_Resolve</soundCast>
|
|
<targetParams>
|
|
<canTargetLocations>true</canTargetLocations>
|
|
</targetParams>
|
|
</verbProperties>
|
|
<comps>
|
|
<li Class="CompProperties_AbilityLaunchProjectile">
|
|
<projectileDef>ARA_Proj_EggSac</projectileDef>
|
|
</li>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
|
|
<needDef>Food</needDef>
|
|
<needCost>4</needCost>
|
|
<failMessage>食物不足</failMessage>
|
|
</li>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilityBodyPartCheck">
|
|
<requiredPart>ARA_Ovary</requiredPart>
|
|
<failMessage>卵巢受损或缺失,无法生育</failMessage>
|
|
</li>
|
|
</comps>
|
|
</AbilityDef>
|
|
|
|
<AbilityDef>
|
|
<defName>ARA_AcidSprayBurst</defName>
|
|
<label>酸液连射</label>
|
|
<description>快速连续喷射多次腐蚀性酸液,覆盖一片区域。</description>
|
|
<iconPath>UI/Abilities/AcidSpray</iconPath>
|
|
<cooldownTicksRange>5000</cooldownTicksRange> <!-- 2 hours -->
|
|
<aiCanUse>true</aiCanUse>
|
|
<displayOrder>300</displayOrder>
|
|
<displayGizmoWhileUndrafted>true</displayGizmoWhileUndrafted>
|
|
<disableGizmoWhileUndrafted>false</disableGizmoWhileUndrafted>
|
|
<warmupStartSound>AcidSpray_Warmup</warmupStartSound>
|
|
<verbProperties>
|
|
<verbClass>Verb_CastAbility</verbClass>
|
|
<range>32.9</range>
|
|
<warmupTime>0.25</warmupTime>
|
|
<soundCast>AcidSpray_Resolve</soundCast>
|
|
<targetParams>
|
|
<canTargetLocations>true</canTargetLocations>
|
|
</targetParams>
|
|
</verbProperties>
|
|
<comps>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilitySprayLiquidMulti">
|
|
<!-- CompProperties_AbilitySprayLiquid 的属性 -->
|
|
<projectileDef>ARA_Proj_StrongSludgeSpray</projectileDef>
|
|
<numCellsToHit>13</numCellsToHit>
|
|
<sprayEffecter>AcidSpray_Directional</sprayEffecter>
|
|
|
|
<!-- CompProperties_AbilitySprayLiquidMulti 新增的属性 -->
|
|
<shotCount>32</shotCount> <!-- 总共发射5次 -->
|
|
<ticksBetweenShots>3</ticksBetweenShots> <!-- 每次发射间隔12 Ticks (0.2秒) -->
|
|
</li>
|
|
<li Class="ArachnaeSwarm.CompProperties_AbilityNeedCost">
|
|
<needDef>Food</needDef>
|
|
<needCost>0.5</needCost>
|
|
<failMessage>食物不足</failMessage>
|
|
</li>
|
|
</comps>
|
|
</AbilityDef>
|
|
|
|
<ThingDef>
|
|
<defName>ARA_Proj_StrongSludgeSpray</defName>
|
|
<label>虫族酸液</label>
|
|
<thingClass>Projectile_Liquid</thingClass>
|
|
<category>Projectile</category>
|
|
<tickerType>Normal</tickerType>
|
|
<altitudeLayer>Projectile</altitudeLayer>
|
|
<useHitPoints>False</useHitPoints>
|
|
<neverMultiSelect>True</neverMultiSelect>
|
|
<graphicData>
|
|
<texPath>Things/Projectile/SludgeSpray</texPath>
|
|
<graphicClass>Graphic_Random</graphicClass>
|
|
<shaderType>MoteGlow</shaderType>
|
|
<drawSize>0.85</drawSize>
|
|
</graphicData>
|
|
<projectile>
|
|
<damageDef>ARA_AcidBurn</damageDef>
|
|
<speed>25</speed>
|
|
<damageAmountBase>18</damageAmountBase>
|
|
<arcHeightFactor>0.4</arcHeightFactor>
|
|
<armorPenetrationBase>0.1</armorPenetrationBase>
|
|
<stoppingPower>1</stoppingPower>
|
|
<shadowSize>0</shadowSize>
|
|
<spawnTerrain>InsectSludge</spawnTerrain>
|
|
<terrainChance>0.75</terrainChance>
|
|
<filth>Filth_Slime</filth>
|
|
<filthCount>1</filthCount>
|
|
<filthChance>0.25</filthChance>
|
|
</projectile>
|
|
</ThingDef>
|
|
<ThingDef ParentName="BaseGrenadeProjectile">
|
|
<defName>ARA_Proj_EggSac</defName>
|
|
<label>虫卵</label>
|
|
<thingClass>Projectile_SpawnsThing</thingClass>
|
|
<graphicData>
|
|
<texPath>Things/Projectile/EggSac</texPath>
|
|
<graphicClass>Graphic_Random</graphicClass>
|
|
</graphicData>
|
|
<projectile>
|
|
<damageDef>Bullet</damageDef>
|
|
<speed>21</speed>
|
|
<damageAmountBase>0</damageAmountBase>
|
|
<spawnsThingDef>ARA_InteractiveEggSac</spawnsThingDef>
|
|
<tryAdjacentFreeSpaces>true</tryAdjacentFreeSpaces>
|
|
</projectile>
|
|
</ThingDef>
|
|
|
|
</Defs> |