Class LifeStealDef

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

Healing after positive actual health loss by this damage definition; shields and reflected packets do not qualify.

public sealed class LifeStealDef
Inheritance
LifeStealDef
Inherited Members

Constructors

LifeStealDef(string, float, float, bool, bool)

Creates source restoration, capped by missing health.

public LifeStealDef(string id, float healthShare, float flatHealing = 0, bool includePeriodic = false, bool healCreditOwner = false)

Parameters

id string
healthShare float
flatHealing float
includePeriodic bool
healCreditOwner bool

Properties

FlatHealing

Additional flat restoration per qualifying packet.

public float FlatHealing { get; }

Property Value

float

HealCreditOwner

Heals the explicit experience-credit owner instead of the immediate source. Missing or dead owners receive nothing.

public bool HealCreditOwner { get; }

Property Value

bool

HealthShare

Share of actual health loss restored.

public float HealthShare { get; }

Property Value

float

Id

Neutral event identity.

public string Id { get; }

Property Value

string

IncludePeriodic

Also permits periodic effect damage; direct, channel and trap packets are otherwise eligible.

public bool IncludePeriodic { get; }

Property Value

bool