Reference:Passives in Total Damage: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
This template is made for maintenance purposes in Total Damage section. It contains all multiplier values of passives of all characters.
<strike>This template is made for maintenance purposes in Total Damage section. It contains all multiplier values of passives of all characters.</strike>
To use it, just follow this markup:
Please use skill pages instead. Wrap the entire page in <code><nowiki><noinclude></noinclude></code></nowiki>, then add this in <code><nowiki><includeonly></includeonly></code></nowiki> at the top:
  <nowiki>{{#arrayindex:PASSIVE_NAME|INDEX}}</nowiki>
  <nowiki>{{#arrayindex:PASSIVE_NAME|INDEX}}</nowiki>
*'''PASSIVE_NAME''' - lowercase name of the passive with '_' instead of spaces and all special characters removed. Also, extra spaces are removed as well, for example "Communication - Amplification" changes to "communication_amplification".
*'''PASSIVE_NAME''' - lowercase name of the passive with '_' instead of spaces and all special characters removed. Also, extra spaces are removed as well, for example "Communication - Amplification" changes to "communication_amplification".
*'''INDEX''' - typically, 0 or 1. 0 stands for PvE, 1 stands for PvP.
*'''INDEX''' - typically, 0 or 1. 0 stands for PvE, 1 stands for PvP.
Then append <code><nowiki>{{:PAGE_NAME}}</nowiki></code> under "Total Damage" header in Total Damage section.
Should any permanent effects be lacking here, feel free to include them.
Should any permanent effects be lacking here, feel free to include them.
<strike>I need to rethink if I want to do this for hardcoded pages...</strike>
</noinclude>
</noinclude>


Line 19: Line 21:


<!-- Genesis -->
<!-- Genesis -->
{{#arraydefine:oracle|{{#expr:1.2*{{#arrayindex:destruction_mode|0}}}}, {{#expr:1.1*{{#arrayindex:destruction_mode|1}}}}}}
{{#arraydefine:oracle|1.2, 1.1}}


<!-- Oz Sorcerer -->
<!-- Oz Sorcerer -->

Revision as of 17:00, 12 November 2021

This template is made for maintenance purposes in Total Damage section. It contains all multiplier values of passives of all characters. Please use skill pages instead. Wrap the entire page in <noinclude></noinclude></code>, then add this in <includeonly></includeonly></code> at the top:

{{#arrayindex:PASSIVE_NAME|INDEX}}
  • PASSIVE_NAME - lowercase name of the passive with '_' instead of spaces and all special characters removed. Also, extra spaces are removed as well, for example "Communication - Amplification" changes to "communication_amplification".
  • INDEX - typically, 0 or 1. 0 stands for PvE, 1 stands for PvP.

Then append {{:PAGE_NAME}} under "Total Damage" header in Total Damage section. Should any permanent effects be lacking here, feel free to include them. I need to rethink if I want to do this for hardcoded pages...