Swapped Not Calculated with TooDrunk to calculate
This commit is contained in:
parent
99a00779bb
commit
c229e725eb
43
index.php
43
index.php
@ -94,25 +94,25 @@
|
||||
<div class="card black">
|
||||
<div class="card-content white-text"> <span class="card-title">Knowledge</span>
|
||||
<span>Have your players played DND before?</span> <br />
|
||||
<label> <input name="party_dndknowledge" value="1" type="radio" checked /> <span>Yes</span> </label> <br />
|
||||
<label> <input name="party_dndknowledge" value="2" type="radio" /> <span>Some have</span> </label> <br />
|
||||
<label> <input name="party_dndknowledge" value="3" type="radio" /> <span>No, what's a DND?</span> </label>
|
||||
<label> <input name="party_dndknowledge" value="1" type="radio" /> <span>No, what's a DND?</span> </label>
|
||||
<label> <input name="party_dndknowledge" value="2" type="radio" checked /> <span>Some have</span> </label> <br />
|
||||
<label> <input name="party_dndknowledge" value="3" type="radio" /> <span>Yes</span> </label> <br />
|
||||
</div>
|
||||
</div>
|
||||
<div class="card black">
|
||||
<div class="card-content white-text"> <span class="card-title">Awareness</span>
|
||||
<span>Do your players use the enviroment for attacks?</span> <br />
|
||||
<label> <input value="1" name="party_attention" type="radio" checked /> <span>Yes, but there is nothing around</span> </label> <br />
|
||||
<label> <input value="2" name="party_attention" type="radio" /> <span>Yes, they could use this conventiently placed DEATHLAZOR</span> </label> <br />
|
||||
<label> <input value="3" name="party_attention" type="radio" /> <span>No, my players are mindless robots.</span> </label>
|
||||
<label> <input value="3" name="party_attention" type="radio" /> <span>Yes, they could use this conventiently placed DEATHLAZOR</span> </label> <br />
|
||||
<label> <input value="2" name="party_attention" type="radio" /> <span>Yes, but there is nothing around</span> </label> <br />
|
||||
<label> <input value="1" name="party_attention" type="radio" checked /> <span>No, my players are mindless robots.</span> </label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card black">
|
||||
<div class="card-content white-text"> <span class="card-title">Strategies</span>
|
||||
<span>Do your players play any strategy games? (Chess counts)</span> <br />
|
||||
<label> <input name="party_strategies" value="1" type="radio" checked /> <span>Yes</span> </label> <br />
|
||||
<label> <input name="party_strategies" value="2" type="radio" checked /> <span>Yes, league</span> </label> <br />
|
||||
<label> <input name="party_strategies" value="3" type="radio" /> <span>No</span> </label>
|
||||
<label> <input name="party_strategies" value="1" type="radio" checked /> <span>No</span> </label>
|
||||
<label> <input name="party_strategies" value="2" type="radio" /> <span>Yes, league</span> </label> <br />
|
||||
<label> <input name="party_strategies" value="3" type="radio" /> <span>Yes</span> </label> <br />
|
||||
</div>
|
||||
</div>
|
||||
<div class="card black">
|
||||
@ -462,13 +462,13 @@
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card horizontal grey darken-4">
|
||||
<div class="card-image"> <a href="https://www.deviantart.com/velger96/art/Marisa-level-chart-208761786"> <img id="diff_image" src="img/error.png" height="206" /> </a> </div>
|
||||
<div class="card-image"> <a href="https://www.deviantart.com/velger96/art/Marisa-level-chart-208761786"> <img id="diff_image" src="img/notfound.png" height="206" /> </a> </div>
|
||||
<div class="card-stacked">
|
||||
<div class="card-content">
|
||||
<p id="diff_description">I was unable to calculate the difficulty.</p>
|
||||
<p id="diff_description">I was unable to find a calculation with those parameters.... or any programming at all... give me some time, i'm still working on this app, after all.</p>
|
||||
</div>
|
||||
<div class="card-action">
|
||||
<p id="diff_summary">Too drunk to calculate</p>
|
||||
<p id="diff_summary">Error 404 - Calculation not found</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -492,7 +492,14 @@
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<div class="card black">
|
||||
<div class="card-content white-text"> <span class="card-title">[DEBUG] Set the current status! [DEBUG]</span> <br /> <label> <input name="debug_diff" type="radio" checked onchange="calcDiff()" /> <span>Calculation</span> </label> <label> <input name="debug_diff" type="radio" onchange="setDiff('easy')" /> <span>Easy</span> </label> <label> <input name="debug_diff" type="radio" onchange="setDiff('medium')" /> <span>Medium</span> </label> <label> <input name="debug_diff" type="radio" onchange="setDiff('hard')" /> <span>Hard</span> </label> <label> <input name="debug_diff" type="radio" onchange="setDiff('lunatic')" /> <span>Deadly</span> </label> </div>
|
||||
<div class="card-content white-text">
|
||||
<span class="card-title">[DEBUG] Set the current status! [DEBUG]</span> <br />
|
||||
<label> <input name="debug_diff" type="radio" checked onchange="calcDiff()" /><span>Calculation</span> </label>
|
||||
<label> <input name="debug_diff" type="radio" onchange="setDiff('easy')" /> <span>Easy</span> </label>
|
||||
<label> <input name="debug_diff" type="radio" onchange="setDiff('medium')" /> <span>Medium</span> </label>
|
||||
<label> <input name="debug_diff" type="radio" onchange="setDiff('hard')" /> <span>Hard</span> </label>
|
||||
<label><input name="debug_diff" type="radio" onchange="setDiff('lunatic')" /> <span>Deadly</span> </label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -517,7 +524,7 @@
|
||||
<div class="card-content white-text"> <span class="card-title black-text">Your choices</span>
|
||||
<div class="card black">
|
||||
<div id="totalscard" class="card-content white-text">
|
||||
<p> :D </p>
|
||||
<p> Calculation not performed.. uhoh! </p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -655,9 +662,9 @@
|
||||
|
||||
|
||||
function calcDiff() {
|
||||
$("#diff_image").attr("src", "img/notfound.jpg");
|
||||
$("#diff_description").html("I was unable to find a calculation with those parameters.... or any programming at all... give me some time, i'm still working on this app, after all.");
|
||||
$("#diff_summary").html("#err_notfound");
|
||||
$("#diff_image").attr("src", "img/error.jpg");
|
||||
$("#diff_description").html("I was unable to calculate the difficulty.");
|
||||
$("#diff_summary").html("Error 812 - Drunk calculation");
|
||||
|
||||
//MODIFIERS
|
||||
//These are to influence how STRONK the weighting of the different
|
||||
@ -872,7 +879,7 @@
|
||||
|
||||
|
||||
//Fill the tables
|
||||
$("#totalscard").html('<table><thead><tr><th>Variable</th><th>Pts</th></tr></thead><tbody id="totalsdata"></tbody></table>');
|
||||
$("#totalscard").html('<table><thead><tr><th>Variable</th><th>Pts</th></tr></thead><tbody id="totalsdata"></tbody></table>');
|
||||
|
||||
party_variables.forEach((element, i) => filltable(party_variables_name, element, i));
|
||||
encounter_variables.forEach((element, i) => filltable(encounter_variables_name, element, i));
|
||||
|
Loading…
Reference in New Issue
Block a user