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

View File

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