QUOTE(anton3210 @ Apr 25 2016, 10:52)

I'm working with my own patches in the Iron Browser.
[attachmentid=84393]
Using the quoted files i fixed the proficiencies sidebar.
The error is in util script hvstat-noncombat.js
index of staff changed to 15 from 8
index of cloth changed to 8 from 10
index of light changed to 10 from 12
index of heavy changed to 12 from 14.
Edit proficiency table.html to match character screen.
New proficiency ripper function.
CODE
captureProficiencies: function () {
var proficiencyTable = document.getElementById("leftpane").children[2].querySelectorAll('div.fd4');
var prof = hvStat.characterStatus.proficiencies;
prof.oneHanded = Number(hv.util.innerText(proficiencyTable[2]));
prof.twoHanded = Number(hv.util.innerText(proficiencyTable[4]));
prof.dualWielding = Number(hv.util.innerText(proficiencyTable[6]));
prof.staff = Number(hv.util.innerText(proficiencyTable[15]));
prof.clothArmor = Number(hv.util.innerText(proficiencyTable[8]));
prof.lightArmor = Number(hv.util.innerText(proficiencyTable[10]));
prof.heavyArmor = Number(hv.util.innerText(proficiencyTable[12]));
prof.elemental = Number(hv.util.innerText(proficiencyTable[17]));
prof.divine = Number(hv.util.innerText(proficiencyTable[19]));
prof.forbidden = Number(hv.util.innerText(proficiencyTable[21]));
prof.deprecating = Number(hv.util.innerText(proficiencyTable[23]));
prof.supportive = Number(hv.util.innerText(proficiencyTable[25]));
hvStat.characterStatus.areProficienciesCaptured = true;
hvStat.storage.characterStatus.save();
},
New proficiency-table.html
CODE
<table>
<thead>
<tr>
<th colspan="2">Equipment</th>
<th colspan="2">Magic</th>
</tr>
</thead>
<tbody>
<tr>
<th>One-handed:</th><td></td>
<th>Staff:</th><td></td>
</tr>
<tr>
<th>Two-handed:</th><td></td>
<th>Elemental:</th><td></td>
</tr>
<tr>
<th>Dual wielding:</th><td></td>
<th>Divine:</th><td></td>
</tr>
<tr>
<th>Cloth armor:</th><td></td>
<th>Forbidden:</th><td></td>
</tr>
<tr>
<th>Light armor:</th><td></td>
<th>Deprecating:</th><td></td>
</tr>
<tr>
<th>Heavy armor:</th><td></td>
<th>Supportive</th><td></td>
</tr>
</tbody>
</table>
full archive:
5.6.8.4.zip ( 165.64k )
Number of downloads: 551
Edit: changed script version number in archive to 5.6.8.4
This post has been edited by its-just-me: May 6 2016, 16:36