Zum Hauptinhalt springen

Dungeon Stat

Player Dungeon Statistic

Fact returning one lifetime statistic of the player in a dungeon artifact, for conditions and criteria (runs_completed >= 3). The number is in the unit of the statistic: a count, a duration in milliseconds, health points rounded, a rate in parts per thousand. A record that does not exist yet, a statistic that is not stored (current_health) and an empty artifact read 0.

Felder

FeldTypStandardBeschreibung
groupRef<GroupEntry>—Group this fact belongs to
artifactRef<DungeonArtifactEntry>—The Dungeon Artifact whose statistics are read
statDungeonStatRUNS_COMPLETEDThe statistic to read. Durations are in milliseconds, health in points (a heart is two), the completion rate in parts per thousand.
Gemeinsame TypeWriter-Felder (comment)
FeldTypStandardBeschreibung
commentString—Optional comment for documentation

How to use it​

Reads one lifetime statistic of the player in a Dungeon Artifact, as a number for a condition or a criterion (for example runs_completed >= 3). Set artifact, then pick the statistic in stat: the names are the keys of the table in uppercase (RUNS_COMPLETED is runs_completed).

The number is in the unit of the statistic: a count, a duration in milliseconds, health in points (a heart is two), the completion rate in parts per thousand (375 is 37.5 %). It is rounded to a whole number, never negative, and stops at 2147483647.

It reads 0 when the player has no value yet (no record, no run), when the artifact is empty or not set, and for current_health, which is never stored.