Difference between revisions of "Template:Gacha rates"

Jump to navigation Jump to search
457 bytes added ,  06:04, 3 September 2020
no edit summary
m (removed space separation)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude><table class=wikitable>
<includeonly><onlyinclude><table class=wikitable>
<tr>
<tr>
  <th>{{#ifeq:{{{1|}}}|AR|AR Equipment|Transients}}</th>
  <th>{{Tooltip|{{#ifeq:{{{1|}}}|AR|AR Equipment|Transients}}|Units here are grouped by the same rates, said rates apply to each one individually}}</th>
  <th>Rates (single)</th>
  <th>{{Tooltip|Rates (single)|Chance to obtain a transient from a ticket or from a 1-9th pull when doing a multiroll}}</th>
  <th>Rates (multi)</th>
  <th>{{Tooltip|Rates (multi)|Chance to obtain a transient from a 10th pull from a multiroll}}</th>
  <th>Stone calculations</th>
  <th>{{Tooltip|Stone calculations|Chance to obtain a single copy of a transient after spending various amounts of stones. Rounded to the nearest digit (100% rates are in reality rounded up rates of 99.995+%)}}</th>
{{#fornumargs:k|v
{{#fornumargs:k|v
|<tr>
|<tr>
<td>{{#arraydefine:arr|{{#explode:{{#var:v}}|:|0}}|;}}{{#arrayprint:arr||@@@|{{#vardefine:name|{{#explode:@@@|/|0}}}}{{#vardefine:rarity|{{#explode:@@@|/|1}}}}{{#vardefine:variant|{{#explode:@@@|/|2}}}}{{#if:{{#var:name}}|{{#ifeq:{{{type|}}}|AR|{{AR Equipment icon|en name={{#var:name}}}}|{{Transient icon|{{#var:name}}|size=medium|frame=y|rarity={{#var:rarity}}|variant={{#var:variant|Standard}}}}}}|{{#var:variant|Offbanner}}{{#if:{{#var:rarity}}|{{spaces|1}}{{Star|{{#var:rarity}}}}}}}}}}</td>{{#vardefine:single rates|{{#explode:{{#explode:{{#var:v}}|::|1}}|;|0}}}}{{#vardefine:multi rates|{{#explode:{{#explode:{{#var:v}}|::|1}}|;|1}}}}<td>{{#var:single rates}}%</td>
<td>{{#arraydefine:arr|{{#explode:{{#var:v}}|::|0}}|;}}{{#arrayprint:arr||@@@|{{#vardefine:name|{{#explode:@@@|/|0}}}}{{#vardefine:rarity|{{#explode:@@@|/|1}}}}{{#vardefine:variant|{{#explode:@@@|/|2}}}}{{#if:{{#var:name}}|{{#ifeq:{{{type|}}}|AR|{{AR Equipment icon|en name={{#var:name}}}}|{{Transient icon|{{#var:name}}|size=medium|frame=y|rarity={{#var:rarity}}|variant={{#var:variant|Standard}}}}}}|{{#var:variant|Offbanner}}{{#if:{{#var:rarity}}|{{spaces|1}}{{Star|{{#var:rarity}}}}}}}}}}</td>{{#vardefine:single rates|{{#explode:{{#explode:{{#var:v}}|::|1}}|;|0}}}}{{#vardefine:multi rates|{{#explode:{{#explode:{{#var:v}}|::|1}}|;|1}}}}<td>{{#var:single rates}}%</td>
<td>{{#var:multi rates|0}}%</td>
<td>{{#var:multi rates|0}}%</td>
<td>{{Collapsible box|{{Gacha stone calculations|base={{#var:single rates|0}}|multi={{#var:multi rates|0}}}}}}</td>
<td>{{Collapsible box|{{Gacha stone calculations|base={{#var:single rates|0}}|multi={{#var:multi rates|0}}}}}}</td>
trusted
5,894

edits

Navigation menu