outfitters: add defense, components, etc

- add defense column, with mouse overs for max def, and defense
  up skill calculation for total max in mouseover
- add armor components to row mouse over, with totals in total
  row mouse over
- add row to resist table for resist skills, and include in totals
- refactor updating of skill totals and other number dicts
This commit is contained in:
Bryce Allen
2015-08-12 01:50:10 -05:00
parent a2008a0461
commit 4fd8c4c3a1
3 changed files with 157 additions and 40 deletions

View File

@@ -7,6 +7,7 @@
<th>Arms</th>
<th>Waist</th>
<th>Legs</th>
<th>Skills</th>
</tr>
<% for(var i=0; i<ELEMENTS.length; i++) { %>
<tr>
@@ -17,5 +18,8 @@
<%= armors[TYPES[j]]
? armors[TYPES[j]][ELEMENTS[i] + "_res"] : "&nbsp;" %></td>
<% } %>
<td class="num">
<%= skill_res[ELEMENTS[i]]
? skill_res[ELEMENTS[i]] : "&nbsp;" %></td>
<% } %>
</table>