paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1d324411a2c72d005977479dc8b36d0e631d3b81
parent f5f231fa73bbce901316252a4bec140daeeab3d1
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 31 Dec 2019 19:32:43 -0500

Complete page for borderlands 3 calc

Diffstat:
Mpages/projects/borderlands-3-dps-calculator.md | 44+++++++++++++++++++++++++-------------------
1 file changed, 25 insertions(+), 19 deletions(-)

diff --git a/pages/projects/borderlands-3-dps-calculator.md b/pages/projects/borderlands-3-dps-calculator.md @@ -18,34 +18,40 @@ Use this utility to calculate the DPS of weapons in Borderlands 3. <div> <form> <table id="form-table"> - <tr><td class="td-label">Damage: </td><td><input id="dmg" type="number" min="0" placeholder="0"/></td></tr> - <tr><td class="td-label">Accuracy (%): </td><td><input id="acc" type="number" max="100" min="0" placeholder="0-100"/></td></tr> - <tr><td class="td-label">Reload Time (s): </td><td><input id="rload" type="number" min="0" placeholder="0"/></td></tr> - <tr><td class="td-label">Fire Rate (shots/s): </td><td><input id="frate" type="number" min="0" placeholder="0"/></td></tr> - <tr><td class="td-label">Magazine Size: </td><td><input id="mag" type="number" min="0" placeholder="0"/></td></tr> + <tbody> + <tr> + <td class="td-label">Damage: </td><td><input id="dmg" type="number" min="0" placeholder="0" value="0"></td> + <td class="td-label"> x </td><td><input id="dmg-mult" type="number" min="1" placeholder="1" value="1"></td> + </tr> + <tr><td class="td-label">Accuracy (%): </td><td><input id="acc" type="number" max="100" min="0" placeholder="0-100"></td></tr> + <tr><td class="td-label">Reload Time (s): </td><td><input id="rload" type="number" min="0" placeholder="0"></td></tr> + <tr><td class="td-label">Fire Rate (shots/s): </td><td><input id="frate" type="number" min="0" placeholder="0"></td></tr> + <tr><td class="td-label">Magazine Size: </td><td><input id="mag" type="number" min="0" placeholder="0"></td></tr> + <tr><td class="td-label">Ammo Consumed Per Shot: </td><td><input id="ammo" type="number" min="1" placeholder="1" value="1"></td></tr> <tr><td class="td-label">Elemental Type: </td><td><select id="elmnt" type="text"> - <option value="None">None</option> - <option value="Fire">Fire</option> - <option value="Shock">Shock</option> - <option value="Acid">Acid</option> - <option value="Cryo">Cryo</option> - <option value="Rad">Rad</option> - </select></td></tr> - <tr><td class="td-label">Effect Damage: </td><td><input id="e-dmg" type="number" min="0" placeholder="0"/></td></tr> - <tr><td class="td-label">Elemental Effect Chance (%): </td><td><input id="e-chance" type="number" max="100" min="0" placeholder="0-100"/></td></tr> - <tr><td class="td-label">True Vault Hunter Mode: </td><td id="checkbox-cell"><input id="tvhm" type="checkbox"/></td></tr> + <option value="None" selected="selected">None</option> + <option value="Fire">Fire</option> + <option value="Shock">Shock</option> + <option value="Acid">Acid</option> + <option value="Cryo">Cryo</option> + <option value="Rad">Rad</option> + </select></td></tr> + <tr><td class="td-label">Elemental Effect Damage: </td><td><input id="e-dmg" type="number" min="0" placeholder="0"></td></tr> + <tr><td class="td-label">Elemental Effect Chance (%): </td><td><input id="e-chance" type="number" max="100" min="0" placeholder="0-100"></td></tr> + <tr><td class="td-label">True Vault Hunter Mode: </td><td id="checkbox-cell"><input id="tvhm" type="checkbox"></td></tr> + </tbody> </table> </form> <br /> <div id="results"> - <button onClick=gamerMoment()> Calculate DPS </button> - <br /> + <button onclick="gamerMoment()"> Calculate DPS </button> + <br> <table> - <tr><td><b>DPS against flesh: </b></td><td><p id="flesh"> -- </p></td></tr> + <tbody><tr><td><b>DPS against flesh: </b></td><td><p id="flesh"> -- </p></td></tr> <tr><td><b>DPS against shields: </b></td><td><p id="shields"> -- </p></td></tr> <tr><td><b>DPS against armour: </b></td><td><p id="armour"> -- </p></td></tr> - </table> + </tbody></table> </div> </div>