• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Total Caster Level of Hero

TobyFox2002

Well-known member
I am trying to create a feat that will total the caster level of the Hero and use that for the prerequisite of feats.

Like item creation and metamagic.

For example 2nd level wizard and 3rd level Clr would be a 5th CL for the purpose of obtaining crafting feats. Is this something that is possible?

Also, Am trying to set up a feat allows the hero to continue to advance in two class abilities.

So using the above example if with the mystic theurge. The hero would pick one ability from the wizard and one from the cleric and they would add their mystic theurge level to that for determining its power. Again, is something like that possible?
 
TobyFox2002,

Develop menu, if you have enabled data file debugging, at the bottom you should see show floating info windows. Under that, show hero fields. There is a field for Maximum Caster Level you can use.
 
I tried that, tMaxCaster shows the highest caster level among the classes you possess.

When testing it with a 2nd level wizard, 1st level oracle. It shows my MaxCaster as 2... Not three.
 
Do as above but instead of hero fields, show selection fields. Look for the cHelp for Class Helpers for your spellcasting classes, each class should have a field for caster level. You can then use a foreach loop through the class helpers on the hero to pull out the caster level field values and store them in a field on the feat such as abValue3 or something and do the math you need to do on that field...
 
Well this is what I have sofar, and I cant seem to pull the value of the eachpick and use it outside of the loop. I cannot set it to the ab[Value].value of the trait (using a trait for testing). Nor can I force the total cCasterLev of all classes into the tMaxCaster value, which isn't exactly what I want, but it would accomplish what I want.

Levels/500 (I tried everything from Levels/500 to post-levels/20000)
Code:
~ Go through all casting classes.
foreach pick in hero from Class where "CasterSrc.?"
~ transition through the Classes if they are a caster

eachpick.field[cCasterLev].value = herofield[tMaxCaster].value
~ The line below works, the line above does not.
~ I cannot seem to be able ot use anything without an eachpick in front , not very helpful.
~eachpick.field[cCasterLev].value += eachpick.field[cCasterLev].value

nexteach
 
Add this debugging line to your code, and that will show you the problem:

debug herofield[tMaxCaster].value

tMaxCaster isn't set until Final/10000, so you'll see that it's value is = 0 at all the phase & priorities you mentioned.
 
Well, I thank you for the help, foreach has never been my specialty. I tested this code from Attributes/1000 all the way down as far as Final 15000. Must past that and it doesn't register for the prereqs for feats such as item creation and metamagic.

I may adjust it down to Final/100 just to make sure it counts for everything, but I dont thing much past that unless there are things I haven't checked for that occur before that.

Final/1000
Code:
~ Go through all casting classes.
foreach pick in hero from Class where "CasterSrc.?"
~ transition through the Classes if they are a caster

field[abValue].value += eachpick.field[cCasterLev].value

nexteach

herofield[tMaxCaster].value = field[abValue].value
 
Well, I thank you for the help, foreach has never been my specialty. I tested this code from Attributes/1000 all the way down as far as Final 15000. Must past that and it doesn't register for the prereqs for feats such as item creation and metamagic.

I may adjust it down to Final/100 just to make sure it counts for everything, but I dont thing much past that unless there are things I haven't checked for that occur before that.

Final/1000
From what Mathias is saying you need to run "after" Final/10,000 to make this work. I would suggest Final/10,050 so you are just a little past when it gets set.
 
Back
Top