• 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

Help with Favored enemy

jkthomsen9

Well-known member
I can not seam to find the correct script to require the class feature favored enemy as an entry requirement for a prestige class. I am not sure how the resorses resEnemSel and resEnemUpg work and did not see them in the tutorial. I wouls like a script that required either (aberrations, animals, dragons, or magical beasts) be selected but will settle for have any selected, with a better understanding of resorces.

Thanks in advance,
James
 
Specific requirements are easier than a general requirement in this case.

Create a ranger and add the aberrations, animals, dragons, and magical beasts enemies.

Now, in the Develop menu, make sure that "Enable data file debugging" is checked (it's the first item).

Go back to the Ranger panel, right click on each of those, and the bottom item will be "Copy unique Id (feAbber) to clipboard" - copy the Id.

Now, switch to the editor, and add the following to an exprreq:

Code:
#hasability[feAbber] <> 0
(pasting feAbber into there).

Do the same for all the other types, adding each one to the total:

Code:
#hasability[feAbber] + #hasability[feAnimal] + ... <> 0

(HasAbility = 1 if the ability is present on the hero, 0 otherwise, so if one or more of those favored enemies is present, the total will not equal 0).
 
Back
Top