• 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

Suggestions please with mutating tag ID

wrs92103

Member
I'm trying to code up a home-brew Faction. One vanity is challenging me:

Your studies have paid off. You become specialized in one of the following skills: Knowledge (arcana), Knowledge (planes), Linguistics, Spellcraft, or Use Magic Device.

I can make a drop-down to pick one of the five skills, and I can see how to manipulate the field:

Code:
perform field[usrChosen1].chosen.assign[Helper.ClassSkill]

What I'm not getting is that the code above looks like it's adding a tag. For Skill Specialization, it looks like each skill specialization has its own tag name. Linguistics is SpecSkill.skLinguistics and Spellcraft is SpecSkill.skSpellcr and so on. So what was 'Helper.ClassSkill' above needs to be 'SpecSkill' plus the end of the choice name.

How do I do a 'perform' operation assigning a tag whose name depends on usrChosen1?

Or would it be better to manually do the Skill Specialization work myself?
 
Please define "specialisation"? What effect does it have?
If you mean you want the skill to become a Class Skill, then you can copy the scripts from most traits.
Example using Perception skill (making it a class skill, and adding a +1 bonus):

Code:
      ~ If we're disabled, do nothing
      doneif (tagis[Helper.FtDisable] <> 0)

      #applybonus[BonTrait,hero.childfound[skPercep],1]
      #makeclassskill[skPercep]
 
Please define "specialisation"? What effect does it have?

Good question. From the Pathfinder Society Field Guide, p. 13:
Many of the prestige awards and recognitions or resources that faction members purchase allow a character to become specialized in a skill. When a PC becomes specialized in a skill, that skill immediately becomes a class skill for her. If the PC gains that skill as a class skill from any other source (either before or after you purchase the prestige resource), she gains a +1 competence bonus on those skill checks.

So we add +1 OR we get it as a class skill. All the traits I looked at are "and"s. You get +1 trait bonuses AND something becomes a class skill.

The Skill Specialization examples I saw all apply to a fixed skill. vanEagKnight (Knight of the Eagle Knights), vanEagCapt (Rank: Captain in the same org), and vanLionBla (Lion's Blade) are examples I found of this. I think vanEagCapt has a bug as it makes Perform (Oratory) a class skill, but does nothing if it already was a class skill.
 
Yes, all the traits I've seen do both.
So, what you want is:
1. Choose skill
2. If chosen skill is not a class skill apply +1 bonus
3. make class skill

For step 2, you might try something like: if tagis[ClassSkill.userchosen1] <> 1 then #applybonus
No guarantee this is the correct script. Also, if you've found an existing 'prestige award' that doesn't work properly I'd report it as a bug.
 
when using field[usrChosen1].chosen you are selecting whatever is in the usrChosen1 box, and is chosen. Id throw a tagis to see if its a class skill, and then add the appropriate bonus by either giving a +1 untyped or making it a class skill.
 
its actually far easier than you expected:
Code:
      ~ If we're disabled, do nothing
      doneif (tagis[Helper.SpcDisable] <> 0)

      ~ If we're not chosen, get out now
      doneif (field[usrChosen1].ischosen = 0)

      perform field[usrChosen1].chosen.assign[Helper.SpecSkill]
Post attributes 10005.

I grabbed that from Continuing Bardic Education, from Inner Sea Intrigue
 
Back
Top