View Single Post
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old September 16th, 2016, 03:53 PM
Quote:
~ 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
This is where you set when you get 1st, 2nd, 3rd, and 4th level spells as you suspected.
Quote:
(Phase First / Priority 1000 / Index 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[sClass.cHelpSor]

~ Cantrip Array
focus.field[cArrKnCan].arrayvalue[2] += 2
focus.field[cArrKnCan].arrayvalue[9] += 3
perform focus.assign[sClass.cHelpSor] <- should be set to cHelpWar I believe (cHelpWar being warlock I believe).

perform focus.assign[Helper.3rdCaster] <- should be changed to perform focus.assign[Helper.WarlocCast]

I'd have to actually build the subclass myself to be sure.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #6 Reply With Quote