• 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

Grant specific bonus spell

Kathorus

Well-known member
I can't seem to find an example of this where a spell is specifically granted. What I am trying to do is have a thing grant a specific spell to a caster's spells known as a bonus spell. The caster would need to meet the pre-reqs for the spell before it was available (appropriate caster level, sufficient casting stat)

Does anyone know of an example of this, the closest thing that I have seen is the rogue talents, but they grant as a special ability, so it doesn't seem like the right way to do this.
 
If you are trying to grant just 1 specific spell, maybe you create a Racial Special and select the Spell Like Ability under the Special Ability Type button. That would assign it under the Spell tab but not have it included in the number of spells u can have and such. You would also then need to put pre-reqs on and such.

I think this might be a better way of doing it besides trying to add a spell. So Spell Like Ability is my vote.
 
Thanks for the response, I might give that a try, however, I want the spell to be counted against the casters amount per day, what I was really looking to do was something like this (where values in quotes are placeholders for the real values)

~increase the spells known by 1 for the appropriate level
hero.childfound["Class"].field[cKnowMax].arrayvalue["SpellLevel"] += 1

~Assign spell
perform hero.childfound["Class"].assign["SpellKnown"."SpellGiven"]
 
On the feats tab (or maybe the archetype list), try filtering for the text "spell list" - that'll help you find examples of things that add something to the spell list of a class.

For example, is the "Shade of the Uskwood" feat doing something similar to what you want to accomplish?
 
by the feat description under benefit, it looks to be doing the something similar, however, I am not seeing (from inexperience, not that it doesn't exist) how those spells are being added, the Eval Script simply says,

perform hero.childfound[cHelpDrd].assign[sClass.fShadeUsk]

I am okay with what is going on until 'sClass.fShadeUsk' I am not sure what that is, it is not the ID of the feat because that is fShadeUskw.

And to add insult to my searching, I don't see this feat in my feat selections on the hero, but I was able to find it in the editor (obviously)
 
actually, I take that back, although I would still like a definition of sClass.fShadeUsk - this feat is adding spells to the spell list, I want to take a spell from the existing spell list and let the caster have it for free.

for instance, a sorcerer has 2 1st level spells known at 1st level. I want to be able to increase this to 3 1st level spells known and assign 'Sleep' as the spell that is known.
 
Expanded Arcana is close, but I am not sure how to translate the code that is asking for 'field.[usrChosen1]' to just simply assign a specific spell.
 
Back up. What class(es) can this thing target?

The categories are:

Spontaneous Casters (Sorcerer, Bard, Oracle)
Spellbook casters (Wizard, Witch, Alchemist)
Prepared Spell, whole list known (Cleric, Druid, Paladin)

Each of those categories needs to be handled in a different way.
 
Does this feat apply the specific spell to a chosen class, or is it always to a certain class?

If it is to a certain class, you can use

perform hero.childfound[cHelpXXX].assign[ClsAllowSp.spYYYYYYY]

Where XXX is the 3 letter abbreviation of the class, and YYYYY is the unique id of the spell you want to allow it.

Then, to enforce that they actually take that spell, add a eval rule looking for that spell, and +1 slots of the appropriate level (look at the spells known adjustment for an example).
 
It is for spontaneous casters.

The spell is already one that the caster can choose.
I want the caster to have it known for free.


So, our 1st level sorcerer picks it, he already has Magic Missile and Mage Armor as his known spells, this give him Sleep as well.
 
What you're describing there is exactly what Expanded Arcana does - it selects a class, adds +1 spell known to a particular level, and it's up to the user to pick the exact spell.
 
Not exactly, I don't want the user to have a choice, I want to assign a specific spell. Is that possible?
 
So this is more like the fixed bonus spells added by a Sorcerer bloodline, or by several archetypes?

Is it like the bloodlines, that you know exactly which class you'll be applying this to? Or is this on a feat or template or prestige class that you might apply to any of several different classes?
 
Well, that got me in the right direction, I didn't even think of bloodlines, I have a feat now that adds the spell to the caster like I would like.

However, I thought that I could hook this up to the animal companion thing you helped me with the other day by using the 'Bonus Feat Granted' but that obviously does not do what I assumed it would do.

So, is there a way to have this feat applied to the master from the companion?
 
Last edited:
Okay, I think I have figured out how to do what I want, at least it looks like it works. Would love some feedback on things I might be overlooking as I have only been messing with Hero Lab for about 2 weeks or so.

1. Define a unique custom tag on the Animal Companion Custom.AniName1

2. Run an Eval Script to assign this tag to the master. Timing First/2400 (this is to add it before the bootstrap conditions in step 3 check it.)

Code:
perform master.assign[[COLOR="Blue"]Custom.AniName1[/COLOR]]

3. Create a Class Special ability that bootstraps the spell, add a condition that checks for the custom tag from number 2, with a timing of First/2500

Code:
count:[COLOR="blue"]Custom.AniName1[/COLOR] <> 0

For each animal companion created, make a it's own unique tag, then bootstraps can be added to the single Class Special that was created.
 
Back
Top