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.
|