Template:TypeEffectiveness: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
{{#arraydefine:weaknesses|{{{Weaknesses|}}}}}
{{#arraydefine:weaknesses|{{{Weaknesses|}}}}}
{{#arraydefine:weaknessmagnitudes|{{{WeaknessMagnitudes|}}}}}
{{#arraydefine:weaknessmagnitudes|{{{WeaknessMagnitudes|}}}}}
{{#arraydefine:resistancemagnitudes|{{{ResistanceMagnitudes|}}}}}
{{#arraydefine:neutralities|{{{Neutralities|}}}}}
{{#arraydefine:neutralities|{{{Neutralities|}}}}}
{{#arraydefine:resistances|{{{Resistances|}}}}}
{{#arraydefine:resistances|{{{Resistances|}}}}}
Line 60: Line 61:
{{#vardefine:first|{{#expr:{{#var:resistance}} + {{#var:factor}} - 1}}}}
{{#vardefine:first|{{#expr:{{#var:resistance}} + {{#var:factor}} - 1}}}}
{{#vardefine:second|{{#expr:{{#var:resistance}} + {{#var:factor}}}}}}
{{#vardefine:second|{{#expr:{{#var:resistance}} + {{#var:factor}}}}}}
<tr><td>{{TypePip|{{#arrayindex:resistances|{{#var:first}}}}}}</td>{{#if: {{#arrayindex:resistances|{{#var:second}}}} |<td>{{TypePip|{{#arrayindex:resistances|{{#var:second}}}}}}</td>}}</tr>
<tr><td>{{TypePip|{{#arrayindex:resistances|{{#var:first}}}}|bold={{#arrayindex:resistancemagnitudes|{{#var:first}}}}}}</td>{{#if: {{#arrayindex:resistances|{{#var:second}}}} |<td>{{TypePip|{{#arrayindex:resistances|{{#var:second}}}}|bold={{#arrayindex:resistancemagnitudes|{{#var:second}}}}}}</td>}}</tr>
}}
}}
|
|
Line 89: Line 90:
</tr>
</tr>
<tr><td colspan="4"><p style="font-size: 11px; font-weight: bold; margin-left: 10px;">All <span style="color:#000000; font-weight: bold;">darkened</span> weakness types have a 4x weakness due to the multiplicative damage-modifiers of both of the Pokémon's type weaknesses.</p></td></tr>
<tr><td colspan="4"><p style="font-size: 11px; font-weight: bold; margin-left: 10px;">All <span style="color:#000000; font-weight: bold;">darkened</span> weakness types have a 4x weakness due to the multiplicative damage-modifiers of both of the Pokémon's type weaknesses.</p></td></tr>
<tr><td colspan="4"><p style="font-size: 11px; font-weight: bold; margin-left: 10px;">All <span style="color:#000000; font-weight: bold;">darkened</span> resistance types have a 1⁄4x resistance due to the multiplicative damage-modifiers of both of the Pokémon's type resistances.</p></td></tr>
</table>
</table>
</includeonly>
</includeonly>

Revision as of 03:40, 16 December 2016