• 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

Picking the right non-unique skill to modify.

EightBitz

Well-known member
I have a skill, "skKnow" that's a generic knowledge skill with the NeedDomain tag, so the player can specify the area of knowledge.

Other choices made during character creation can bootstrap this skill multiple times.

For instance, I have a "Learned" descriptor that bootstraps three instances of "skKnow". I then want an eval script on "Learned" that applies a bonus to each of the Knowledge skills that it bootstrapped, but NOT to any Knowledge skills that it has NOT bootstrapped.

Is there a simple way to do this?
 
Simple way would be to add a tag on the bootstrap that identifies these Specific skills. Then either a foreach loop to read only those or a base script in the skill component that only fires when that tag is present.
 
Actually, thanks to your tip, I can do it all within the bootstrap element. Thanks.

Code:
    <bootstrap thing="skKnow">
    	<autotag group="Descriptor" tag="DscLearned"/>
      <assignval field="trtBonus" value="1"/>
      </bootstrap>
 
Back
Top