Aller au contenu

Photo

More spellcaster types?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Roddish

Roddish
  • Members
  • 41 messages
for my next big bungle, ive been trying to give a spelllist to the palemaster class, so i made him a packsp* and a cls_spgn*, made the appropriate entries in classes.2da and package.2da (remembering also to set as a spellcaster).
but in the game, mr palemaster gets a nice palemaster page in his spellbook, but no spells ever become available to him and his spell-level tab icons dont show either.

whats with that? am i barking up the wrong tree somewhere? meh!

#2
Androrc

Androrc
  • Members
  • 101 messages
IIRC the game is hardcoded so that spell tables are only possible for the first 11 classes in the 2da =/

#3
Failed.Bard

Failed.Bard
  • Members
  • 774 messages
Is this for a SP module, a MP server, or just to see if it can be done?

If it's one of the latter two, the answer is likely to try the NWNX function for altering known spells, either off the standard server add on or NWNCX. The function to try would be:

void NWNXFuncs_AddKnownSpell(object oCreature, int iclass, int iSpellLevel, int iSpell, int iCharacterLevel=0)

It's in NWNX_FUNCS in the windows version, not sure if it's in a same named one for linux.