View previous topic :: View next topic |
Author |
Message |
max196
Joined: 26 Jun 2008 Posts: 30
|
Posted: Sat Dec 13, 2008 16:21 Post subject: AddKnownSpell questions |
|
|
example:
I add a new spell at a sorc lvl 1
AddKnownSpell (oPC, CLASS_TYPE_SORCERER, 9, SPELL_TIME_STOP);
it appears in the book
I cant cast because I dont have slot
If I equip an item with extra spell slot for lvl 9 and the rest, I can cast the spell without problems.
If I use SetRemainingSpellSlots (oPC, CLASS_TYPE_SORCERER, 9, 3);
it doesn't work.
SetRemainingSpellSlots has more limitations than AddKnownSpell or should I use a different way to give a PC extra spell slot? |
|
Back to top |
|
|
acaos
Joined: 08 May 2007 Posts: 153
|
Posted: Sat Dec 13, 2008 23:09 Post subject: |
|
|
SetRemainingSpellSlots can't give them more spell slots available than GetMaximumSpellSlots would return.
Acaos |
|
Back to top |
|
|
Nob
Joined: 16 Apr 2005 Posts: 21
|
Posted: Tue Feb 10, 2009 1:26 Post subject: |
|
|
On the same function:
Does the spell level variable actually do anything? So far in my testing it doesn't seem to influence what level in the spellbook that known spell is placed under.
Is there a way to make this work like cleric domain spells where we can add known spells not normally part of that caster's class spells list or at a different level than usual? |
|
Back to top |
|
|
|