Files
WulaFallenEmpireRW/Source/WulaFallenEmpire/CompProperties_WulaShieldBelt.cs
2025-07-21 16:24:04 +08:00

31 lines
1.0 KiB
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 UnityEngine;
using Verse;
using Verse.Sound;
namespace WulaFallenEmpire
{
public class CompProperties_WulaShieldBelt : CompProperties
{
public int maxShieldHitPoints = 200;
public float shieldRadius = 3.0f;
public bool interceptGroundProjectiles = true;
public bool interceptAirProjectiles = false;
public bool interceptMeleeAttacks = false;
public bool empImmune = false;
public Color shieldColor = new Color(0.2f, 0.6f, 1.0f);
public float rechargeRate = 5.0f;
public int rechargeCooldownTicks = 300;
public SoundDef activeSound;
public EffecterDef reactivateEffect;
public bool startEnabled = false;
// 护盾模式true = 有生命值模式可被破坏false = 无生命值模式(类似低角护盾,只是偏转)
public bool useHitPointsMode = true;
public CompProperties_WulaShieldBelt()
{
compClass = typeof(CompWulaShieldBelt);
}
}
}