光束炮

This commit is contained in:
2025-11-10 17:24:05 +08:00
parent 85d64e6dfa
commit 03be24e5c0
14 changed files with 433 additions and 912 deletions

View File

@@ -0,0 +1,25 @@
using RimWorld;
using Verse;
namespace WulaFallenEmpire
{
public class CompProperties_AbilityEnergyLance : CompProperties_EffectWithDest
{
// 光束持续时间
public int durationTicks = 600;
// 移动配置
public float moveDistance = 15f;
public bool useFixedDistance = true;
// 光束类型配置 - 新增:暴露光束类型
public ThingDef energyLanceDef; // 使用的EnergyLance ThingDef
public int firesPerTick = 4; // 每刻造成的火灾数量
public CompProperties_AbilityEnergyLance()
{
this.compClass = typeof(CompAbilityEffect_EnergyLance);
this.destination = AbilityEffectDestination.Selected;
}
}
}