This commit is contained in:
2025-09-11 21:02:32 +08:00
parent f55952befc
commit f3d6c4e35e
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -4,7 +4,7 @@
<!-- 变形技能的定义 --> <!-- 变形技能的定义 -->
<AbilityDef> <AbilityDef>
<defName>ARA_Ability_Morph</defName> <defName>ARA_Ability_Morph</defName>
<label>变形</label> <label>织域形态</label>
<description>将自己转换为一个坚固的静态建筑形态,或从建筑形态恢复。</description> <description>将自己转换为一个坚固的静态建筑形态,或从建筑形态恢复。</description>
<iconPath>UI/Commands/Attack</iconPath> <!-- TODO: 替换为你的图标路径 --> <iconPath>UI/Commands/Attack</iconPath> <!-- TODO: 替换为你的图标路径 -->
<cooldownTicksRange>600</cooldownTicksRange> <cooldownTicksRange>600</cooldownTicksRange>

View File

@@ -55,8 +55,8 @@ namespace ArachnaeSwarm
{ {
if (compRefuelable.HasFuel) if (compRefuelable.HasFuel)
{ {
needs.food.CurLevel += needs.food.FoodFallPerTick; // 模拟消耗
compRefuelable.ConsumeFuel(needs.food.FoodFallPerTick); compRefuelable.ConsumeFuel(pawn.needs.food.FoodFallPerTick);
} }
else else
{ {