• 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

Favored Enemy

Frodie

Well-known member
I am trying to give a class special ability that gives a class that does not have a "Favored Enemy" a Favored Enemy.

I tried looking at the others abilities that are similar, but they don't seem to work.

I also tried: hero.childfound[cHelpMdH].field[cFav1Tot].value += 1
but it will not take.

Any ideas?

Thank you,
 
I tried the timing first and final @ 10000.

I must have missed the #resmax[resEnemSel] and #resman[resEnemUpg]. Let me see what I can find.

Found:

Post Att 10000
hero.child[resEnemSel].field[resMax].value += 1
hero.child[resEnemUpg].field[resMax].value += 1

Works cool, thank you.

I also have the ranger abilities "Adaptation", and they show up and work fine, but are greyed out. How do I get the above Fav Emem to work for it's pre-req?
 
Last edited:
Looks like the Adaptation has a pre-req like:

#hasability[feAnimal] + #hasability[feVermin] <> 0

Is there a way to push the tag HasAbility.? from the chosen fav enem?

Tried:

First 10000
perform hero.childfound[cHelpMdH].field[usrChosen1].chosen.pushtags[HasAbility.?]

and the usrChosen1 filed is: component.BaseCustUs & !Helper.Secondary & thingid.fe?

but get this error:

Attempt to access field 'usrChosen1' that does not exist for thing 'cHelpMdH'
 
Last edited:
cHelpXXX is normally the class helper, which doesn't have any ability to select something. Are you certain that is where you want to be? I would think any selection would be from a class special.

Alternately, you could try pulling the HasAbility tags onto your own pick, and then forwarding them to the hero.
 
It's a "class special ability". I think it needs to pull the tag from the 'usrChosen1' and then push it. Correct?
 
That sounds like a fine idea, give it a try.

However, if you've created a class special ability with a unique ID starting with "cHelp" I would encourage you to change the unique ID of that class ability. Otherwise it might cause confusion with actual class helpers.
 
It works great! Thank you!

First 10000

perform field[usrChosen1].chosen.pulltags[HasAbility.?]
perform hero.childfound[cHelpMdH].pushtags[HasAbility.?]
 
Last edited:
Back
Top