From d1542ee0463d9d688b60d79722c08dbede49f1e0 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Thu, 6 Mar 2025 11:49:31 +0100
Subject: [PATCH] create the storm children

---
 backpage.tex | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/backpage.tex b/backpage.tex
index 3abfc0d..88b9ff2 100644
--- a/backpage.tex
+++ b/backpage.tex
@@ -2,11 +2,7 @@
   \setcounter{diceNo2}{r4}
 \fi
 \stepcounter{diceNo2}
-\ifnum\value{r12}<70
-  \addtocounter{r12}{17}
-\else
-  \randomize
-\fi
+\randomize
 
 \begin{tabularx}{\linewidth}{Xr}
   \hiderowcolors
@@ -14,7 +10,15 @@
     \setcounter{diceNo2}{\value{rn4tn1}}%
     \addtocounter{diceNo2}{5}%
     \textbf{Birthday:}
-    \showCycle[\value{diceNo2}]~\arabic{r12}
+    \showCycle[\value{diceNo2}]
+    \ifnum\value{mp}>0
+      1%
+    \else%
+      \randomize%
+      \ifodd\value{r2b}\multiply\value{r12} by 2\fi%
+      \ifodd\value{r3b}\multiply\value{r12} by 2\fi%
+      ~\arabic{r12}%
+    \fi
     \par
     \iftoggle{examplecharacter}{
       \Huge \Glsfmtplural{storypoint}~\Repeat{5}{\Square}
-- 
GitLab