From Dark and Darker Wiki
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
I'm the GOAT | I'm the GOAT | ||
<includeonly><!-- | |||
Determine the highest variant that exists. | |||
-->{{#if:{{Monster Data|{{{1}}}#nightmare|hp}}<!-- | |||
-->|{{#vardefine:variant|#nightmare}}<!-- | |||
-->|{{#if:{{Monster Data|{{{1}}}#elite|hp}}<!-- | |||
-->|{{#vardefine:variant|#elite}}<!-- | |||
-->|{{#vardefine:variant|}}}}}}<!-- | |||
-->{{#vardefine:suppress_color|#1A91C4}} | |||
<tr> | |||
<td><!-- | |||
-->{{Iconbox|{{{1}}}|image={{{1}}}.png|size=120x120px|rarity=-1}} | |||
</td> | |||
<td><!-- | |||
Health Values: | |||
-->{{#vardefine:normal|{{Monster Data|{{{1}}}|hp}}}}<!-- | |||
-->{{#vardefine:elite|{{Monster Data|{{{1}}}#elite|hp}}}}<!-- | |||
-->{{#vardefine:nightmare|{{Monster Data|{{{1}}}#nightmare|hp}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress|}}<!-- | |||
-->{{#ifeq:{{#var:normal}}|{{#var:elite}}<!-- | |||
-->|{{#if:{{#var:nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:elite}}|{{#var:nightmare}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}}}<!-- | |||
-->{{#if:{{#var:suppress}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#var:normal}}</span><!-- | |||
-->|{{#if:{{#var:normal}}<!-- | |||
-->|{{#var:normal}}}}<!-- | |||
-->{{#if:{{#var:elite}}<!-- | |||
-->|/<span class="colorrarityElite">{{#var:elite}}</span>}}<!-- | |||
-->{{#if:{{#var:nightmare}}<!-- | |||
-->|/<span class="colorrarityNightmare">{{#var:nightmare}}</span>}}}} | |||
</td> | |||
<td><!-- | |||
Move Speed Values: | |||
-->{{#vardefine:normal|{{Monster Data|{{{1}}}|move}}}}<!-- | |||
-->{{#vardefine:elite|{{Monster Data|{{{1}}}#elite|move}}}}<!-- | |||
-->{{#vardefine:nightmare|{{Monster Data|{{{1}}}#nightmare|move}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress|}}<!-- | |||
-->{{#ifeq:{{#var:normal}}|{{#var:elite}}<!-- | |||
-->|{{#if:{{#var:nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:elite}}|{{#var:nightmare}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}}}<!-- | |||
-->{{#if:{{#var:suppress}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#var:normal}}</span><!-- | |||
-->|{{#if:{{#var:normal}}<!-- | |||
-->|{{#var:normal}}}}<!-- | |||
-->{{#if:{{#var:elite}}<!-- | |||
-->|/<span class="colorrarityElite">{{#var:elite}}</span>}}<!-- | |||
-->{{#if:{{#var:nightmare}}<!-- | |||
-->|/<span class="colorrarityNightmare">{{#var:nightmare}}</span>}}}} | |||
</td> | |||
<td><!-- | |||
Experience Values: | |||
-->{{#vardefine:normal_xp|{{Monster Data|{{{1}}}|xp}}}}<!-- | |||
-->{{#vardefine:normal_ap|{{Monster Data|{{{1}}}|ap}}}}<!-- | |||
-->{{#vardefine:elite_xp|{{Monster Data|{{{1}}}#elite|xp}}}}<!-- | |||
-->{{#vardefine:elite_ap|{{Monster Data|{{{1}}}#elite|ap}}}}<!-- | |||
-->{{#vardefine:nightmare_xp|{{Monster Data|{{{1}}}#nightmare|xp}}}}<!-- | |||
-->{{#vardefine:nightmare_ap|{{Monster Data|{{{1}}}#nightmare|ap}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress_xp|}}<!-- | |||
-->{{#ifeq:{{#var:normal_xp}}|{{#var:elite_xp}}<!-- | |||
-->|{{#if:{{#var:nightmare_xp}}<!-- | |||
-->|{{#ifeq:{{#var:elite_xp}}|{{#var:nightmare_xp}}<!-- | |||
-->|{{#vardefine:suppress_xp|true}}}}<!-- | |||
-->|{{#vardefine:suppress_xp|true}}}}}}<!-- | |||
-->{{#vardefine:suppress_ap|}}<!-- | |||
-->{{#ifeq:{{#var:normal_ap}}|{{#var:elite_ap}}<!-- | |||
-->|{{#if:{{#var:nightmare_ap}}<!-- | |||
-->|{{#ifeq:{{#var:elite_ap}}|{{#var:nightmare_ap}}<!-- | |||
-->|{{#vardefine:suppress_ap|true}}}}<!-- | |||
-->|{{#vardefine:suppress_ap|true}}}}}}<!-- | |||
-->{{#if:{{#var:suppress_xp}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#var:normal_xp}}</span><!-- | |||
-->|{{#if:{{#var:normal_xp}}<!-- | |||
-->|{{#var:normal_xp}}}}<!-- | |||
-->{{#if:{{#var:elite_xp}}<!-- | |||
-->|/<span class="colorrarityElite">{{#var:elite_xp}}</span>}}<!-- | |||
-->{{#if:{{#var:nightmare_xp}}<!-- | |||
-->|/<span class="colorrarityNightmare">{{#var:nightmare_xp}}</span>}}}}<!-- | |||
-->{{#if:{{#var:suppress_ap}}<!-- | |||
-->|<br><span style="color:{{#var:suppress_color}};">{{#var:normal_ap}}</span><!-- | |||
-->|<br>{{#if:{{#var:normal_ap}}<!-- | |||
-->|{{#var:normal_ap}}}}<!-- | |||
-->{{#if:{{#var:elite_ap}}<!-- | |||
-->|/<span class="colorrarityElite">{{#var:elite_ap}}</span>}}<!-- | |||
-->{{#if:{{#var:nightmare_ap}}<!-- | |||
-->|/<span class="colorrarityNightmare">{{#var:nightmare_ap}}</span>}}}}<!-- | |||
--></td> | |||
< | <td> | ||
{{ | <!-- Damage Reductions Loop--> | ||
{{ #arraydefine: all_current | {{Monster Data|{{{1}}}{{#var:variant}}|damagereductions|all}}}} | |||
{{ | |||
#loop: i | |||
|0 | |||
{{ | |{{#arraysize:all_current}} | ||
}} | |{{#vardefine:current|{{#arrayindex:all_current|{{#var:i}}}}}}<!-- | ||
Store reduction strings. | |||
-->{{#vardefine:reduction_normal|{{#explode:{{#vardefineecho:normal|{{Monster Data|{{{1}}}|damagereductions|{{lc:{{#var:current}}}}}}}}|*|0|2}}}}<!-- | |||
-->{{#vardefine:reduction_elite|{{#explode:{{#vardefineecho:elite|{{Monster Data|{{{1}}}#elite|damagereductions|{{lc:{{#var:current}}}}}}}}|*|0|2}}}}<!-- | |||
-->{{#vardefine:reduction_nightmare|{{#explode:{{#vardefineecho:nightmare|{{Monster Data|{{{1}}}#nightmare|damagereductions|{{lc:{{#var:current}}}}}}}}|*|0|2}}}}<!-- | |||
< | Store policy strings. | ||
-->{{#vardefine:details_normal|{{#replace:{{#explode:{{#var:normal}}|*|1|2}}|,|<br>}}}}<!-- | |||
-->{{#vardefine:details_elite|{{#replace:{{#explode:{{#var:elite}}|*|1|2}}|,|<br>}}}}<!-- | |||
</ | -->{{#vardefine:details_nightmare|{{#replace:{{#explode:{{#var:nightmare}}|*|1|2}}|,|<br>}}}}<!-- | ||
</noinclude> | Define suppression flag. The flag suppresses values only if all variants that exist are equal. | ||
-->{{#vardefine:suppress|}}<!-- | |||
-->{{#ifeq:{{#var:reduction_normal}}|{{#var:reduction_elite}}<!-- | |||
-->|{{#if:{{#var:reduction_nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:reduction_elite}}|{{#var:reduction_nightmare}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}}}<!-- | |||
--><span style="color:#eeeeee88;">{{#explode:{{ #var:current }}| |0}}: </span><!-- | |||
-->{{#if:{{#var:suppress}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};"><!-- | |||
-->{{#if:{{#var:details_normal}}<!-- | |||
-->|<span class="tooltip"><u>[{{#var:reduction_normal}}%]</u><span class="tooltiptext-right">{{#var:details_normal}}</span></span><!-- | |||
-->|{{#var:reduction_normal}}%}}</span><!-- | |||
-->|{{#if:{{#var:reduction_normal}}<!-- | |||
-->|{{#if:{{#var:details_normal}}<!-- | |||
-->|<span class="tooltip"><u>{{#var:reduction_normal}}%</u><span class="tooltiptext-right">{{#var:details_normal}}</span></span><!-- | |||
-->|{{#var:reduction_normal}}%}}}}<!-- | |||
-->{{#if:{{#var:reduction_elite}}<!-- | |||
-->|/<span class="colorrarityElite"><!-- | |||
-->{{#if:{{#var:details_elite}}<!-- | |||
-->|<span class="tooltip"><u>{{#var:reduction_elite}}%</u><span class="tooltiptext-right">{{#var:details_elite}}</span></span><!-- | |||
-->|{{#var:reduction_elite}}%}}</span>}}<!-- | |||
-->{{#if:{{#var:reduction_nightmare}}<!-- | |||
-->|/<span class="colorrarityNightmare"><!-- | |||
-->{{#if:{{#var:details_nightmare}}<!-- | |||
-->|<span class="tooltip"><u>{{#var:reduction_nightmare}}%</u><span class="tooltiptext-right">{{#var:details_nightmare}}</span></span><!-- | |||
-->|{{#var:reduction_nightmare}}%}}</span>}}}}<br>}} | |||
</td> | |||
<td><!-- | |||
Attacks' Damage(Impact Power) Loop | |||
Assumptions: | |||
- If the variants exists, lower variants have a subset of higher variant ability set. | |||
- An ability, if present, has identical names across variants. Strings associated with an Ability can vary. Order of abilities matters. | |||
- Important ability values that vary by variant type are followed by the "#" token. | |||
- Statuses applied by an ability are preceded by the "$" token. | |||
- Impact Power of an ability is invariant. | |||
-->{{#arraydefine:all_abilities|{{Monster Data|{{{1}}}{{#var:variant}}|damages|all}}}} | |||
{{ | |||
#loop: i | |||
|0 | |||
|{{#arraysize:all_abilities}} | |||
|{{#vardefine:current_ability|{{#arrayindex:all_abilities|{{#var:i}}}}}}<!-- | |||
Store current ability's Effects and Statuses. | |||
-->{{#arraydefine:current_ability_effects|{{#explode:{{Monster Data|{{{1}}}{{#var:variant}}|damages|{{lc:{{#var:current_ability}}}}}}|$|0|2}}}}<!-- | |||
-->{{#arraydefine:current_ability_statuses|{{#replace:{{#explode:{{Monster Data|{{{1}}}{{#var:variant}}|damages|{{lc:{{#var:current_ability}}}}}}|$|1|2}}|$|,}}}}<!-- | |||
Store Effect and Status for each variant. | |||
-->{{#arraydefine:effects_normal|{{#explode:{{Monster Data|{{{1}}}|damages|{{lc:{{#var:current_ability}}}}}}|$|0|2}}}}<!-- | |||
-->{{#arraydefine:effects_elite|{{#explode:{{Monster Data|{{{1}}}#elite|damages|{{lc:{{#var:current_ability}}}}}}|$|0|2}}}}<!-- | |||
-->{{#arraydefine:effects_nightmare|{{#explode:{{Monster Data|{{{1}}}#nightmare|damages|{{lc:{{#var:current_ability}}}}}}|$|0|2}}}}<!-- | |||
-->{{#arraydefine:statuses_normal|{{#replace:{{#explode:{{Monster Data|{{{1}}}|damages|{{lc:{{#var:current_ability}}}}}}|$|1|2}}|$|,}}}}<!-- | |||
-->{{#arraydefine:statuses_elite|{{#replace:{{#explode:{{Monster Data|{{{1}}}#elite|damages|{{lc:{{#var:current_ability}}}}}}|$|1|2}}|$|,}}}}<!-- | |||
-->{{#arraydefine:statuses_nightmare|{{#replace:{{#explode:{{Monster Data|{{{1}}}#nightmare|damages|{{lc:{{#var:current_ability}}}}}}|$|1|2}}|$|,}}}}<!-- | |||
Store Impact Power. | |||
-->{{#vardefine:impact_power|{{Monster Data|{{{1}}}{{#var:variant}}|impacts|{{lc:{{#var:current_ability}}}}}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress_effects|}}<!-- | |||
-->{{#ifeq:{{#arrayprint:effects_normal}}|{{#arrayprint:effects_elite}}<!-- | |||
-->|{{#if:{{#arrayprint:effects_nightmare}}<!-- | |||
-->|{{#ifeq:{{#arrayprint:effects_elite}}|{{#arrayprint:effects_nightmare}}<!-- | |||
-->|{{#vardefine:suppress_effects|true}}}}<!-- | |||
-->|{{#vardefine:suppress_effects|true}}}}}}<!-- | |||
--><span style="color:#eee8;">{{#var:current_ability}}: </span><!-- | |||
Loop across all effects in current ability | |||
-->{{ | |||
#loop: e | |||
|0 | |||
|{{#arraysize:current_ability_effects}} | |||
|{{#vardefine:current_effect|{{#arrayindex:current_ability_effects|{{#var:e}}}}}}<!-- | |||
Split effects into value and type and store them for each variant. | |||
-->{{#vardefine:value_normal|{{#explode:{{#arrayindex:effects_normal|{{#var:e}}}}|#|0|2}}}}<!-- | |||
-->{{#vardefine:value_elite|{{#explode:{{#arrayindex:effects_elite|{{#var:e}}}}|#|0|2}}}}<!-- | |||
-->{{#vardefine:value_nightmare|{{#explode:{{#arrayindex:effects_nightmare|{{#var:e}}}}|#|0|2}}}}<!-- | |||
-->{{#vardefine:type_normal|{{#explode:{{#arrayindex:effects_normal|{{#var:e}}}}|#|1|2}}}}<!-- | |||
-->{{#vardefine:type_elite|{{#explode:{{#arrayindex:effects_elite|{{#var:e}}}}|#|1|2}}}}<!-- | |||
-->{{#vardefine:type_nightmare|{{#explode:{{#arrayindex:effects_nightmare|{{#var:e}}}}|#|1|2}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress_type|}}<!-- | |||
-->{{#ifeq:{{#var:type_normal}}|{{#var:type_elite}}<!-- | |||
-->|{{#if:{{#var:type_nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:type_elite}}|{{#var:type_nightmare}}<!-- | |||
-->|{{#vardefine:suppress_type|true}}}}<!-- | |||
-->|{{#vardefine:suppress_type|true}}}}}}<!-- | |||
Display Values | |||
-->{{#ifexpr:{{#var:e}}=0||{{#ifeq:{{{1}}}|Lich| or |, }}}}<!-- | |||
-->{{#if:{{#var:suppress_effects}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#var:value_normal}}{{#if:{{#var:impact_power}}|({{#var:impact_power}})}}</span><!-- | |||
-->|{{#if:{{#var:value_normal}}<!-- | |||
-->|{{#var:value_normal}}{{#if:{{#var:impact_power}}|({{#var:impact_power}})}}}}<!-- | |||
-->{{#if:{{#var:value_elite}}<!-- | |||
-->|{{#if:{{#var:value_normal}}|/}}<span class="colorrarityElite">{{#var:value_elite}}{{#if:{{#var:impact_power}}|({{#var:impact_power}})}}</span>}}<!-- | |||
-->{{#if:{{#var:value_nightmare}}<!-- | |||
-->|{{#if:{{#var:value_normal}}{{#var:value_elite}}|/}}<span class="colorrarityNightmare">{{#var:value_nightmare}}{{#if:{{#var:impact_power}}|({{#var:impact_power}})}}</span>}}}}<!-- | |||
Display Types | |||
-->{{#if:{{#var:suppress_type}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};"> {{#var:type_normal}}</span><!-- | |||
-->|{{#if:{{#var:type_normal}}<!-- | |||
-->| {{#var:type_normal}}}}<!-- | |||
-->{{#if:{{#var:type_elite}}<!-- | |||
-->|{{#ifeq:{{#var:type_normal}}|{{#var:type_elite}}<!-- | |||
-->||{{#if:{{#var:type_normal}}|/}} <span class="colorrarityElite">{{#var:type_elite}}</span>}}}}<!-- | |||
-->{{#if:{{#var:type_nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:type_elite}}|{{#var:type_nightmare}}<!-- | |||
-->||{{#if:{{#var:type_normal}}{{#var:type_elite}}|/}} <span class="colorrarityNightmare">{{#var:type_nightmare}}</span>}}}}}} | |||
}}<!-- | |||
If ability has effects and statuses, precede Statuses with " + ". | |||
-->{{#if:{{#arrayprint:current_ability_effects}}|{{#if:{{#arrayprint:current_ability_statuses}}| + }}}}<!-- | |||
Loop across all statuses in current ability | |||
-->{{ | |||
#loop: s | |||
|0 | |||
|{{#arraysize:current_ability_statuses}} | |||
|{{#vardefine:current_effect|{{#arrayindex:current_ability_statuses|{{#var:s}}}}}}<!-- | |||
Store status strings for each variant. | |||
-->{{#vardefine:status_normal|{{#arrayindex:statuses_normal|{{#var:s}}}}}}<!-- | |||
-->{{#vardefine:status_elite|{{#arrayindex:statuses_elite|{{#var:s}}}}}}<!-- | |||
-->{{#vardefine:status_nightmare|{{#arrayindex:statuses_nightmare|{{#var:s}}}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress_status|}}<!-- | |||
-->{{#ifeq:{{#var:status_normal}}|{{#var:status_elite}}<!-- | |||
-->|{{#if:{{#var:status_nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:status_elite}}|{{#var:status_nightmare}}<!-- | |||
-->|{{#vardefine:suppress_status|true}}}}<!-- | |||
-->|{{#vardefine:suppress_status|true}}}}}}<!-- | |||
Display Statuses | |||
-->{{#if:{{#var:suppress_status}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#ifexpr:{{#var:s}}=0||, }}{{#var:status_normal}}</span><!-- | |||
-->|{{#ifexpr:{{#var:s}}=0||, }}<!-- | |||
-->{{#if:{{#var:status_normal}}<!-- | |||
-->|{{#var:status_normal}}}}<!-- | |||
-->{{#if:{{#var:status_elite}}<!-- | |||
-->|{{#if:{{#var:status_normal}}|/}}<span class="colorrarityElite">{{#var:status_elite}}</span>}}<!-- | |||
-->{{#if:{{#var:status_nightmare}}<!-- | |||
-->|{{#if:{{#var:status_normal}}{{#var:status_elite}}|/}}<span class="colorrarityNightmare">{{#var:status_nightmare}}</span>}}}} | |||
}}<br> | |||
}} | |||
</td> | |||
<td><!-- | |||
Statuses Loop --> | |||
{{#arraydefine:all_current|{{Monster Data|{{{1}}}{{#var:variant}}|statuses|all}}}} | |||
{{ | |||
#loop: i | |||
|0 | |||
|{{ #arraysize:all_current }} | |||
|{{#vardefine:current|{{#arrayindex:all_current|{{#var:i}}}}}}<!-- | |||
Store Monster Data strings. | |||
-->{{#vardefine:normal|{{Monster Data|{{{1}}}|statuses|{{lc:{{#var:current}}}}}}}}<!-- | |||
-->{{#vardefine:elite|{{Monster Data|{{{1}}}#elite|statuses|{{lc:{{#var:current}}}}}}}}<!-- | |||
-->{{#vardefine:nightmare|{{Monster Data|{{{1}}}#nightmare|statuses|{{lc:{{#var:current}}}}}}}}<!-- | |||
Store status strings. | |||
-->{{#vardefine:status_normal|{{#explode:{{#var:normal}}|*|0|2}}}}<!-- | |||
-->{{#vardefine:status_elite|{{#explode:{{#var:elite}}|*|0|2}}}}<!-- | |||
-->{{#vardefine:status_nightmare|{{#explode:{{#var:nightmare}}|*|0|2}}}}<!-- | |||
Store policy strings. | |||
-->{{#arraydefine:policies_normal|{{#explode:{{#var:normal}}|*|1|2}}}}<!-- | |||
-->{{#arraydefine:policies_elite|{{#explode:{{#var:elite}}|*|1|2}}}}<!-- | |||
-->{{#arraydefine:policies_nightmare|{{#explode:{{#var:nightmare}}|*|1|2}}}}<!-- | |||
--><span style="color:#eeeeee88;">{{#var:current}}: </span><!-- | |||
Define suppression flags. The flag suppresses values only if all value variants that exist are equal. | |||
-->{{#vardefine:suppress_status|}}<!-- | |||
-->{{#ifeq:{{#var:status_normal}}|{{#var:status_elite}}<!-- | |||
-->|{{#if:{{#var:status_nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:status_elite}}|{{#var:status_nightmare}}<!-- | |||
-->|{{#vardefine:suppress_status|true}}}}<!-- | |||
-->|{{#vardefine:suppress_status|true}}}}}}<!-- | |||
-->{{#vardefine:suppress_policies|}}<!-- | |||
-->{{#ifeq:{{#arrayprint:policies_normal}}|{{#arrayprint:policies_elite}}<!-- | |||
-->|{{#if:{{#arrayprint:policies_nightmare}}<!-- | |||
-->|{{#ifeq:{{#arrayprint:policies_elite}}|{{#arrayprint:policies_nightmare}}<!-- | |||
-->|{{#vardefine:suppress_policies|true}}}}<!-- | |||
-->|{{#vardefine:suppress_policies|true}}}}}}<!-- | |||
Display status string | |||
-->{{#if:{{#var:suppress_status}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#var:status_normal}}</span><!-- | |||
-->|{{#if:{{#var:status_normal}}<!-- | |||
-->|{{#var:status_normal}}<!-- | |||
-->{{#if:{{#var:suppress_policies}}<!-- | |||
-->||{{#if:{{#arrayprint:policies_normal}}<!-- | |||
-->| {{ | |||
#loop: i | |||
|0 | |||
|{{#arraysize:policies_normal}} | |||
|{{#vardefine:current_policy|{{#arrayindex:policies_normal|{{#var:i}}}}}}<!-- | |||
--><span class="tooltip"><u>[{{#if:true|{{Monster Data|Policies|{{#var:current_policy}}}}}}]</u><span class="tooltiptext-right">{{#var:current_policy}}</span></span>}}}}}}}}<!-- | |||
-->{{#if:{{#var:status_elite}}<!-- | |||
-->|{{#if:{{#var:status_normal}}|/}}<!-- | |||
--><span class="colorrarityElite">{{#var:status_elite}}<!-- | |||
-->{{#if:{{#var:suppress_policies}}<!-- | |||
-->||{{#if:{{#arrayprint:policies_elite}}<!-- | |||
-->| {{ | |||
#loop: i | |||
|0 | |||
|{{#arraysize:policies_elite}} | |||
|{{#vardefine:current_policy|{{#arrayindex:policies_elite|{{#var:i}}}}}}<!-- | |||
--><span class="tooltip"><u>[{{#if:true|{{Monster Data|Policies|{{#var:current_policy}}}}}}]</u><span class="tooltiptext-right">{{#var:current_policy}}</span></span>}}}}}}</span>}}<!-- | |||
-->{{#if:{{#var:status_nightmare}}<!-- | |||
-->|{{#if:{{#var:status_elite}}|/}}<!-- | |||
--><span class="colorrarityNightmare">{{#var:status_nightmare}}<!-- | |||
-->{{#if:{{#var:suppress_policies}}<!-- | |||
-->||{{#if:{{#arrayprint:policies_nightmare}}<!-- | |||
-->| {{ | |||
#loop: i | |||
|0 | |||
|{{#arraysize:policies_nightmare}} | |||
|{{#vardefine:current_policy|{{#arrayindex:policies_nightmare|{{#var:i}}}}}}<!-- | |||
--><span class="tooltip"><u>[{{#if:true|{{Monster Data|Policies|{{#var:current_policy}}}}}}]</u><span class="tooltiptext-right">{{#var:current_policy}}</span></span>}}}}}}</span>}}}}<!-- | |||
-->{{#if:{{#var:suppress_policies}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};"> {{ | |||
#loop: p | |||
|0 | |||
|{{#arraysize:policies_normal}} | |||
|{{#vardefine:current_policy|{{#arrayindex:policies_normal|{{#var:p}}}}}}<!-- | |||
--><span class="tooltip"><u>[{{#if:true|{{Monster Data|Policies|{{#var:current_policy}}}}}}]</u><span class="tooltiptext-right">{{#var:current_policy}}</span></span>}}</span>}}<br> | |||
}} | |||
</td> | |||
<td><!-- | |||
Race | |||
-->{{#if:{{#vardefineecho:race|{{Monster Data|{{{1}}}|races|all}}}}<!-- | |||
-->|[[{{#replace:{{Monster Data|{{{1}}}|races|all}}|,|{{))!}}-{{!((}}}}]]}} | |||
</td> | |||
<td><!-- | |||
Action Speed | |||
-->{{#vardefine:normal|{{Monster Data|{{{1}}}|actionspeed}}}}<!-- | |||
-->{{#vardefine:elite|{{Monster Data|{{{1}}}#elite|actionspeed}}}}<!-- | |||
-->{{#vardefine:nightmare|{{Monster Data|{{{1}}}#nightmare|actionspeed}}}}<!-- | |||
Define suppression flag. The flag suppresses values only if all variants that exist are equal. | |||
-->{{#vardefine:suppress|}}<!-- | |||
-->{{#ifeq:{{#var:normal}}|{{#var:elite}}<!-- | |||
-->|{{#if:{{#var:nightmare}}<!-- | |||
-->|{{#ifeq:{{#var:elite}}|{{#var:nightmare}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}<!-- | |||
-->|{{#vardefine:suppress|true}}}}}}<!-- | |||
-->{{#if:{{#var:suppress}}<!-- | |||
-->|<span style="color:{{#var:suppress_color}};">{{#var:normal}}%</span><!-- | |||
-->|{{#if:{{#var:normal}}<!-- | |||
-->|{{#var:normal}}%}}<!-- | |||
-->{{#if:{{#var:elite}}<!-- | |||
-->|/<span class="colorrarityElite">{{#var:elite}}%</span>}}<!-- | |||
-->{{#if:{{#var:nightmare}}<!-- | |||
-->|/<span class="colorrarityNightmare">{{#var:nightmare}}%</span>}}}} | |||
</td> | |||
</tr> | |||
</includeonly> | |||
<noinclude><pre>{{RegularMonsterTable|{{GenerateMonsterRows|All}}}}</pre> | |||
{{RegularMonsterTable|{{GenerateMonsterRows|All}}}} | |||
</noinclude> |