This commit is contained in:
2025-09-07 16:49:34 +08:00
parent 6e53b19e20
commit b6f9e6193a
2 changed files with 10 additions and 7 deletions

View File

@@ -6,16 +6,16 @@
<defName>ARA_Flyer_TrackingCharge</defName> <defName>ARA_Flyer_TrackingCharge</defName>
<thingClass>ArachnaeSwarm.PawnFlyer_TrackingCharge</thingClass> <thingClass>ArachnaeSwarm.PawnFlyer_TrackingCharge</thingClass>
<pawnFlyer> <pawnFlyer>
<flightDurationMin>0.5</flightDurationMin> <flightSpeed>0.1</flightSpeed>
<flightDurationMax>2.0</flightDurationMax> <heightFactor>0.1</heightFactor>
</pawnFlyer> </pawnFlyer>
</ThingDef> </ThingDef>
<!-- 2. The final Ability Definition --> <!-- 2. The final Ability Definition -->
<AbilityDef> <AbilityDef>
<defName>ARA_Ability_TrackingCharge</defName> <defName>ARA_Ability_TrackingCharge</defName>
<label>Tracking Charge</label> <label>追踪冲撞</label>
<description>Launch yourself towards a target, dealing damage to everything in your path. The damage increases the further you travel.</description> <description>阿拉克涅盾头种对目标发起蓄势冲撞,对路径上的一切造成伤害。飞行的距离越远,伤害越高。</description>
<iconPath>UI/Abilities/Charge</iconPath> <!-- Placeholder Icon --> <iconPath>UI/Abilities/Charge</iconPath> <!-- Placeholder Icon -->
<cooldownTicksRange>600</cooldownTicksRange> <cooldownTicksRange>600</cooldownTicksRange>
<verbProperties> <verbProperties>
@@ -28,7 +28,7 @@
<canTargetMechs>true</canTargetMechs> <canTargetMechs>true</canTargetMechs>
<canTargetSelf>false</canTargetSelf> <canTargetSelf>false</canTargetSelf>
</targetParams> </targetParams>
<range>30</range> <range>60</range>
<warmupTime>1.0</warmupTime> <warmupTime>1.0</warmupTime>
</verbProperties> </verbProperties>
<comps> <comps>
@@ -37,7 +37,7 @@
<initialDamage>15</initialDamage> <initialDamage>15</initialDamage>
<damagePerTile>2</damagePerTile> <damagePerTile>2</damagePerTile>
<inertiaDistance>4</inertiaDistance> <inertiaDistance>4</inertiaDistance>
<collisionDamageDef>Blunt</collisionDamageDef> <collisionDamageDef>Crush</collisionDamageDef>
<flyerDef>ARA_Flyer_TrackingCharge</flyerDef> <flyerDef>ARA_Flyer_TrackingCharge</flyerDef>
</li> </li>
</comps> </comps>

View File

@@ -147,6 +147,9 @@
<apparelTags> <apparelTags>
</apparelTags> </apparelTags>
<apparelMoney>0</apparelMoney> <apparelMoney>0</apparelMoney>
<abilities>
<li>ARA_Ability_TrackingCharge</li>
</abilities>
</PawnKindDef> </PawnKindDef>
<PawnKindDef ParentName="ArachnaeNodeABasePawnKind"> <PawnKindDef ParentName="ArachnaeNodeABasePawnKind">
<defName>ArachnaeNode_Race_WeaponSmith</defName> <defName>ArachnaeNode_Race_WeaponSmith</defName>