• 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

Counting Class levels IF the class has heavy armor.

TobyFox2002

Well-known member
I'm working on the Dragonscale Husk from Dragon Magic.

This class variant has an unusual ability where it takes total number of class levels in any and all classes that grant the heavy armor proficiency and then totals them.

Then it strips all armor proficiency and prohibits the use of any armor. It grants an untyped AC bonus equal to 6 + 1/3 the total level of all classes that would have otherwise granted the use of heavy armor.

Furthermore, it prohibits the acquisition of any armor proficiency at a later time.

I don't really know how to do this as they are on different levels of code.

I thought of using a foreach but... BaseClass where xxx is bootstrapped to that class. But they don't seem like they'd be on the same level (if "level" makes any sense).

And as for the rest, stripping the tags and hiding the armor prof bootstraps would cause a validation error because variant no longer contains the original requirement. Must have heavy armor proficiency.

I don't think I can prevent, the hero from adding armor, but I know I can strip all of the benefits from the armor. I've done that before for another template I've created.
 
You can remove the Armor Proficiency feats by adding the following tags to it:

Helper.FtHide
Helper.FtDisable
thing.skipprereq

This will make the feats act as though they were never added.

Unfortunately, there does not seem to be an easy way to determine how many class levels a character has that grants this feat. Also, I played around with the foreach idea, and it appears that the feat is considered a top-level pick equal to the class so I don't think we can do it that way.

At this point, the only method I can see working is to figure out which classes provide this feat and do a #levelcount for each one. That's obviously not ideal. If I think of anything else, I'll let you know, but I don't have high hopes for this one.
 
Back
Top