暂存
This commit is contained in:
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
<!-- 变形技能的定义 -->
|
||||
<AbilityDef>
|
||||
<defName>ARA_Ability_Morph</defName>
|
||||
<label>变形</label>
|
||||
<label>织域形态</label>
|
||||
<description>将自己转换为一个坚固的静态建筑形态,或从建筑形态恢复。</description>
|
||||
<iconPath>UI/Commands/Attack</iconPath> <!-- TODO: 替换为你的图标路径 -->
|
||||
<cooldownTicksRange>600</cooldownTicksRange>
|
||||
|
||||
@@ -55,8 +55,8 @@ namespace ArachnaeSwarm
|
||||
{
|
||||
if (compRefuelable.HasFuel)
|
||||
{
|
||||
needs.food.CurLevel += needs.food.FoodFallPerTick;
|
||||
compRefuelable.ConsumeFuel(needs.food.FoodFallPerTick);
|
||||
// 模拟消耗
|
||||
compRefuelable.ConsumeFuel(pawn.needs.food.FoodFallPerTick);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user