Toggle menu
505
2.3K
828
21.8K
Deadlock Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:HeroData/release/doc

From Deadlock Wiki
Revision as of 23:38, 23 November 2024 by Sur (talk | contribs) (initial docs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:HeroData/release

Functions[edit]

get_hero_release_status[edit]

Determines the release-status of a given hero

Parameters[edit]

  • hero_key - Key of the hero to check

Output[edit]

  • HeroLabs - If the hero is currently playable in Hero Labs
  • Released - If the hero is currently playable in all modes
  • nil - If the hero is neither

Examples[edit]

{{#invoke:HeroData/release|get_hero_release_status|hero_synth}} Released

{{#invoke:HeroData/release|get_hero_release_status|hero_trapper}} HeroLabs

{{#invoke:HeroData/release|get_hero_release_status|hero_operative}} HeroLabs

{{#invoke:HeroData/release|get_hero_release_status|hero_madeuphero}} hero_key hero_madeuphero is not a hero