Module:GenericData/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
initial doc |
Updated doc for soul distribution function |
||
| Line 1: | Line 1: | ||
=Overview= | =Overview= | ||
Provides access to generic/miscellaneous data from [[Data:GenericData.json]] | Provides access to generic/miscellaneous data from [[Data:GenericData.json]] | ||
=Functions= | =Functions= | ||
| Line 40: | Line 40: | ||
{{#invoke:GenericData|get_tiered_item_price|5}} | {{#invoke:GenericData|get_tiered_item_price|5}} | ||
==get_lane_phase_gold_share_frac== | |||
Provides access to "LanePhaseGoldShareFrac" data (soul distribution percentages when multiple players kill a lane trooper). | |||
===Parameters=== | |||
* '''index''' - Number of players splitting the souls (1 = solo, 2 = duo, etc.) | |||
===Examples=== | |||
<code><nowiki>{{#invoke:GenericData|get_lane_phase_gold_share_frac|1}}</nowiki></code> | |||
{{#invoke:GenericData|get_lane_phase_gold_share_frac|1}} | |||
<code><nowiki>{{#invoke:GenericData|get_lane_phase_gold_share_frac|2}}</nowiki></code> | |||
{{#invoke:GenericData|get_lane_phase_gold_share_frac|2}} | |||
<code><nowiki>{{#invoke:GenericData|get_lane_phase_gold_share_frac|3}}</nowiki></code> | |||
{{#invoke:GenericData|get_lane_phase_gold_share_frac|3}} | |||