resize attack check images
This commit is contained in:
parent
1d3560bb9e
commit
9246cb5900
@ -6,8 +6,9 @@
|
|||||||
<script src="chargen.js" defer></script>
|
<script src="chargen.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1> Gamma World Character Generator </h1>
|
|
||||||
<h2> Generate A Character </h2>
|
<h2> Generate A Character </h2>
|
||||||
|
|
||||||
<form id="characterForm">
|
<form id="characterForm">
|
||||||
<select id="charType">
|
<select id="charType">
|
||||||
<option value="human">Human</option>
|
<option value="human">Human</option>
|
||||||
|
@ -6,10 +6,8 @@
|
|||||||
<script src="encounter.js" defer></script>
|
<script src="encounter.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1> Gamma World Encounter Check</h1>
|
<h2>Check For An Encounter</h2>
|
||||||
<h2>Choose Terrain Being Traverse</h2>
|
|
||||||
<!-- Valid values are: '
|
|
||||||
'"clear", "mountains", "forest", "desert", "watery", "ruins", "deathlands"' -->
|
|
||||||
<form id="terrainForm">
|
<form id="terrainForm">
|
||||||
<select id="terrainType">
|
<select id="terrainType">
|
||||||
<option value="clear">Clear</option>
|
<option value="clear">Clear</option>
|
||||||
|
@ -8,9 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>Mental Attack Roll!</h1>
|
<h2>Attempt A Mental Attack</h2>
|
||||||
|
|
||||||
<h4>Set Mental Strength Values, and Press Attack!</h4>
|
|
||||||
|
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
<form id="mentalAttackForm">
|
<form id="mentalAttackForm">
|
||||||
|
@ -45,7 +45,7 @@ window.onload = function () {
|
|||||||
html += `<p><h2>${outcomeText}</h2></p>`;
|
html += `<p><h2>${outcomeText}</h2></p>`;
|
||||||
// adding img tag
|
// adding img tag
|
||||||
let outcomeImage = 'img/' + outcomeText.replace(' ', '%20') + '.png';
|
let outcomeImage = 'img/' + outcomeText.replace(' ', '%20') + '.png';
|
||||||
html += `<img src="${outcomeImage}" width="500px" height="500px"/>`
|
html += `<img src="${outcomeImage}" width="350px" height="350px"/>`
|
||||||
|
|
||||||
resultsDiv.innerHTML = html;
|
resultsDiv.innerHTML = html;
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>Gamma World Die Roller</h1>
|
|
||||||
|
|
||||||
<h2>Roll Dice</h2>
|
<h2>Roll Dice</h2>
|
||||||
|
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
|
Loading…
Reference in New Issue
Block a user