Bonus Spell Slot Script

I would like to, if it’s possible, to give one of the companions in my module an extra spell slot. It’s for a lever 3 Bard. Is it possible to make a script that does that? I’ve checked the different functions in the Script Assist but I can’t seem to find anything that would do this.

EDIT: I mean, you can add things like this with altering the Item Properties on an item, so I thought there ought to be a way to script this.

You could just add a feat. Pick one for your situation:

FeatAdd(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL0, FALSE);
FeatAdd(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL1, FALSE);
FeatAdd(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL2, FALSE);
FeatAdd(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL3, FALSE);
FeatAdd(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL4, FALSE);
FeatAdd(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL5, FALSE);
2 Likes

Ah! Didn’t see the FEAT_EXTRA_SLOT among the constants. Great! I’ll try that. Thanks, @travus!

1 Like

Now, a follow up question. Could I remove this feat also through a script?

EDIT: Perhaps like this?


FeatRemove(oPC, FEAT_EXTRA_SLOT_BARD_LEVEL3);
1 Like

Yep.

1 Like