Member
Join Date: Aug 2014
Posts: 30
|
The issue that I'm having is that it's triggering off of warlock levels, not rogue levels.
Here are the 2 Eval Scripts as I have them now: Code:
(Phase : Post-levels / Priority : 10000 / Index 2) perform linkage[table].setfocus doneif (state.isfocus = 0) var numslots as number if (field[cTotalLev].value >= 13) then numslots += 3 elseif (field[cTotalLev].value >= 2) then numslots += 2 else numslots += 1 endif ~ Add the slots to the highest spell level allowed at the current level. perform hero.child[SlotHoldWa].setfocus focus.field[MaxAllow].value += numslots if (field[cMaxKnLev].value = 18) then perform focus.assign[sLevel.4] elseif (field[cMaxKnLev].value = 12) then perform focus.assign[sLevel.3] elseif (field[cMaxKnLev].value = 6) then perform focus.assign[sLevel.2] elseif (field[cMaxKnLev].value = 2) then perform focus.assign[sLevel.1] endif Code:
(First / 1000 / 1) perform linkage[table].setfocus doneif (state.isfocus = 0) ~ Spellcasting attribute perform focus.setlinkage[castattr,BaseAttr,"IsAttr.aCHA"] ~ Spellcasting type perform focus.assign[CasterType.SpontKnow] perform focus.assign[CasterSrc.Arcane] ~ perform focus.assign[Helper.3rdCaster] perform focus.assign[Helper.WarlocCast] perform focus.assign[sClass.cHelpSor] ~ Cantrip Array focus.field[cArrKnCan].arrayvalue[2] += 2 focus.field[cArrKnCan].arrayvalue[9] += 3 ~ Spells Known Array focus.field[cArrKnSpl].arrayvalue[2] += 3 focus.field[cArrKnSpl].arrayvalue[3] += 4 focus.field[cArrKnSpl].arrayvalue[6] += 5 focus.field[cArrKnSpl].arrayvalue[7] += 6 focus.field[cArrKnSpl].arrayvalue[9] += 7 focus.field[cArrKnSpl].arrayvalue[10] += 8 focus.field[cArrKnSpl].arrayvalue[12] += 9 focus.field[cArrKnSpl].arrayvalue[13] += 10 focus.field[cArrKnSpl].arrayvalue[15] += 11 focus.field[cArrKnSpl].arrayvalue[18] += 12 focus.field[cArrKnSpl].arrayvalue[19] += 13 ~ Max Spell Levels Array focus.field[cArrKnLev].arrayvalue[2] = 1 focus.field[cArrKnLev].arrayvalue[6] = 2 focus.field[cArrKnLev].arrayvalue[12] = 3 focus.field[cArrKnLev].arrayvalue[18] = 4 Adding Warlock Levels makes makes the spell slots progress, as expected: |
#11 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Try using this:
Phase: Post-Levels, Priority: 10000 Quote:
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! Last edited by Mergon; September 21st, 2016 at 10:08 AM. |
|
#12 |
Member
Join Date: Aug 2014
Posts: 30
|
Getting there.
It's triggering on Rogue levels, but still not separate from warlock levels.. |
#13 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
You don't have any warlock levels . . .
Spellthief levels are your rogue levels only. I'm not sure how you are getting a level 40 character. A warlock, at 20th level. gets 4 spell slots. A spellthief rogue , at level 20, gets 3 spell slots. Total spell slots, for a level 20 rogue + level 20 warlock = 7 spell slots. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#14 |
Member
Join Date: Aug 2014
Posts: 30
|
Yeah, I understand the division there - i added the 20 warlock levels to show that it progresses the warlock slots on both warlock and rogue levels.
The two sets of slots should remain separate, so ideally, this hypothetical 40th level character would have 4 warlock slots (at 5th lvl) and 3 rogue slots (at 4th level). |
#15 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Actually not. It's like multi-classing in wizard & sorcerer. Your spell slots are based on the sum total of both classes levels.
That part is actually working according to 5e rules. You just never see it since there is no other warlock-based classes until now. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#16 |
Member
Join Date: Aug 2014
Posts: 30
|
Actually, I think they should be separate spell slot pools.
P164 of the PHB seems clear that the slots from "Spellcasting" and "Pact Magic" are distinct. For a 14 Spell Thief / 6 Warlock (what my character is headed towards), he should have 2 3rd level slots for Pact Magic and 3 separate 3rd level slots for Spell Thief. If a character were to go 14 Spell Thief Rogue / 4 warlock / 2 ranger, he should have 2 2nd level slots for Pact Magic 2 1st level slots for ranger (i.e. 'normal' spellcasting) and 3 3rd level slots for Spell Thief I just don't know, at this point, if the objects are even exposed to be able to replicate a pact magic slot pool as a different pick based on a different class. p.s. I asked my DM and this was his interpretation as well, so going with your interpretation for simplicity is out as well |
#17 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Nope! Both use warlock spell slots. The descriptions of both the warlock and the spellthief spell slots are identical.
If the spell thief was using the sorcerer's spell slot system, you'd have a lot more spell slots and they'd be tied to spell levels. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#18 |
|
|