trusted
5,929
edits
SurtrFan8511 (talk | contribs) m |
SurtrFan8511 (talk | contribs) |
||
Line 24: | Line 24: | ||
| 1 | | 1 | ||
| {{{phases|1}}} | | {{{phases|1}}} | ||
| {{#arraydefine:quest transient list|{{{enemies{{#var:phasecount}}|}}}| | | {{#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 | ||
| 0 | | 0 | ||
| {{#var:quest column size}} | | {{#var:quest column size}} | ||
| {{#vardefine:quest enemy|{{#arrayindex:quest transient list|{{#var:i}}}}}}<td style='text-align:left;'>{{#if:{{#explode:{{#var:quest enemy}}| | | {{#vardefine:quest enemy|{{#arrayindex:quest transient list|{{#var:i}}}}}}<td style='text-align:left;'>{{#if:{{#explode:{{#var:quest enemy}}|,|0}}|{{#vardefine:quest enemy subobject|{{#ask:[[Has game context::Transient]] | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | [[Has ID::{{#explode:{{#var:quest enemy}}|,|0}}]] | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | |link=none|limit=1}}}}{{Transient icon|subobject={{#var:quest enemy subobject}}}}}}</td><!--unit--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|1}}|{{#masterdata:SkillDescription|{{#explode:{{#var:quest enemy}}|,|1}}}}}}</td><!--skills (TODO update for multiple skills)--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|2}}|{{#explode:{{#var:quest enemy}}|,|2}}}}</td><!--LV--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|3}}|{{#explode:{{#var:quest enemy}}|,|3}}}}</td><!--SA Lv--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|4}}|{{#explode:{{#var:quest enemy}}|,|4}}}}</td><!--Skill Lv--> | ||
<td>{{#if:{{#explode:{{#var:quest enemy}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|5}}|{{#ifeq:{{#explode:{{#var:quest enemy}}|,|5}}}}|auto|{{#expr:{{#show:{{#var:quest enemy subobject}}|?Has hp value #}}+{{#show:{{#var:quest enemy subobject}}|?Has hp growth value #}}*({{#explode:{{#var:quest enemy}}|,|2}}}}}}-1)|{{#explode:{{#var:quest enemy}}|,|5}}}}</td><!--HP--> | ||
<td style='text-align:left;'>{{#if:{{#explode:{{#var:quest drop}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|6}}|{{#ifeq:{{#explode:{{#var:quest enemy}}|,|6}}}}|auto|{{#expr:{{#show:{{#var:quest enemy subobject}}|?Has atk value #}}+{{#show:{{#var:quest enemy subobject}}|?Has atk growth value #}}*({{#explode:{{#var:quest enemy}}|,|2}}}}}}-1)|{{#explode:{{#var:quest enemy}}|,|6}}}}</td><!--ATK--> | ||
<td>{{#if:{{#explode:{{#var:quest drop}}| | <td>{{#if:{{#explode:{{#var:quest enemy}}|,|7}}|{{#explode:{{#var:quest enemy}}|,|7}}}}</td><!--Number-->{{#vardefine:quest drop|{{#arrayindex:quest drop list|{{#var:i}}}}}} | ||
<td>{{#if:{{#explode:{{#var:quest drop}}| | <td style='text-align:left;'>{{#if:{{#explode:{{#var:quest drop}}|,|0}}|{{Item|id={{#explode:{{#var:quest drop}}|,|0}}}}}}</td><!--item--> | ||
<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> | |||
}}</tr>}} | }}</tr>}} | ||
</table></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> | </table></includeonly></onlyinclude><noinclude>{{Documentation}}</noinclude> |