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)
Jump to navigation Jump to search

This is the documentation page for Module:HeroData/release

Functions[edit source]

get_hero_release_status[edit source]

Determines the release-status of a given hero

Parameters[edit source]

  • hero_key - Key of the hero to check

Output[edit source]

  • 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 source]

{{#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}}


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