trusted
5,929
edits
SurtrFan8511 (talk | contribs) (Fixed to work with AR drops) |
SurtrFan8511 (talk | contribs) |
||
Line 24: | Line 24: | ||
| 1 | | 1 | ||
| {{{phases|1}}} | | {{{phases|1}}} | ||
| {{#arraydefine:quest transient list|{{{enemies{{#var:phasecount}}|}}}|;}}{{#arraydefine:quest drop list|{{{drops{{#var:phasecount}}|}}}|;}}{{#vardefine:qtl size|{{#arraysize:quest transient list}}}}{{#vardefine:qdl size|{{#arraysize:quest drop list}}}}{{#vardefine:quest column size|{{#ifexpr:{{#var:qtl size|0}} > {{#var:qdl size|0}}|{{#var:qtl size}}|{{#var:qdl size|0}}}}}}<tr><th style='background-color: #cccccc;' rowspan='{{#var:quest column size}}'>Phase {{#var:phasecount}}<br>{{#if:{{{maxenemies{{#var:phasecount}}|}}}|<abbr title='The maximum amount of enemies that will appear in this phase.'>Max: {{{maxenemies{{#var:phasecount}}|}}}</abbr>}}</th>{{#loop:i | | {{#arraydefine:quest transient list|{{{enemies{{#var:phasecount}}|}}}|;}}{{#arraydefine:quest drop list|{{{drops{{#var:phasecount}}|}}}|;}}{{#vardefine:qtl size|{{#arraysize:quest transient list}}}}{{#vardefine:qdl size|{{#arraysize:quest drop list}}}}{{#vardefine:quest column size|{{#ifexpr:{{#var:qtl size|0}} > {{#var:qdl size|0}}|{{#var:qtl size}}|{{#var:qdl size|0}}}}}}{{#ifeq:{{#var:quest column size}}|0||<tr><th style='background-color: #cccccc;' rowspan='{{#var:quest column size}}'>Phase {{#var:phasecount}}<br>{{#if:{{{maxenemies{{#var:phasecount}}|}}}|<abbr title='The maximum amount of enemies that will appear in this phase.'>Max: {{{maxenemies{{#var:phasecount}}|}}}</abbr>}}</th>{{#loop:i | ||
| 0 | | 0 | ||
| {{#var:quest column size}} | | {{#var:quest column size}} | ||
Line 42: | Line 42: | ||
<td>{{#if:{{#explode:{{#var:quest drop}}|,|1}}|{{#explode:{{#var:quest drop}}|,|1}}}}</td><!--% drop--> | <td>{{#if:{{#explode:{{#var:quest drop}}|,|1}}|{{#explode:{{#var:quest drop}}|,|1}}}}</td><!--% drop--> | ||
<td>{{#if:{{#explode:{{#var:quest drop}}|,|2}}|{{#explode:{{#var:quest drop}}|,|2}}}}</td><!--amount--></tr><tr> | <td>{{#if:{{#explode:{{#var:quest drop}}|,|2}}|{{#explode:{{#var:quest drop}}|,|2}}}}</td><!--amount--></tr><tr> | ||
}}</tr>}} | }}</tr>}}}} | ||
</table></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> | </table></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> |