mw:Hausregeln/Trefferwurfrechner: Unterschied zwischen den Versionen

Changed input to number
(Die Seite wurde neu angelegt: „<div class="replaceme"><nowiki> <script type="text/javascript"> function calculateToHit() { var INT = (document.ToHitCalculator.INT.value != '') ? parseInt(d…“)
 
(Changed input to number)
 
Zeile 45: Zeile 45:
<tr><th colspan="3">Attribute</th></tr>
<tr><th colspan="3">Attribute</th></tr>
<tr><td>Intelligenz</td><td>Reflexe</td><td>Geschick</td></tr>
<tr><td>Intelligenz</td><td>Reflexe</td><td>Geschick</td></tr>
<tr><td><input type="text" size="2" maxlength="2" name="INT" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="text" size="2" maxlength="2" name="RFL" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="text" size="2" maxlength="2" name="DEX" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td></tr>
<tr><td><input type="number" size="2" maxlength="2" name="INT" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="number" size="2" maxlength="2" name="RFL" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="number" size="2" maxlength="2" name="DEX" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td></tr>
</table>
</table>
<table style="text-align: center">
<table style="text-align: center">
<tr><th colspan="3">Fertigkeiten</th></tr>
<tr><th colspan="3">Fertigkeiten</th></tr>
<tr><td>Akrobatik</td><td>Pilot</td><td>Sensoren</td></tr>
<tr><td>Akrobatik</td><td>Pilot</td><td>Sensoren</td></tr>
<tr><td><input type="text" size="2" maxlength="2" name="ACR" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="text" size="2" maxlength="2" name="PIL" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="text" size="2" maxlength="2" name="SEN" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td></tr></table>
<tr><td><input type="number" size="2" maxlength="2" name="ACR" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="number" size="2" maxlength="2" name="PIL" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="number" size="2" maxlength="2" name="SEN" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td></tr></table>
<table style="text-align: center">
<table style="text-align: center">
<tr><th colspan="3">Mech/Fahrzeug</th></tr>
<tr><th colspan="3">Mech/Fahrzeug</th></tr>
<tr><td>BP Gehen</td><td>BP Springen</td></tr>
<tr><td>BP Gehen</td><td>BP Springen</td></tr>
<tr><td><input type="text" size="2" maxlength="2" name="BPWLK" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="text" size="2" maxlength="2" name="BPJMP" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td></tr></table>
<tr><td><input type="number" size="2" maxlength="2" name="BPWLK" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td><td><input type="number" size="2" maxlength="2" name="BPJMP" onchange="calculateToHit()" onKeyUp="calculateToHit()" /></td></tr></table>
</form>
</form>
</td>
</td>