Senior Member
Join Date: Jan 2015
Posts: 160
|
Hey all, hopefully a simple question that I've just overlooked the solution to. The Robe of Arcane Heritage increases your effective Sorcerer levels by 4 for the purposes of determining what bloodline powers you have access to, and their strength. I'm trying to make this also apply to the secondary class Sorcerer. I have it increasing the power of the abilities that are unlocked just fine, but with the way it is coded to unlock them, I haven't been able to make that work.
My question is how can I increase my "total level" for when it goes through and checks to delete the AbReplace tags that disable the bloodline abilities? Code:
doneif (field[gIsEquip].value = 0) foreach pick in hero from BaseCustSp where "SpecSource.csSorcerer" perform delete[AbReplace.cSorBl1st] if (field[cTotalLev].value >= 3) then perform delete[AbReplace.cSorBl3rd] endif if (field[cTotalLev].value >= 11) then perform delete[AbReplace.cSorBl9th] endif if (field[cTotalLev].value >= 15) then perform delete[AbReplace.cSorBl15th] endif nexteach |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Oppss my bad read too quick... Would need to look into this a little later as I have not looked a the Secondary Classes from PU yet...
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. Last edited by ShadowChemosh; July 2nd, 2015 at 12:09 PM. |
#2 |
Senior Member
Join Date: Jan 2015
Posts: 160
|
No worries, the coding on it is... different haha. Instead of checking for levels to enable them, like normal class ability bootstraps, it seems to check for levels then disables everything you don't qualify for. Tried a few more things since I posted, but still no luck.
|
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
I'm not that familiar with how secondary classes work. Let me look into it.
|
#4 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
From what I see, I would expect your initial plan of deleting the AbReplace tags before they could be used to disable things should work. Just set a variable equal to the total level plus 4 and use that instead of cTotalLev. Also, I don't think a foreach is necessary.
First 440 Code:
doneif (field[gIsEquip].value = 0) perform hero.childfound[csSorcerer].setfocus doneif (state.isfocus = 0) var efflevel as number efflevel = focus.field[cTotalLev].value + 4 perform focus.delete[AbReplace.cSorBl1st] if (efflevel >= 3) then perform focus.delete[AbReplace.cSorBl3rd] endif if (efflevel >= 11) then perform focus.delete[AbReplace.cSorBl9th] endif if (efflevel >= 15) then perform focus.delete[AbReplace.cSorBl15th] endif |
#5 |
|
|