Senior Member
Join Date: Apr 2012
Location: Indiana
Posts: 117
|
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:
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 |
|
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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. |
#2 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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 |
#3 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#4 |
Senior Member
Join Date: Apr 2012
Location: Indiana
Posts: 117
|
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) 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] 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 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 |
#5 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Does that work in conjunction with other things which switch the ability score used for a skill before or after your script runs?
|
#6 |
Senior Member
Join Date: Apr 2012
Location: Indiana
Posts: 117
|
Quote:
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 |
|
#7 |
Thread Tools | |
Display Modes | |
|
|