Show / Hide Table of Contents

Class NPCMeleeCombatComponent

Added to NPCs whenever they're in melee combat so they can be handled by the dedicated system.

Inheritance
System.Object
NPCMeleeCombatComponent
Namespace: Content.Server.NPC.Components
Assembly: Content.Server.dll
Syntax
public sealed class NPCMeleeCombatComponent : Component

Fields

| Improve this Doc View Source

MissChance

If the target is moving what is the chance for this NPC to miss.

Declaration
public float MissChance
Field Value
Type Description
System.Single
| Improve this Doc View Source

Status

Declaration
public CombatStatus Status
Field Value
Type Description
CombatStatus
| Improve this Doc View Source

Target

Declaration
public EntityUid Target
Field Value
Type Description
EntityUid
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