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:
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...
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!


The feat in question:
I've got the BAB +4 exp-req no problem.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.
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
Help!


