Struct EventInfoAttackHit
Namespace: Global
Assembly: Dew.Core.dll
Syntax
public struct EventInfoAttackHit
Fields
actor
The actor who invoked this event in an actor chain.
Declaration
public Actor actor
Field Value
| Type | Description |
|---|---|
| Actor |
attacker
Attacker of this hit.
Declaration
public Entity attacker
Field Value
| Type | Description |
|---|---|
| Entity |
isCrit
Is hit attack critical hit?
Declaration
public bool isCrit
Field Value
| Type | Description |
|---|---|
| bool |
strength
Strength of this attack. Set to 1 by default.
Declaration
public float strength
Field Value
| Type | Description |
|---|---|
| float |
victim
Victim of this hit.
Declaration
public Entity victim
Field Value
| Type | Description |
|---|---|
| Entity |