Module:GenericData/doc: Difference between revisions

Jump to navigation Jump to search
LVL (talk | contribs)
Removed deprecated function, added new soul distribution functions, and updated get_rejuv_param.
LVL (talk | contribs)
No edit summary
Line 64: Line 64:


{{#invoke:GenericData|get_hero_gold_share_frac|4}}
{{#invoke:GenericData|get_hero_gold_share_frac|4}}
==get_streetbrawl_param==
Provides access to "StreetBrawl" data (respawn times, gold per round, objective health, etc.).
===Parameters===
* '''key''' - The key to access (e.g., <code>m_vecGoldPerRound</code>, <code>m_iScoreToWin</code>).
* '''index''' - (OPTIONAL) The list index to access if the key's value is an array (e.g., <code>1</code> for Round 1). If omitted, returns a comma-separated list of all values.
===Example===
<code><nowiki>{{#invoke:GenericData|get_streetbrawl_param|m_iScoreToWin}}</nowiki></code>
{{#invoke:GenericData|get_streetbrawl_param|m_iScoreToWin}}