View Single Post
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old March 5th, 2011, 09:47 AM
1 - I have applied the Helper.RaceSecSpl & SecClsAllw.WhateverDomain to the race, which causes the racial spells tab to have a secondary spells button, but when you click on it the list is populated by every spell from every list, 6000+ spells! When you click out of the window the following error pops up:

Attempt to access field 'cSplScExpr' that does not exist for thing 'Totals'
- - -
Empty candidate tagexpr specified for field 'cSplScExpr' on pick 'Totals'

2 - I have also tried doing an eval script to set the field on the Totals thing (since I can't seem to find a thing that is responsible for the Racial Spells tab). Code below:

Pre-Attributes 100
hero.child[Totals].field[tSplScExpr].text = "sClass.Destruct & TRUE"

This does adjust the text of the field, but does not actually define the list of secondary spells.

3 - A third tack I am thinking of involves applying tags like those applied to the Cleric Class Helper. How can one transition through code to assign a tag to the Racial Spells tab? I can't find a Thing that seems to link to it.
Lawful_g is offline   #109