From e31403087973b0eb429cb49d501f86932c410fe1 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 21 Jan 2025 12:37:26 -0600 Subject: [PATCH] clarify asPeaceful() function for spells I found it very confusing how many of the spells were (WHEN_COMBAT).asPeaceful(). I thought those were bugs at first. --- src/spell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/spell.cpp b/src/spell.cpp index 30c9311c..e000949c 100644 --- a/src/spell.cpp +++ b/src/spell.cpp @@ -47,6 +47,7 @@ cSpell& cSpell::needsSelect(eSpellSelect sel) { return *this; } +// Mark a spell as castable by pacifist PCs cSpell& cSpell::asPeaceful() { peaceful = true; return *this;