Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Increasing Spell Slots Script (http://forums.wolflair.com/showthread.php?t=60355)

tooley1chris March 13th, 2018 04:10 AM

Increasing Spell Slots Script
 
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?

smokeh March 13th, 2018 05:40 AM

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!

dungeonguru March 13th, 2018 07:25 AM

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.

tooley1chris March 13th, 2018 09:20 AM

SlotHoldWa worked wonderfully! Thanks to you both!
And yes, Im aware of the balance issue. Thanks for the heads up!


All times are GMT -8. The time now is 01:24 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.