## Sorcer Bonus Spells

Expand Messages
• So, We re playing with the idea of giving the Sorcerer the same bonus to Spells Known as he gets to Spells Cast. I have a custom class file where I put in
Message 1 of 3 , Jun 2, 2003
• 0 Attachment
So,

We're playing with the idea of giving the Sorcerer the
same bonus to Spells Known as he gets to Spells Cast.

I have a custom class file where I put in these lines:

CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=1|
(CHA+1)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=2|
(CHA)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=3|(CHA-
1)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=4|(CHA-
2)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=5|(CHA-
3)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=6|(CHA-
4)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=7|(CHA-
5)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=8|(CHA-
6)/2
CLASS:Sorcerer.MOD BONUS:SPELLKNOWN|CLASS=Sorcerer;LEVEL=9|(CHA-
7)/2

This sorta works. The problem is with the higer level spells, where
for
most characters this SUBTRACTS from known spells. Is there a way to
make this work only when the BONUS would be positive? Is there an
easier way to do this? Am I nuts?
• MAX Will take the greater of the two formulas. So... You could do ((CHA-6)/2)MAX0 which will return (CHA-6)/2 or 0, whichever is greater.
Message 2 of 3 , Jun 2, 2003
• 0 Attachment
<formula>MAX<formula2>

Will take the greater of the two formulas.

So...

You could do ((CHA-6)/2)MAX0 which will return (CHA-6)/2 or 0, whichever is
greater.

That is how we do things for a stat 'Bonus' as opposed to a modifier. CHA
refers to the Charisma modifier. CHAMAX0 refers to the Charisma bonus.

Tir Gwaith
PCGen Data SB and BoD
• Works perfectly. Thanks! ... whichever is ... modifier. CHA ... bonus.
Message 3 of 3 , Jun 6, 2003
• 0 Attachment
Works perfectly. Thanks!

--- In PCGenListFileHelp@yahoogroups.com, "Tir Gwaith" <thoron-tir-
gwaith@l...> wrote:
> <formula>MAX<formula2>
>
> Will take the greater of the two formulas.
>
> So...
>
> You could do ((CHA-6)/2)MAX0 which will return (CHA-6)/2 or 0,
whichever is
> greater.
>
> That is how we do things for a stat 'Bonus' as opposed to a
modifier. CHA
> refers to the Charisma modifier. CHAMAX0 refers to the Charisma
bonus.
>
> Tir Gwaith
> PCGen Data SB and BoD
Your message has been successfully submitted and would be delivered to recipients shortly.