Skip to main content

PlayerCommandModule.StatValue

A class in TavernLib, TavernLib.ModulePorts.

The answer to player check-stat: one stat's definition, current value and base value.

Constructors​

MemberWhat it is
StatValue()Makes an empty stat value; the stat conversion fills it.

Properties​

MemberWhat it is
float Base { get; set; }The stat's base value, before modifiers.
HashedItemInfo Definition { get; set; }The stat's definition, as hashed item info.
float Value { get; set; }The stat's current value.

Methods​

MemberWhat it is
static PlayerCommandModule.StatValue op_Implicit(Stat stat)Makes a StatValue from a game Stat.

Used in​

Members of other types that take, return or hold a StatValue: