From 8db859c7d0097d368c978692c098ab616539e113 Mon Sep 17 00:00:00 2001 From: James <9213561+Gensokian@users.noreply.github.com> Date: Tue, 27 Sep 2022 09:58:43 +0200 Subject: [PATCH] cleanup --- index.php | 1207 +++++++++++++++++------------------------------------ 1 file changed, 393 insertions(+), 814 deletions(-) diff --git a/index.php b/index.php index 1a37098..0c2bcf7 100644 --- a/index.php +++ b/index.php @@ -1,32 +1,33 @@ - - - - CRCulator - - - - - - - - - - - - - - - - -
+ + + + + CRCulator + + + + + + + + + + + + + + + + + +
-
- James' CR Calculator... or Crculator... whatever +
James' CR Calculator... or Crculator... whatever
@@ -40,137 +41,68 @@
-
- Party Setup +
Party Setup
-
- About the Players... +
About the Players...
-
- Meelee count - How many Meelee Fighters are in the Party? -
- -
+
Meelee count How many Meelee Fighters are in the Party? +
-
- Ranged count - How many Ranged fighters are in the Party? -
- -
+
Ranged count How many Ranged fighters are in the Party? +
-
- Mage count - How many Spell Fighters are in the Party? -
- -
+
Mage count How many Spell Fighters are in the Party? +
-
- Support count - How many squishy Supports? -
- -
+
Support count How many squishy Supports? +
-
- Level - What average level is your party? -
- -
+
Level What average level is your party? +
-
- Resources - How healthy are your players?
-
-
-
- -
+
Resources How healthy are your players?



-
- Skill calculator +
Skill calculator
-
- Knowledge - Have your players played DND before?
-
-
- -
+
Knowledge Have your players played DND before?


-
- Awareness - Do your players use the enviroment for attacks?
-
-
- -
+
Awareness Do your players use the enviroment for attacks?


-
- Strategies - Do your players play any strategy games? (Chess counts)
-
- -
+
Strategies Do your players play any strategy games? (Chess counts)

-
- Special rules - Do you use rules, which assist in adding damage/advantage? (Flanking, Limb rule , Lingering Injuries, Massive Damage, yadayada)
-
-
-

+
Special rules Do you use rules, which assist in adding damage/advantage? (Flanking, Limb rule , Lingering Injuries, Massive Damage, yadayada)




  • info_outlineExplanation Flanking
    -
    - - Flanking is an optional rule in DnD 5E, intended to add more tactical depth to combat. The rule itself is straightforward: When a creature and at least - one ally are within 5ft of the same enemy on opposite sides, that enemy is flanked. Each of the creatures flanking has advantage on melee attacks - against it. - -
    +
    Flanking is an optional rule in DnD 5E, intended to add more tactical depth to combat. The rule itself is straightforward: When a creature and at least one ally are within 5ft of the same enemy on opposite sides, that enemy is flanked. Each of the creatures flanking has advantage on melee attacks against it.
  • info_outlineExplanation Limb Rule
    -
    - - Basically like flanking, but instead of standing opposed to the enemy, it's about outnumbering the usable limbs. Basically if there is a normal human, - using two swords/shields, they can block 2 People. If there is a third person, they gain advantage, since they cannot block the third attack. - -
    +
    Basically like flanking, but instead of standing opposed to the enemy, it's about outnumbering the usable limbs. Basically if there is a normal human, using two swords/shields, they can block 2 People. If there is a third person, they gain advantage, since they cannot block the third attack.
  • info_outlineExplanation Lingering Injuries
    -
    - - When a creature takes damage from a single source equal to or greater than half its hit point maximum, it must succeed on a Constitution saving throw - with DC 15 or half the damage receive (whichever is higher) or suffer a random effect determined by a roll on the System Shock table.
    - (Table not included) -
    -
    +
    When a creature takes damage from a single source equal to or greater than half its hit point maximum, it must succeed on a Constitution saving throw with DC 15 or half the damage receive (whichever is higher) or suffer a random effect determined by a roll on the System Shock table.
    (Table not included)
