PDA

View Full Version : Error when adding spells in CW



Zacchaeus
June 17th, 2023, 12:05
Steps to reproduce.

1. New campaign, start up the CW
2. Select Cleric as the class
3. Click on Spells button.

Produces the following error Script execution error: [string "5E:..ard/scripts/classspells_sub_spells.lua"]:91: attempt to index local 'tClassSpecSpellList' (a nil value)

Trenloe
June 17th, 2023, 12:14
I can't reproduce this. What modules do you have loaded when you get the error?

Zacchaeus
June 17th, 2023, 12:28
OK, I can't reproduce either now. Not exactly sure what the problem was. I've tested in a new and existing campaign with just the PHB and with other modules and with and without the official theme. Can't get that error again.

EDIT: Ok further testing. Select Cleric and then select all of the Cleric options such as proficiencies languages etc. Select Knowledge as the domain and then select all the stuff for that. Then click on spells.

Trenloe
June 17th, 2023, 12:58
EDIT: Ok further testing. Select Cleric and then select all of the Cleric options such as proficiencies languages etc. Select Knowledge as the domain and then select all the stuff for that. Then click on spells.
I think I've narrowed it down to just selecting a Divine Domain in the Select Specialization drop down. Select a domain and then click on spells.

Korvaak
June 17th, 2023, 17:16
I am using Dragonlance: Shadow of the dragon queen.

Tempest domain.

superteddy57
June 17th, 2023, 19:32
Was able to verify. The issue appears to be not being able to find a spell list and I didn't add in a nil check. So a fix will be pushed when it's ready.

Korvaak
June 17th, 2023, 19:35
Thanks very much.