• 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

House rule based on a trait...

davidj

Member
I am trying to create a feat that modifies the Aasimar halo trait, so I want to check against whether or not the character actually has the halo trait as a prerequisite. If I could think of any other feat (or anything else) that uses a trait as a prereq, I would be set, but I can't think of one.

If someone out there knows of such a feat I can use as a basis to copy from, that would be great. Or, if you know how to refer to traits in code (e.g. #hastrait[rtHalo] <> 0, which doesn't work), that would also work.

Much thanks,
David.

PS: One other item. Anyone out there know how to modify the text of an existing tooltip? In other words, if you mouse over the Halo trait, you get description A, but if you have selected feat B and mouse over the Halo trait, you should get description A'. This is pure gravy, so if I can't do it, no big deal.
 
A trait is almost the same as a feat, so setting up the same prerequisite for your ability which references the trait id instead of a feat id should work.
 
I just needed to get a good night's sleep, and some morning coffee. Here is the bit I needed:

hero.tagis[HasAbility.raAasHalo] <> 0
 
Back
Top