• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Alternate Spell Lists and Added spells

ErinRigh

Well-known member
Is there a way to tell a variant class to pick from a different spell list? For example a ranger variant with druid spell casting. It is easy to tell it to have more spells but it still picks spells from the ranger spell list. Is there a script that I can give it to tell it to pick druid spells?

Also, there is a prestige class from Dragon Magazine #280 called Eldritch Master that allows the character to pick other spell lists, such as cleric or ranger and add those spells to his available list of wizard spells, so is there a way to script that in?
 
Is there a way to tell a variant class to pick from a different spell list? For example a ranger variant with druid spell casting. It is easy to tell it to have more spells but it still picks spells from the ranger spell list. Is there a script that I can give it to tell it to pick druid spells?

Also, there is a prestige class from Dragon Magazine #280 called Eldritch Master that allows the character to pick other spell lists, such as cleric or ranger and add those spells to his available list of wizard spells, so is there a way to script that in?

Yes. The spell list is controlled by a field on the class helper (ie cHelpRgr) called cSpellExpr. It's possible to modify this field, though in this case that may not be necessary.

For your ranger variant, try deleting the tag sClass.Ranger from the class helper. Do this during the Pre-Levels phase. I haven't actually tried this, but I think it will work. Let me know.
 
OK that is confusing, how would you script the deleting and wouldn't that leave the class with no spell list?
 
Also, How would you go about changing caster level? In my above example, rangers don't get spellcasting until 4th level but I want this variant to get spellcasting at 1st level, and have a full (not half) caster level, is it possible, and how would i go abuot changing that?
 
OK that is confusing, how would you script the deleting and wouldn't that leave the class with no spell list?

You can remove the ranger spell list with:

Code:
perform delete[sClass.Ranger]

and add the druid list with

Code:
perform assign[sClass.Druid]
 
Also, How would you go about changing caster level? In my above example, rangers don't get spellcasting until 4th level but I want this variant to get spellcasting at 1st level, and have a full (not half) caster level, is it possible, and how would i go abuot changing that?

Half caster level is a tag, so you can delete that as well, using the same method as above. What's the tag? Try checking the Halve Caster Level button on a class helper in the editor and see what tag gets added (you can see all tags on a thing in the same window in the upper right by clicking the button marked "Tags").

As for getting spells at 1st instead of 4th, that should be controllable in the Class Variant tab by simply using the Spells Cast/Known Per Level arrays.
 
Ok mate, I must be more lost than I thought, I added the script to an Eval Script at Pre-levels/500 and it seems to have no effect I changed the priority to 10000 and still no effect, please help my idiot brain
 
Ok mate, I must be more lost than I thought, I added the script to an Eval Script at Pre-levels/500 and it seems to have no effect I changed the priority to 10000 and still no effect, please help my idiot brain

Hmm...this is on the class variant, right? Probably need to specify the class helper, so change it to:

Code:
perform hero.childfound[cHelpRgr].delete[sClass.Ranger]

Then make the same modification to the second line as well.
 
well that partially worked it now has the right spell list, but it says the caster level is 0 and won't pick spells
 
well that partially worked it now has the right spell list, but it says the caster level is 0 and won't pick spells

The Ranger may also have a maximum and minimum spell level that it can cast. These are fields that are set on the class helper that you may need to change. Not sure if that's the problem here or not, though as I don't know off the top of my head what would cause a caster 0 situation.
 
The Ranger may also have a maximum and minimum spell level that it can cast. These are fields that are set on the class helper that you may need to change. Not sure if that's the problem here or not, though as I don't know off the top of my head what would cause a caster 0 situation.

Well that makes some sense but the problem seems to occur with the ranger spell progression starting at 4th level. If I raise the class to 4th level it becomes 4th level caster with 1st level spells only and then only the bonus spells, like a ranger
 
They are fields on the helper. You can modify them like any other field.


Would the proper script go something like;

perform hero.childfound[cHelpRgr].delete[Helper.cSplMinLvl]

because I get a syntax error

Syntax error in 'eval' script for Thing 'cvHuntDrd' (Eval Script '#2') on line 1
-> Tag 'Helper.cSplMinLvl' not defined

I am guessing it has to do with timing if the code is correct?
 
The perform function is for tags not fields. Here you are modifying fields.

hero.childfound [cHelpRgr].field [cSplMinLvl].value = x

Also, this error message is stating that the tag is not defined, which means it doesn't exist.
 
OOOOHHHH! ok thanks, but we are still not there, I made an eval script

hero.childfound[cHelpRgr].field[cSplMinLvl].value = 0
hero.childfound[cHelpRgr].field[cSplMaxLvl].value = 9

Which I figured had to be done post levels (no?) and set it there but no joy

It doesn't return any errors and changes the selected fields so now the debug window correctly reads the spell min max but nothing changes, still require 4th level chasacter to get only ranger bonus first level spells, I'll post the class if you have time to look?
 

Attachments

I don't right now, but you should try pre-levels. If that doesn't work I will take a look when I get the chance.
 
You guys are changing the Min and Max levels on the class helper. But you are complaining that the CASTER LEVEL is not changing. See any issues in the above statements. :)

Look for fields that are changing or adjusting the Caster level on the ranger.
 
Actually, the caster level is correct, for my 4th level Ranger (Hunter Druid), it lists caster level correctly at 4, however, if the character is 3rd level it lists caster level as 0, furthermore it grants the spells of a 4th level Ranger at 4th level, but not lower (Wisdom Bonus = 1st level spells), if I raise the class to 11th level, it gives an 11th caster level but grants the spells of an 11th level ranger (up to 3rd level).
 
Back
Top