gammatools/web/physicalattack.html

49 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Gamma World Physical Attack Roll</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="config.js"></script>
<script src="physicalattack.js" defer></script>
</head>
<body>
<h2>Attempt A Physical Attack</h2>
<div class="content-container">
<p><b>Only supply a number required for the type of attack. If you are making a weapon attack, only fill in
the Attacker Weapon Class. If you are making a non-weapon attack, only fill in the Attacker Hit
Dice.
</b></p>
<form id="physicalAttackForm">
<div class="form-row">
<div class="form-field">
<label for="awc">Attacker WC:</label>
<input type="number" name="awc" id="awc" min="1" max="16"style="margin-right: 5px">
</div>
<div class="form-field">
<label for="ahd">Attacker HD:</label>
<input type="number" name="ahd" id="ahd" min="1" max="16" style="margin-right: 5px">
</div>
<div class="form-field">
<label for="dac">Defender AC:</label>
<input type="number" name="dac" id="dac" min="1" max="10" value="5" style="margin-right: 5px">
</div>
</div>
<div class="form-row">
<div class="form-field">
<label for="modifier">Modifier:</label>
<input type="number" name="modifier" id="modifier" min="-100" max="100" value="0" style="margin-right: 10px">
</div>
<div class="form-field">
<button type="submit">Attack!</button>
</div>
</div>
</form>
</div>
<hr/>
<div id="results"></div>
</body>
</html>