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