Senior Member
Join Date: Jul 2010
Posts: 3,147
|
I'm looking at the feats that increase class level for certain purposes, such as Practiced Spellcaster and Natural Bond. It looks like Natural Bond isn't working, and there's an author comment about that. So far, the eval script looks like:
Code:
~ Add 3 to our companion level. hero.childfound[cAnimClass].field[CompClLev].value += 3 hero.childfound[cAnimComp].field[CompLevBas].value += 3 Practiced Spellcaster looks like: Code:
field[fChosen].chosen.field[cCasterLev].value += 4 field[fChosen].chosen.field[cCasterLev].value = minimum(field[fChosen].chosen.field[cCasterLev].value, herofield[tHitDice].value) Edit: This would be for d20 and/or Pathfinder. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Is it for d20 or Pathfinder? The answer's different due to coding changes between the two systems. (If you want both, please post a copy of this thread in one of their forums, and I'll move this thread to the other forum).
Also, please remember that I can't read your mind and know what book you're looking at when you name a feat, and that I don't have every d20 and Pathfinder book open at my desk. What books are Practiced Spellcaster and Natural Bond from, and what do they do? I apologize, but I haven't managed to memorize every feat in both games yet. This may also be a case where the "Search this forum" option that's at the top right of the page may be useful - someone may have asked about these feats before. |
#2 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Natural Bond is from Complete Adventurer:
Quote:
Quote:
Last edited by Sendric; August 19th, 2010 at 12:16 PM. |
||
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
I copied over my script from d20 to here, and it works here as well (after I changed the priority to 498). One flaw is that it calculates total class levels, but that isn't necessarily the same as total character level which would include racial hit dice I believe.
Last edited by Sendric; August 20th, 2010 at 06:40 AM. |
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Code:
#totallevelcount[] - #levelcount[Race] - #levelcount[Template] Last edited by Mathias; August 20th, 2010 at 09:38 AM. Reason: More specific phrasing |
#5 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
|
#6 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
I ported over the Practiced Spellcaster feat from d20 to Pathfinder, but had to make a change. For those interested, here is what the Pathfinder version of this feat looks like:
Code:
field[usrChosen1].chosen.field[cCasterLev].value += 4 field[usrChosen1].chosen.field[cCasterLev].value = minimum(field[usrChosen1].chosen.field[cCasterLev].value, herofield[tHitDice].value) The only difference is changing fChosen to usrChosen1 |
#7 |
|
|