move the asPeaceful() note to where it will help
This commit is contained in:
@@ -47,7 +47,6 @@ cSpell& cSpell::needsSelect(eSpellSelect sel) {
|
||||
return *this;
|
||||
}
|
||||
|
||||
// Mark a spell as castable by pacifist PCs
|
||||
cSpell& cSpell::asPeaceful() {
|
||||
peaceful = true;
|
||||
return *this;
|
||||
@@ -93,6 +92,10 @@ eSpell cSpell::fromNum(int num) {
|
||||
return check;
|
||||
}
|
||||
|
||||
// NOTE:
|
||||
// asPeaceful() marks a spell as castable by pacifist PCs. It doesn't mean "only in peace mode"
|
||||
// (which would make a lot of these contradictory/broken)
|
||||
|
||||
// Mage Spells
|
||||
cSpell M_LIGHT = cSpell(eSpell::LIGHT).asType(eSkill::MAGE_SPELLS).asLevel(1)
|
||||
.withCost(1).when(WHEN_COMBAT).when(WHEN_TOWN).when(WHEN_OUTDOORS).asPeaceful().finish();
|
||||
|
Reference in New Issue
Block a user