@@ -184,70 +116,38 @@
-
- Mob Setup +
Mob Setup
-
- Basics +
Basics
-
- Amount (EXPERIMENTAL) - How many bad guys? Anything above 1 will enforce average calculations
- Changing this will reset the HP and Damage calculations and deactivate dice rolled HP. -
- -
+
Amount (EXPERIMENTAL) How many bad guys? Anything above 1 will enforce average calculations
Changing this will reset the HP and Damage calculations and deactivate dice rolled HP. +
-
- Health kind - Are we using Max, Average or rolled HP?
- - - -
+
Health kind Are we using Max, Average or rolled HP?
-
- Health Rolls - How many Dice are used for the calculation? -
- -
- Which kind of die is used? -
- -
-
+
Health Rolls How many Dice are used for the calculation? +
Which kind of die is used? +
-
-
- Health Averages - What's the average HP of the Enemy? -
- -
-
+
+
+
Health Averages What's the average HP of the Enemy? +
-
-
- Health Maxes - What's the max rolled HP of all enemies? -
- -
-
-
-
-
- Armor Class - What's the average Armorclass? -
- -
+
+
+
Health Maxes What's the max rolled HP of all enemies? +
+
+
+
+
Armor Class What's the average Armorclass? +
@@ -255,510 +155,205 @@
-
- Hurting the player +
Hurting the player
- Damage kind - Are we using Max, Rolled or Average Damage?
- - - + + Damage kind + + Are we using Max, Rolled or Average Damage?
+ + +
-
- Hitdice Damage - How many Dice are used for the calculation? -
- -
- Which kind of die is used? -
- -
-
-
- -
-
- Average Damage - What's the average damage of the enemy? -
- -
-
-
-
-
- Max Damage - What's the max ammount of damage the enemy can deal? -
- -
-
-
+
Hitdice Damage How many Dice are used for the calculation? +
Which kind of die is used? +
-
-
- Damage Types - What damagetype is beeing used?
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+
+
Average Damage What's the average damage of the enemy? +
+
+
+
+
Max Damage What's the max ammount of damage the enemy can deal? +
+
+
+
+
+
Damage Types What damagetype is beeing used?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- Abilities -
-
- One-Hitting - Can this mob one-hit someone? (Above double max HP or any spell like "Power Word: KILL")
-
- -
-
-
-
- Multiattack - Do your mobs have multiattack?
-
-
- -
-
-
-
- Multiattack - How many mobs have multiattack?
- -
-
-
-
- Strategy - How many braincells do your enemies have?
- -
-
-
-
-
-
-
- Lair actions - Can this mob use Lair Actions?
-
- -
-
-
-
- Legendary Actions - Can this mob use Legendary Actions?
-
- -
-
+
+
+
+
+
Abilities +
+
One-Hitting Can this mob one-hit someone? (Above double max HP or any spell like "Power Word: KILL")

+
+
+
Multiattack Do your mobs have multiattack?


+
+
+
Multiattack How many mobs have multiattack?
+
+
+
Strategy How many braincells do your enemies have?



+
+
+
Lair actions Can this mob use Lair Actions?

+
+
+
Legendary Actions Can this mob use Legendary Actions?

-
-
-
- About the defence -
-
- Immunities - What immunities does your dudes have? -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+
+
+
About the defence +
+
Immunities What immunities does your dudes have? +
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- Resistance - What resistances does your dudes have? -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+
+
Resistance What resistances does your dudes have? +
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- Vounerabilities - What vounerabilities does your dudes have? -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+
+
Vounerabilities What vounerabilities does your dudes have? +
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- Powers -
-
- Healing - Can your encounter heal?
-
-
-
-
-
-
-
-
- Summoning new Enemies - Can they make more problems?
-
- -
-
-
-
- Stunning - Can your people stun or slow or otherwise annoy the party?
-
- -
-
+
+
+
+
+
Powers +
+
Healing Can your encounter heal?




+
+
+
Summoning new Enemies Can they make more problems?

+
+
+
Stunning Can your people stun or slow or otherwise annoy the party?

-
-
-
- Conditions -
-
- Choose your conditions - What conditions are applied to your (some of your) enemies
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+
+
+
Conditions +
+
Choose your conditions What conditions are applied to your (some of your) enemies
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- Choose applying conditions - What conditions can your players get from this encounter
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
+
+
+
Choose applying conditions What conditions can your players get from this encounter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -768,189 +363,172 @@
-
-
-
-
-
- Results -
-
-
-
- -
-
-
-

I was unable to calculate the difficulty.

-
-
-

Too drunk to calculate

-
-
-
-
-
-
-
-
-
-
-
-
-
- Calculation for nerds -

This is where the calculation stats would be, IF I HAD ONE.

-
-
-
-
-
-
-
-
-
-
- [DEBUG] Set the current status! [DEBUG]
- - - - - -
-
-
-
-
-
-
-
- Do you intend to wipe the party?
- -
-
-
-
-
- +
+
+
+
+
Results +
+
+
+ +
+
+

I was unable to calculate the difficulty.

+
+
+

Too drunk to calculate

+
+
+
+
+
+
+
+
+
+
+
+
+
Calculation for nerds +

This is where the calculation stats would be, IF I HAD ONE.

+
+
+
+
+
+
+
+
+
+
[DEBUG] Set the current status! [DEBUG]
+
+
+
+
+
+
+
Do you intend to wipe the party?
+
+
+
+
+
- -
-
-
-
- Your choices -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NamePts
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
-
+
+
+
+
+
Your choices +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NamePts
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
Meelee Fighters3
- - - + + - + + +