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.
This commit is contained in:
2025-01-21 12:37:26 -06:00
parent 8703c772d4
commit e314030879

View File

@@ -47,6 +47,7 @@ cSpell& cSpell::needsSelect(eSpellSelect sel) {
return *this; return *this;
} }
// Mark a spell as castable by pacifist PCs
cSpell& cSpell::asPeaceful() { cSpell& cSpell::asPeaceful() {
peaceful = true; peaceful = true;
return *this; return *this;