Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
wrs92103
Junior Member
 
Join Date: Feb 2018
Posts: 9

Old January 5th, 2019, 08:52 PM
I'm trying to code up a home-brew Faction. One vanity is challenging me:

Quote:
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?
wrs92103 is offline   #1 Reply With Quote
Dami
Senior Member
 
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,086

Old January 5th, 2019, 09:06 PM
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]

Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew).
HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP).

DM and player of D&D since 1980.
Dami is offline   #2 Reply With Quote
wrs92103
Junior Member
 
Join Date: Feb 2018
Posts: 9

Old January 5th, 2019, 09:56 PM
Quote:
Originally Posted by Dami View Post
Please define "specialisation"? What effect does it have?
Good question. From the Pathfinder Society Field Guide, p. 13:
Quote:
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.
wrs92103 is offline   #3 Reply With Quote
Dami
Senior Member
 
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,086

Old January 6th, 2019, 02:07 AM
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.

Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew).
HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP).

DM and player of D&D since 1980.
Dami is offline   #4 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old January 6th, 2019, 03:18 AM
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.
Minous is offline   #5 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old January 6th, 2019, 03:34 AM
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
Minous is offline   #6 Reply With Quote
wrs92103
Junior Member
 
Join Date: Feb 2018
Posts: 9

Old January 6th, 2019, 08:09 AM
Wow! Cool!!!!

Thank you!

I clearly don't understand Helper enough. :-)
wrs92103 is offline   #7 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 02:04 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.