View Single Post
Trion
Junior Member
 
Join Date: Mar 2020
Posts: 13

Old October 16th, 2020, 02:53 AM
So, I managed to get both new feats (Greensinger Initiate and Nightbringer Initiate) to add skills to the Druid's class skills using the code I found in the other version of the Greensinger Initiate feat :
Code:
~ Add a class skill
      var index as number
      index = hero.child[cHelpDrd].assign[ClassSkill.kBluff]
      index = hero.child[cHelpDrd].assign[ClassSkill.kHide]
      index = hero.child[cHelpDrd].assign[ClassSkill.Perform]
It works, I tested it in the character creator.

However, I did not manage yet to get the Spells added to the spell lists. The script used in the previous version of the Greensinger feat throws an "error in string expression" at the compilation.

Here is an exemple the code :
Code:
 perform [spChaPer1].assign[sClass.Druid]
I also tried the solution you advised me, using the "Extend Thing" subtab, but didn't get more success. Here is an exemple of the extensions I created and the error that the compilation gives me :


The "fNightbrInit" tag is the unique ID associated to the feat I created.
Here is the code I put in the Eval Script :
Code:
perform hero.childfound[cHlpDrd].assign[sClass.fNightbrInit]
The objective is to get the feat I created (fNightbrInit) to add the spells to the Druid Spell List. It looks like I misunderstood something in your message, but I don't see what.

Any input on this ?
Trion is offline   #4 Reply With Quote