• 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

Need help adding Racial Ability dependant on Minimum Rank

THX472

Member
I've created a new racial ability and I'm trying to set it up so it only appears when a character reaches a minimum rank. Specifically, I don't want the ability to appear until the character is at least Seasoned.
What I've done so far is create the ability, and I've added it using a Bootstrap to the Race. I think I need to use a Condition on the Bootstrap entry, but I'm not sure how to code the Tag Expression.

Am I approaching that correctly? If so, how should I code the Tag Expression?
 
You're on the right track here. The character's rank is maintained within the "acRank" field on the hero. So you would need to check that field value within the Condition test on the bootstrap. The problem is that there is no way to accomplish that via a tag expression. The tag expression applies itself to the race that bootstraps the ability, and the race doesn't have the appropriate info. The hero can be accessed via the tag expression, but only when testing tags - not field values. So there is currently no way to solve this. :-(

I just added to the todo list assigning the rank to the character as a tag - in addition to the field value. Then the tag expression can be used for what you want. I'll try to get an update to the SW data files out before the weekend. <fingers crossed>
 
You're on the right track here. The character's rank is maintained within the "acRank" field on the hero. So you would need to check that field value within the Condition test on the bootstrap. The problem is that there is no way to accomplish that via a tag expression. The tag expression applies itself to the race that bootstraps the ability, and the race doesn't have the appropriate info. The hero can be accessed via the tag expression, but only when testing tags - not field values. So there is currently no way to solve this. :-(

I just added to the todo list assigning the rank to the character as a tag - in addition to the field value. Then the tag expression can be used for what you want. I'll try to get an update to the SW data files out before the weekend. <fingers crossed>


Since you are mentioning a possible update I tought I'd bring to your attention a couple things. first is nit picky.
1) SW calls the Edge for healing Fast Healer, HL calls it Quick Healer.

2) Habit It's my interpretation that the minor form of habit imposses the -1 to charisma, while the maor form does not impose a penalty on charisma, but has all the withdrawal complications.

Currently HL imposes a -1 to both minor and major. This looks like someone left and "Else" out of the evaluation script shown below.

if (field[hinMajor].value = 0) then
perform #traitadjust[trCharisma,-,1,"Habit"]
endif
 
Back
Top