Files
WulaFallenEmpireRW/Source/WulaFallenEmpire/ThingComp/WULA_DamageReceiver/CompProperties_DamageReceiver.cs
2025-11-26 17:28:36 +08:00

20 lines
639 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using RimWorld;
using Verse;
namespace WulaFallenEmpire
{
public class CompProperties_DamageReceiver : CompProperties
{
public float maxDamageCapacity = 1000f; // 最大伤害容量
public float damageDecayRate = 5f; // 每 tick 衰减的伤害量
public float damageDecayInterval = 60f; // 伤害衰减间隔ticks
public bool showDamageBar = true; // 是否显示伤害条
public bool canBeDestroyedByDamage = true; // 是否可以被伤害摧毁
public CompProperties_DamageReceiver()
{
compClass = typeof(CompDamageReceiver);
}
}
}