Class ArmorDef

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

Fractional physical and magical damage reductions.

public sealed class ArmorDef
Inheritance
ArmorDef
Inherited Members

Constructors

ArmorDef(float, float, float)

Creates defense data.

public ArmorDef(float physical = 0, float magical = 0, float poison = 0)

Parameters

physical float
magical float
poison float

Properties

Magical

Magical reduction in [0, 1].

public float Magical { get; }

Property Value

float

Physical

Physical reduction in [0, 1].

public float Physical { get; }

Property Value

float

Poison

Poison reduction in [0, 1].

public float Poison { get; }

Property Value

float