Template:HeroStats2/doc
Jump to navigation
Jump to search
Documentation
[purge]
This template defines the Cargo table HeroStats2, which stores attributes for Heroes in Darkest Dungeon II. This template itself does nothing except to define the table schema. Functionality is defined in the templates and modules below:
- Template:HeroStats2/Add adds data to the table.
- Template:HeroStats2/Count displays the number of heroes defined in the table.
- Template:HeroStats2/Infobox and Module:HeroStats2/Infobox render infoboxes for individual heroes.
- Template:HeroStats2/Table and Module:HeroStats2/Table render tables of statistics for all heroes.
- Module:HeroStats2/Utils contains various utilities and definitions for hero stats.
- Template:HeroStats2/Histograms and Module:HeroStats2/Histograms generate histograms which are used to colour-code hero stats.
Schema
All fields are mandatory except default_name
and permanent_conditions
.
Field | Notes |
---|---|
name | |
image | A full-sized image of the hero. |
icon | An icon used to represent the hero in tables. |
default_name | |
hp | |
upgraded_hp | |
speed | |
upgraded_speed | |
bleed | |
upgraded_bleed | |
blight | |
upgraded_blight | |
burn | |
upgraded_burn | |
stun | |
upgraded_stun | |
move | |
upgraded_move | |
debuff | |
upgraded_debuff | |
disease | |
upgraded_disease | |
deathblow | |
upgraded_deathblow | |
forward | |
backward | |
permanent_conditions | Some heroes have permanent conditions—the Leper (Darkest Dungeon II), for example, can start each battle with Blind tokens. |