User:Skillchip
Work in progress
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>HentaiVerse Equipment Scaling Calculator</title> <meta name="robots" content="noindex,nofollow" /> <link rel="icon" type="image/png" href="favicon.png" /> <style type="text/css"> body {width:984px; background-color:#E3E0D1; font-family:Arial; color:#5C0D11;} #inputDiv, #outputDiv {width:37%; float:left; background:#EDEBDF; font-size:8pt; margin:2px; border:1px solid #5C0D11; padding:2px;} #controlsDiv {width:22%; float:left; background:#EDEBDF; font-size:8pt; margin:2px; border:1px solid #5C0D11; padding:2px;} h1 {text-align:center; font-size:16pt; padding:1px; margin:2px;} h2 {font-size:8pt; font-weight:bold; font-style:italic; padding:1px; border:1px; margin:1px;} h3 {font-size:9pt; font-weight:bold; padding:1px; border:1px; margin:1px;} h4 {font-size:7pt; font-weight:normal; padding:2px; border:1px; margin:2px;} table {width:100%;} td {width:50%;} input[type="text"] {font-family:Arial,Helvetica,Sans-Serif; font-size:8pt; color:#5C0D11; background:#EDEADA; border:1px solid #5C0D11; padding:0.5px 1.5px} input[type="button"], input[type="reset"] {font-family:Arial,Helvetica,Sans-Serif; font-size:9pt; font-weight:bold; color:#5C0D11; background:#EDEADA; border:1px solid #5C0D11;} input[type="button"]:hover, input[type="reset"]:hover {color:#9B4E03; background:#F2EFDF;} textarea {font-family:Arial,Helvetica,Sans-Serif; font-size:8pt; color:#5C0D11; background:#EDEADA; border:1px solid #5C0D11; padding:0.5px 1px; overflow:auto;} input:focus, textarea:focus {border:1px solid #9B4E03;} select {font-family:Arial,Helvetica,Sans-Serif; font-size:8pt; color:#5C0D11; background:#EDEADA; border:1px solid #5C0D11;} </style> <script type="text/javascript" src="HVEquipCalc.min.js"></script> </head>
<body onload="setVersion()">
HentaiVerse Equipment Scaling Calculator
<form id="inputForm">
Equipment Stats:
<input type="button" name="switchButton" onClick="switchMode()" value="Switch Entry Mode" title="Switch between data entry modes: paste copied equipment stats or use form fields."> <input type="button" id="clearButton" onClick="clearTextarea()" value="Clear" title="Clear text input area." style="">
| Equipment Name: <input type="text" id="EquipName" size="45" /> | |
| Level: <input type="text" id="Level" size="2" maxLength="6" /> | |
| Weapon Damage: <input type="text" id="PDmg" size="2" maxLength="6" /> | Attack Accuracy Bonus: <input type="text" id="PAcc" size="2" maxLength="6" /> |
| Magic Damage Bonus: <input type="text" id="MDmg" size="2" maxLength="6" /> | Magic Accuracy Bonus: <input type="text" id="MAcc" size="2" maxLength="6" /> |
| Attack Critical Bonus: <input type="text" id="ACrit" size="2" maxLength="6" /> | Magic Critical Bonus: <input type="text" id="MCrit" size="2" maxLength="6" /> |
| Physical Absorption: <input type="text" id="PAbs" size="2" maxLength="6" /> | Physical Mitigation: <input type="text" id="PMit" size="2" maxLength="6" /> |
| Magical Absorption: <input type="text" id="MAbs" size="2" maxLength="6" /> | Magical Mitigation: <input type="text" id="MMit" size="2" maxLength="6" /> |
| Evade Chance: <input type="text" id="AvdEvd" size="2" maxLength="6" /> | Resist Chance: <input type="text" id="AvdRst" size="2" maxLength="6" /> |
| Block Chance: <input type="text" id="AvdBlk" size="2" maxLength="6" /> | Parry Chance: <input type="text" id="AvdPry" size="2" maxLength="6" /> |
| Burden: <input type="text" id="CompBur" size="2" maxLength="6" /> | Interference: <input type="text" id="CompIntrf" size="2" maxLength="6" /> |
Damage Type Mitigations
| Crushing: <input type="text" id="SpecMitCrush" size="2" maxLength="6" /> | Slashing: <input type="text" id="SpecMitSlash" size="2" maxLength="6" /> |
| Piercing: <input type="text" id="SpecMitPierce" size="2" maxLength="6" /> | Physical: <input type="text" id="SpecMitPhys" size="2" maxLength="6" /> |
| Fire: <input type="text" id="ElemMitFire" size="2" maxLength="6" /> | Cold: <input type="text" id="ElemMitCold" size="2" maxLength="6" /> |
| Elec: <input type="text" id="ElemMitElec" size="2" maxLength="6" /> | Wind: <input type="text" id="ElemMitWind" size="2" maxLength="6" /> |
| Holy: <input type="text" id="ElemMitHoly" size="2" maxLength="6" /> | Dark: <input type="text" id="ElemMitDark" size="2" maxLength="6" /> |
| Soul: <input type="text" id="ElemMitSoul" size="2" maxLength="6" /> |
Proficiency Bonuses
| Elemental: <input type="text" id="ProfBonElem" size="2" maxLength="6" /> | Divine: <input type="text" id="ProfBonDiv" size="2" maxLength="6" /> |
| Forbidden: <input type="text" id="ProfBonForb" size="2" maxLength="6" /> | Deprecating: <input type="text" id="ProfBonDep" size="2" maxLength="6" /> |
| Supportive: <input type="text" id="ProfBonSup" size="2" maxLength="6" /> | Curative: <input type="text" id="ProfBonCure" size="2" maxLength="6" /> |
Elemental Damage Bonuses
| Fire: <input type="text" id="ElemDamFire" size="2" maxLength="6" /> | Cold: <input type="text" id="ElemDamCold" size="2" maxLength="6" /> |
| Elec: <input type="text" id="ElemDamElec" size="2" maxLength="6" /> | Wind: <input type="text" id="ElemDamWind" size="2" maxLength="6" /> |
| Holy: <input type="text" id="ElemDamHoly" size="2" maxLength="6" /> | Dark: <input type="text" id="ElemDamDark" size="2" maxLength="6" /> |
Primary Attribute Bonuses
| STR: <input type="text" id="PAttrSTR" size="2" maxLength="6" /> | DEX: <input type="text" id="PAttrDEX" size="2" maxLength="6" /> |
| AGI: <input type="text" id="PAttrAGI" size="2" maxLength="6" /> | END: <input type="text" id="PAttrEND" size="2" maxLength="6" /> |
| INT: <input type="text" id="PAttrINT" size="2" maxLength="6" /> | WIS: <input type="text" id="PAttrWIS" size="2" maxLength="6" /> |
Hit Proc
| Damage: <input type="text" id="ProcDam" size="2" maxLength="6" /> |
<textarea id="pasteInput" cols="64%" rows="32" /></textarea>
Options:
[?]
<input type="radio" name="scaleType" id="scaleBase" title="Calculate Base (Level 0) stats. Best for comparing equipment." />Base Stats
<input type="radio" name="scaleType" id="BaseRoll" title="Calculate Roll. See how close your gear is to the max" />Base Roll
<input type="radio" name="scaleType" id="scaleLevel" title="Calculate stats at entered level. Compromise stats are not scaled down." checked />Scale to Level: <input type="text" id="scaleLevelVal" size="2" maxLength="6" />
<input type="radio" name="scaleType" id="scaleStat" title="Calculate the level at which the given stat reaches the given value and scales the equip to that level." />Scale to Stat:
<select id="scaleStatType">
<option value="PDmg">Attack Damage</option>
<option value="PAcc">Attack Accuracy</option>
<option value="MDmg">Magic Damage</option>
<option value="MAcc">Magic Accuracy</option>
<option value="ACrit">Attack Crit</option>
<option value="MCrit">Magic Crit</option>
<option value="PAbs">Physical Absorption</option>
<option value="PMit">Physical Mitigation</option>
<option value="MAbs">Magical Absorption</option>
<option value="MMit">Magical Mitgation</option>
<option value="AvdEvd">Evade</option>
<option value="AvdRst">Resist</option>
<option value="AvdBlk">Block</option>
<option value="AvdPry">Parry</option>
<option value="CompBur">Burden</option>
<option value="CompIntrf">Interference</option>
<option value="SpecMitCrush">Crushing</option>
<option value="SpecMitSlash">Slashing</option>
<option value="SpecMitPierce">Piercing</option>
<option value="SpecMitPhys">Physical</option>
<option value="ElemMitFire">Fire Mitgation</option>
<option value="ElemMitCold">Cold Mitgation</option>
<option value="ElemMitElec">Elec Mitgation</option>
<option value="ElemMitWind">Wind Mitgation</option>
<option value="ElemMitHoly">Holy Mitgation</option>
<option value="ElemMitDark">Dark Mitgation</option>
<option value="ElemMitSoul">Soul Mitgation</option>
<option value="ProfBonElem">Elemental Prof.</option>
<option value="ProfBonDiv">Divine Prof.</option>
<option value="ProfBonForb">Forbidden Prof.</option>
<option value="ProfBonDep">Deprecating Prof.</option>
<option value="ProfBonSup">Suppportive Prof.</option>
<option value="ProfBonCure">Curative Prof.</option>
<option value="ElemDamFire">Fire Damage</option>
<option value="ElemDamCold">Cold Damage</option>
<option value="ElemDamElec">Elec Damage</option>
<option value="ElemDamWind">Wind Damage</option>
<option value="ElemDamHoly">Holy Damage</option>
<option value="ElemDamDark">Dark Damage</option>
<option value="PAttrSTR">STR</option>
<option value="PAttrDEX">DEX</option>
<option value="PAttrAGI">AGI</option>
<option value="PAttrEND">END</option>
<option value="PAttrINT">INT</option>
<option value="PAttrWIS">WIS</option>
<option value="ProcDam">Proc Damage</option>
<option value="ProcLeech">Leech</option>
</select>:
<input type="text" id="scaleStatVal" size="2" maxLength="6" />
<input type="checkbox" id="origLevel" title="Show the equip's original level before scaling in output." checked defaultChecked />Show Original Level
<input type="button" name="calcButton" onclick="doCalc()" value="Calculate"> <input type="reset" value="Reset" title="Reset the entire form." />
<form id="outputForm">
Scaled Stats:
<input type="button" name="selectAll" onClick="selectOutput()" value="Highlight" title="Highlight All."> <input type="button" name="resultPopup" onClick="popOut()" value="Popup" title="Create a popup of the calculated stats.">
Note: Rounding errors of +/- 0.01 may occur.
<textarea id="output" cols="64%" rows="32" readonly /></textarea>
</form> </body> </html>