Creating a restricted list based by spell level
Hi!
I need a help to create a classe feature using the following characteristics: Each level the character can select any necromantic spell from any list, limited by your maximum spell level he can cast, and add to your spellcasting list and, to help selecting, the first selection list determines the level. (I done that!) My problem is: I can't create a restriction. I am using the following options e codes, inspired in Elven Arcana (Oracle) and Greater Spell Selection (Magus): Code:
Item Selection Section |
You shouldn't need to restrict level with a separate selection, that can already be done right with the usrCandid
Code:
field[userCandid1].text = "component.BaseSpell & sSchool.Necromancy & (val:sLevel.? <= " & hero.childfound[cHelp???].field[cMaxSpLev].value & ")" Also note, I haven't tested this specifically, but it is based on something I've used before. |
Quote:
In example: Code:
field[userCandid1].text = "component.BaseSpell & sSchool.Necromancy & (val:sLevel.? <= " & root.field[cMaxSpLev].value & ")" |
Yep you could, but I had just copied from some old code. It was actually from an archetype for Rite and since it wouldn't be going to other classes it was just using the class instead of root.linkage[varies].???. I was also very new still back then. Not so new now.
|
If this is running from a class special, I would call the foctoclass procedure, myself. That way it will get to the class helper it is associated with, whether bootstrapped to the class helper directly or added by something else, like an archetype.
* Code Snobbery activate * |
If only there were a nice API document so that everyone could know what everything does :-P
|
Quote:
I should go change some code I created this weekend to use that actually! Quote:
|
Quote:
|
Quote:
|
All times are GMT -8. The time now is 01:14 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.