Class ReflectComponent
Entities with this component have a chance to reflect projectiles and hitscan shots
Inheritance
System.Object
ReflectComponent
Namespace: Content.Shared.Weapons.Reflect
Assembly: Content.Shared.dll
Syntax
public sealed class ReflectComponent : Component
Fields
| Improve this Doc View SourceEnabled
Can only reflect when enabled
Declaration
public bool Enabled
Field Value
Type | Description |
---|---|
System.Boolean |
ReflectProb
Probability for a projectile to be reflected.
Declaration
public float ReflectProb
Field Value
Type | Description |
---|---|
System.Single |
Reflects
What we reflect.
Declaration
public ReflectType Reflects
Field Value
Type | Description |
---|---|
ReflectType |
SoundOnReflect
Declaration
public SoundSpecifier SoundOnReflect
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
Spread
Declaration
public Angle Spread
Field Value
Type | Description |
---|---|
Angle |