• 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

Feat prerequisite help

CorzatTheGray

Well-known member
Need some help in coming up with a pre-req or exp-req to handle the feat's prerequisite of checking for a racial ability.

The feat in question:
TPKGames Laying Waste said:
Ancient Vengeance
Your hatred against your ancestral enemies is unceasing.
Prerequisite: BAB +4, Hatred, Enmity, or Eternal Grudge racial ability.
Benefit: Against the enemies listed in your hatred ability, your critical hits deal +2 damage.
I've got the BAB +4 exp-req no problem.
Code:
#BAB[] >= 4

My issue arises as I try to find the over 1 dozen separate instances (or IDs) of "Hatred" (14 instances that I can find), "Enmity" (2 instances) or "Eternal Grudge" (2-3 instances) in the racial specials and alternate race traits. I feel like there should be a way to narrow that down without checking for each separate ability's id...
Code:
(#hasability[raDwHatred] + #hasability[raFGCrChat] + #hasability...) <> 0
As a exp-req this code just seems too long and involved and there's no way for it to account for anything new that may come out.

Help! :confused::confused::confused:
 
Welcome to the fun of HL! Yea having a dozen abilities all the same is one thing not handled well. Hell you want real fun look at shear number of "Breath Weapons" Racial Specials that are in the system!!!!

Note: Frumple fixed this in our Community stuff with a generic Breath Weapon that you bootstrap with specific tags to handle it. :p

My issue arises as I try to find the over 1 dozen separate instances (or IDs) of "Hatred" (14 instances that I can find), "Enmity" (2 instances) or "Eternal Grudge" (2-3 instances) in the racial specials and alternate race traits. I feel like there should be a way to narrow that down without checking for each separate ability's id...
Code:
(#hasability[raDwHatred] + #hasability[raFGCrChat] + #hasability) <> 0
As a exp-req this code just seems too long and involved and there's no way for it to account for anything new that may come out.
Want to know your next really bad issue above? By using #hasability[raFGCrChat] you just forced everyone to have the FGG package that ability is in. Otherwise it will cause an error and HL will fall into a safe mode and load no user files. :(

For Razor Coast I built a generic procedure you could call that would search by name of "Hatred" instead of tags. It works and its future proof but its allot of CPU overhead. I would need to "recreate" that in the Basic Pack and I may do that but not right now.

For now I would advise just a few of the "core" hatred abilities or leaving it as a note for the Player/DM to check themselves. Similar to how HL does not check for specific spells.
 
For now I would advise just a few of the "core" hatred abilities or leaving it as a note for the Player/DM to check themselves. Similar to how HL does not check for specific spells.

That's how I've gone about it... just put in a note that the portion of the prerequisite is not implemented.

Onward and upward!
 
Back
Top