You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
699 B
26 lines
699 B
<table id="resist_table" cellpadding="2" border="0">
|
|
<tr>
|
|
<th> </th>
|
|
<th>Total</th>
|
|
<th>Head</th>
|
|
<th>Body</th>
|
|
<th>Arms</th>
|
|
<th>Waist</th>
|
|
<th>Legs</th>
|
|
<th>Skills</th>
|
|
</tr>
|
|
<% for(var i=0; i<ELEMENTS.length; i++) { %>
|
|
<tr>
|
|
<th><%= ELEMENTS[i] %></th>
|
|
<td class="num"><%= element_resist[ELEMENTS[i]] %></td>
|
|
<% for(var j=0; j<TYPES.length; j++) { %>
|
|
<td class="num">
|
|
<%= armors[TYPES[j]]
|
|
? armors[TYPES[j]][ELEMENTS[i] + "_res"] : " " %></td>
|
|
<% } %>
|
|
<td class="num">
|
|
<%= skill_res[ELEMENTS[i]]
|
|
? skill_res[ELEMENTS[i]] : " " %></td>
|
|
<% } %>
|
|
</table>
|