Class ReflectionDef

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

One-bounce reflection from actual health loss, not raw input or shield absorption.

public sealed class ReflectionDef
Inheritance
ReflectionDef
Inherited Members

Constructors

ReflectionDef(string, float, DamageDef)

Creates reflection. Reflected packets cannot activate native reflection or life steal again.

public ReflectionDef(string id, float share, DamageDef damage)

Parameters

id string
share float
damage DamageDef

Properties

Damage

Leaf damage channel/options; endpoints are ignored. No area, terminal flags, on-hit effects, payload or life steal.

public DamageDef Damage { get; }

Property Value

DamageDef

Id

Neutral event identity.

public string Id { get; }

Property Value

string

Share

Share of positive applied health loss, rounded up once.

public float Share { get; }

Property Value

float