From d4fe535da2eb92e382bf46715f742d82b3eb462d Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@posteo.net> Date: Sun, 19 Feb 2023 16:42:35 +0100 Subject: [PATCH] fully program ooze abilties --- monsters.sty | 2 +- stats.sty | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/monsters.sty b/monsters.sty index fb931973..f2ef8e8f 100644 --- a/monsters.sty +++ b/monsters.sty @@ -1386,7 +1386,7 @@ mana stone with \arabic{track} mana, \lootJewellery, \randomtwo\lootJewellery, \ {\arabic{track}}% DR {\arabic{r4}}% AGGRESSION {\ifnum\value{gold}>0 Athletics \arabic{gold}, Stealth~\arabic{gold}\else Projectiles~\arabic{r3}\fi, \knacks{\ifnum\value{r4}>3\disarm, \fi \unstoppable}}% SKILLS -{Acidic damage, gelatinous (DR does not apply to fire-based attacks)}% ABILITIES +{\acidBody, \ifnum\value{gold}<1\acidSpray\fi\ifnum\value{gold}<0, \gelRegen\addtocounter{xpbonus}{1}\fi}% ABILITIES {} } diff --git a/stats.sty b/stats.sty index 96f3211f..1b65c1b2 100644 --- a/stats.sty +++ b/stats.sty @@ -537,6 +537,19 @@ \ent{Abilities:} & #1 } +\newcommand{\acidSpray}{ + \addtocounter{str}{-2}Acidic spray (spray for \calculatedamage{str} Damage per turn)% + \addtocounter{str}{2}% +} + +\newcommand{\acidBody}{% + Acidic Body (inflict \calculatedamage{str} Damage each turn)% +} + +\newcommand{\gelRegen}{% + Regeneration (1 HP/ round, max. \setcounter{hp}{\value{str}}\addtocounter{hp}{6}\roundUp{hp} \arabic{hp})% +} + \newcommand{\amphibious}{ amphibious% } -- GitLab