• 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

Increasing Spell Slots Script

tooley1chris

Well-known member
Hey sctipters, I'm adding a custom item/feat that allows warlocks an extra spell slot. Is there a way to write in an additional slot to work with character sheet?
 
I just tried this eval script out on a feat:

Code:
hero.childfound[SlotHold1].field[MaxAllow].value += 1

This increases the number of Spell Slots showing on the Spell tab for first level spells by 1. Not sure exactly what you are adding or if this is what you were looking for. You can use 'SlotHold2' for second level spells, 'SlotHold3' for third level etc.

Also, I haven't messed with spells much, so Dungeonguru or someone more knowledgeable might have a better way!
 
Smokeh is close, if I remember right warlocks use a bootstrap called SlotHoldWa, so it's more like:

hero.childfound[SlotHoldWa].field[MaxAllow].value += 1


Smokeh's logic works for a standard caster, but Warlocks are a bit odd.

Just for balance sake I hope that item/feat has some power restrictions, like only allowed 1/day or 1/week or has charges. I was in a playtest where a high level warlock was granted an extra slot, it hurt... Warlocks get to slot refresh on a short rest as is - that's pretty powerful.
 
Back
Top