From a59ade1d6a67aa6a99bcd5728ab1e6ca3f2dc59e Mon Sep 17 00:00:00 2001 From: James <9213561+Gensokian@users.noreply.github.com> Date: Fri, 30 Sep 2022 09:00:43 +0200 Subject: [PATCH] Swapped Not Calculated with TooDrunk to calculate --- index.php | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/index.php b/index.php index 38cd098..028210f 100644 --- a/index.php +++ b/index.php @@ -94,25 +94,25 @@
Knowledge Have your players played DND before?
-
-
- + +
+
Awareness Do your players use the enviroment for attacks?
-
-
- +
+
+
Strategies Do your players play any strategy games? (Chess counts)
-
-
- + +
+
@@ -462,13 +462,13 @@
- +
-

I was unable to calculate the difficulty.

+

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.

-

Too drunk to calculate

+

Error 404 - Calculation not found

@@ -492,7 +492,14 @@
-
[DEBUG] Set the current status! [DEBUG]
+
+ [DEBUG] Set the current status! [DEBUG]
+ + + + + +
@@ -517,7 +524,7 @@
Your choices
-

:D

+

Calculation not performed.. uhoh!

@@ -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('
VariablePts
'); + $("#totalscard").html('
VariablePts
'); party_variables.forEach((element, i) => filltable(party_variables_name, element, i)); encounter_variables.forEach((element, i) => filltable(encounter_variables_name, element, i));