From aafbf9459e2b1bac0713fef707028ffa12e57a90 Mon Sep 17 00:00:00 2001
From: Matija Bijelic <mijelicbatija@gmail.com>
Date: Wed, 10 Jan 2024 22:58:30 +0000
Subject: [PATCH] Comments on range weapons having some coding issues. And why
 are only Thrown and Impromptu weapons written like this? Rest of weapons
 under Ranged Combat section, for example, shortbows, have their damage as
 $1D6-1$, as opposed to \addtocounter{damage}{-2}% \dmg{damage}

---
 combat.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/combat.tex b/combat.tex
index ef988193..9fe95627 100644
--- a/combat.tex
+++ b/combat.tex
@@ -419,7 +419,7 @@ They work just as short bows, but their Damage is the normal weapon Damage minus
 \settoggle{creatureBox}{true}
 \javelin s deal \dmg{damage} when used in combat, but only
 \addtocounter{damage}{-2}%
-\dmg{damage} when thrown.
+\dmg{damage} when thrown. % I assume this a coding error, since javelins are listed with +1 damage, meaning they should deal 1d6+1 damage, and 1d6-1 when thrown. Code is probably looking just at +1 bonus, without the base damage.
 
 \subsubsection{Impromptu Weapons}
 \index{Projectiles!Impromptu}
@@ -427,7 +427,7 @@ They work just as short bows, but their Damage is the normal weapon Damage minus
 Weapons which were never made to be thrown, such as swords, axes, or most knives, receive a -2 penalty to hit for every 5 steps distance from the target, and a -2 penalty to Damage.
 \longsword s don't make great projectiles, but they still deal
 \addtocounter{damage}{-2}%
-\dmg{damage} basic Damage.
+\dmg{damage} basic Damage. % Also seems like a coding error, since longswords have +2 damage, which should be 1d6+2 normally, and 1d6 when thrown. Again, it seems that code is taking just the +2 damage bonus, translating it into 1d6-2, which then becomes 1d6-4 when thrown
 \settoggle{creatureBox}{false}
 
 \end{multicols}
-- 
GitLab