• 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

Adding a Feat

sabre256

Member
Okay, I know how to add most feats, but I need to add a feat, that I'll list below. I can't seem to find any eval scripts that will direct me in the right direction to add this. Any suggestions?

Joe


Practiced Spellcaster
Despite branching out into a different discipline, you continue to study the use of magic.
Prerequisites: Levels in a spellcasting class and a non-spellcasting class.
Benefit: You gain “+1 level of existing spellcasting class” for every two levels in a non-spellcasting class.
 
I've coded a "Practiced Spellcaster" Feat for PF quite easily since it was mostly checking pre-req's and offering text. I looked at the way it was coded for d20 system and basically duplicated it in PF.
Note that the feat offers you a CASTER LEVEL increase (maximum 4, that doesn't increase your CL higher than your HD) not a +1 Level to existing class. (d20 Complete Arcane)
 
d20

I couldn't find anything class/feat that added a caster level. Thats what I was hoping someone could point me too, or copy into a forum reply
 
Well, I prefer to give outlines of how to approach a problem rather than just giving the solution. Learn by doing, you know?

So for this I would foreach through all classes on the hero which did not have a tag marking them as a spellcaster (use Data File Debugging and look at caster vs. non-caster class tags to see which tag is relevant). I would then count those class levels and store them in a field, halve that field, and give the feat a selector which picks among the classes on the hero which are casting classes (you should be able to use a similar expression for this as in the foreach, but reversed). Then have the eval script add the value you stored in the field to a field on the chosen class.

If that sounds like total gibberish, I'd encourage you to check out my Intro to adding Content video on youtube.
 
No, it didn't sound like gibberish, I have looked in those areas, but I didn't see any tags like that. I will give it another go. I figured it was a matter of finding the right tag, but I haven't found it yet.
 
Ok, let me know if I'm on the right track. Looking in the tag summary for the character, I search for caster. I get 2 results back. both have the following fields -
group name - hero
tag name - caster
tag id - hero.caster

Is this the data fields I need?
 
Rather than looking on the hero, add some classes to the character and look on the class helpers. For example, add Cleric, Wizard, and Barbarian and pull up the tags of all 3. Filter each list for "Cast", what tags are on Cleric/Wizard which are not on Barbarian?
 
Back
Top