Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
CorzatTheGray
Senior Member
 
Join Date: Apr 2012
Location: Indiana
Posts: 117

Old February 4th, 2018, 08:01 PM
So, this weekend's project has been to enter the changes presented in Legendary Games's Legendary Gunslingers into HL as an archetype for the Gunslinger.

I'm having some issues in figuring out how to implement a new class special introduced in the book called Slinger's Quirk so that the drop down selection of skills is limited to only CHA and INT based skills.

Quote:
Originally Posted by Slinger's Quirk
At 2nd level, a legendary gunslinger selects two Charisma or Intelligence based skills; she may choose to use her Wisdom modifier in place of her Charisma or Intelligence when determining her bonus for those skills.
I've gotten everything else figured out... just not the tag expression that would only show those skills linked to CHA and INT.

Any help would be appreciated.

Thanks in advance.

Currently Playing: Pathfinder - Skull & Shackles AP
Current Character: Legendary Gunslinger 11
Currently DMing: D&D 5E - AAW Games A-Series
CorzatTheGray is offline   #1 Reply With Quote
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,791

Old February 6th, 2018, 08:09 AM
I believe the SkillAbil tags show the final ability used, but that won't help if you're hoping to change that.

I think there is a linkage skills start with, let me look into that.
Aaron is offline   #2 Reply With Quote
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,791

Old February 6th, 2018, 08:19 AM
Here is a script I found which might do the trick:

PostLevel 10000
Code:
        foreach pick in hero from BaseSkill
          ~ If we are a Strength based skill make it a Dex based
          if (eachpick.tagis[SkillOver.aSTR] <> 0) then
            perform eachpick.tagreplace[SkillOver.?,SkillOver.aDEX]
          elseif (eachpick.linkage[skillattr].tagis[thingid.aSTR] <> 0) then
            perform eachpick.assign[SkillOver.aDEX]
            endif
          nexteach
Change attributes as needed
Aaron is offline   #3 Reply With Quote
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,791

Old February 6th, 2018, 08:40 AM
Now that I think on it, I may not have been clear enough. You'll need to foreach through the skills on the hero, find the ones which meet your requirements, and build a tag expression from each, then plug that into your candidate expression.
Aaron is offline   #4 Reply With Quote
CorzatTheGray
Senior Member
 
Join Date: Apr 2012
Location: Indiana
Posts: 117

Old February 9th, 2018, 03:43 PM
Thanks Aaron!

I finally had a chance to come back to look at this tonight...

I had the class special applying the attribute switch already, but that was a good find on how to accomplish the switch for all skills...

This class special requires the selection of 2 skills from the list filtered by INT or CHA-based skills to then apply the WIS mod to them.

I figured out the custom expression to filter the selection list for usrCandid1 and usrCandid2 fields as:
Code:
component.BaseSkill & (SkillAbil.aCHA | SkillAbil.aINT)
Then my scripts for doing the switch on the selected skills is:
Code:
Pre-levels   10000

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

      doneif (field[usrChosen1].ischosen = 0)

      perform field[usrChosen1].chosen.assign[SkillOver.aWIS]
And then a second script using usrChosen2

The fun part was scavenging an Eval Rule to use...
Code:
Validation Phase   10000

Must Choose a Charisma or Intelligence skill


      validif (field[usrChosen1].ischosen = 0)

      validif (field[usrChosen1].chosen.tagis[SkillOver.aCHA] <> 0)
      validif (field[usrChosen1].chosen.tagis[SkillOver.aINT] <> 0)

      ~ If it has a normal linkage to Charisma or Intelligence it also qualifies.
      if (field[usrChosen1].chosen.islinkage[skillattr] <> 0) then
        validif (field[usrChosen1].chosen.linkage[skillattr].tagis[thingid.aCHA] <> 0)
        validif (field[usrChosen1].chosen.linkage[skillattr].tagis[thingid.aINT] <> 0)
        endif
And again a second script using usrChosen2.

So far it seems to be working...

Currently Playing: Pathfinder - Skull & Shackles AP
Current Character: Legendary Gunslinger 11
Currently DMing: D&D 5E - AAW Games A-Series
CorzatTheGray is offline   #5 Reply With Quote
Aaron
Senior Member
Lone Wolf Staff
 
Join Date: Oct 2011
Posts: 6,791

Old February 9th, 2018, 06:40 PM
Does that work in conjunction with other things which switch the ability score used for a skill before or after your script runs?
Aaron is offline   #6 Reply With Quote
CorzatTheGray
Senior Member
 
Join Date: Apr 2012
Location: Indiana
Posts: 117

Old February 11th, 2018, 09:27 AM
Quote:
Originally Posted by Aaron View Post
Does that work in conjunction with other things which switch the ability score used for a skill before or after your script runs?
I haven't tested that thoroughly enough yet...

But after reading this question I did a relatively quick search for something that would adjust the ability of INT or CHA skills... and it was situational for certain aspects of Diplomacy, Bluff or Intimidate and if it wasn't situational it was an adjustment to WIS in any case so I didn't find too much that affected it.

That's not to say that there isn't something out there that would and does affect it, I just haven't run across it yet.

I have it working in the vacuum of its own existence for right now.

I'm running into new challenges as I try to enter this class and I'm finding truth to the words found somewhere around here on the boards or in the help files that entering in a whole class is one of the hardest things to do in the editor.

Currently Playing: Pathfinder - Skull & Shackles AP
Current Character: Legendary Gunslinger 11
Currently DMing: D&D 5E - AAW Games A-Series
CorzatTheGray is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

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 01:19 PM.


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