2024-06-28 22:00:49 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Gamma World Mental Attack Roll</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="styles.css">
|
|
|
|
<script src="mentalattack.js" defer></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2024-06-28 22:26:42 +00:00
|
|
|
<h2>Attempt A Mental Attack</h2>
|
2024-06-28 22:00:49 +00:00
|
|
|
|
|
|
|
<div class="content-container">
|
|
|
|
<form id="mentalAttackForm">
|
|
|
|
<div class="form-row">
|
|
|
|
<div class="form-field">
|
|
|
|
<label for="ams">Attacker Mental Strength:</label>
|
|
|
|
<input type="number" name="ams" id="ams" min="3" max="18" value="10">
|
|
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
|
|
<label for="dms">Defender Mental Strength:</label>
|
|
|
|
<input type="number" name="dms" id="dms" min="3" max="18" value="10">
|
|
|
|
</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">
|
|
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
|
|
<button type="submit">Attack!</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
<div id="results"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|