• 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

Detect how a feat was added to a hero?

ShadowChemosh

Well-known member
So for the Mythic playtest it has feats that are 99% the same as normal feats. The only difference appears to be that you can only take a Mythic Feat at specific Mythic Tiers. So I need to prevent the feat from being taken from the normal "Feat" tab in HL.

So right now I have a Mythic Tier as a base Class and its coded at the right points to allow access to a Mythic Feat. This works great.

So anyone know of a way to either A) Prevent the feat from be chosen on the Feat tab but still work from the Class tab or B) detect that a feat was added through the "Feat" tab and at least give an error?

Any thoughts?
 
The feats added on the class tab have a BonusFeat identity tag from their class, and have Helper.Secondary if they're from the second table.

There isn't a way to check this until the feat is selected, though.

Code:
validif (@ispick = 0)
validif (altpick.tagis[BonusFeat.the mythic class's Id] <> 0)
 
I'm really excited to see your results Shadow. I'm using the Mythic rules in my new campaign and being able to test things in HeroLab will be infinitely helpful.

Thanks for doing so much for the HL community!
 
Back
Top