Senior Member
Join Date: Oct 2016
Posts: 621
|
Oh, I also need help with slashing fury, any chance I could look at what you've done SC?
|
#11 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Code:
<thing id="cRgrX1SlFu" name="Slashing Fury" description="Beginning at 3rd level, the sword-devil can use her Charisma score in place of her Intelligence score as a prerequisite for combat feats. Additionally, she selects one type of light or one- handed slashing melee weapon. When using this weapon, she may use her Dexterity modifer instead of her Strength modifer on melee attack rolls. At 8th level and every 5 levels thereafter (13th and 18th). the sword-devil may select an additional type of light or one-handed slashing weapon she may use with this ability. This ability counts as having the Weapon Finesse feat for the purpose of meeting feat prerequisites.\n\nThis ability replaces favored terrain." compset="ClSpecial" summary="Use Dex instead of Str on melee attack rolls w/selected weapons."> <fieldval field="usrCandid1" value="component.BaseWep & wCategory.Melee & wType.S & (wClass.Light|wClass.OneHanded)"/> <tag group="AbilType" tag="Extra"/> <tag group="HasAbility" tag="cSwsFiness"/> <tag group="ChooseSrc1" tag="Thing"/> <tag group="LvNamePar" tag="AppText"/> <tag group="User" tag="NoAutoName"/> <tag group="ProductId" tag="HLCommunit"/> <eval phase="PostLevel" priority="10000"><![CDATA[ ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] <> 1) ~ if we've been disabled, get out now doneif (tagis[Helper.SpcDisable] <> 0) ~ If nothing chosen get out now doneif (field[usrChosen1].ischosen <> 1) ~ Get the Is Weapon tags perform field[usrChosen1].chosen.pulltags[IsWeapon.?] ~ We are not the primary ability to hold the weapon tags then ~ push tags to the primary ability. If (tagis[Helper.FirstCopy] = 0) then perform hero.findchild[BaseClSpec,"Ability.cRgrX1SlFu & Helper.FirstCopy"].pushtags[IsWeapon.?] Endif]]></eval> <eval phase="PostLevel" priority="15000" index="2"><![CDATA[ ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] <> 1) ~ if we've been disabled, get out now doneif (tagis[Helper.SpcDisable] <> 0) ~ The following should only happen once on the first copy doneif (tagis[Helper.FirstCopy] = 0) ~ Weapon Finesse feat for the purpose of meeting feat prerequisites perform hero.assign[HasFeat.fWepFin] ~ Loop through the characters weapons and allow attacks to use ~ Dex or Str. foreach pick in hero from BaseWep where tagids[IsWeapon.?,"|"] perform eachpick.assign[MelAttOpt.aDEX] nexteach ~ Set all weapon names into abText to be appened to name field[abText].text = tagnames[IsWeapon.?]]]></eval> </thing> Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. Last edited by ShadowChemosh; February 7th, 2018 at 09:21 AM. Reason: Small script fix... |
|
#12 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Wow, i'd have never figured out that code in a million years, that is totally beyond my skill, do you mind if I steal it for my version?
|
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Just make sure you duplicate all tags/fields exactly as its all meant to work together. Then bootstrap it to the Archetype multiple times at levels: 8, 13 & 18. The last thing is one line of code has to change to match the your Unique ID of the class ability: Code:
perform hero.findchild[BaseClSpec,"Ability.cRgrX1SlFu & Helper.FirstCopy"].pushtags[IsWeapon.?] Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#14 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Quote:
But hopefully this works for you Unikatze, until there is an official version |
|
#15 |
Member
Join Date: Nov 2017
Location: Iqaluit, Nunavut
Posts: 47
|
Thanks guys. I'll give it a look!
|
#16 |
Junior Member
Join Date: Jan 2018
Posts: 13
|
Quote:
Secondly, I would dearly love to put the Sword-Devil archetype into my copy of Hero Lab - but I'm a complete noob when it comes to downloading new stuff like this. Where do I even save this file? And do I have to do anything special to activate access to it? E.T.A.: Okay, it took a bit of prodding and checking, but I've apparently placed it in the right place (ProgramData/Hero Lab/data/pathfinder) now and can access it in the Tools/Editor tab/window. Then I had to click all the relevant items to Test them before it showed up in the main Hero Lab window. So it works now! Last edited by Bellona; February 14th, 2023 at 07:47 AM. |
|
#17 |
Junior Member
Join Date: Jan 2018
Posts: 13
|
I've run into two problems with the above-mentioned community-made HL adaptation of the Sword-Devil archetype.
First, the Sword-Devil's L3 Slashing Fury class ability is missing a drop-down menu for choosing a Light or 1-H Slashing melee weapon in order to gain the Dexterity modifier (instead of Strength) on melee attack rolls with that weapon. It also needs one for levels 8, 13, and 18 each. Secondly, the Sword Devil's L 3 Slashing Fury class ability should count "as having the Weapon Finesse feat for the purpose of meeting feat prerequisites" - but it does not when using this archetype in HL. My extremely rudimentary coding skills are not good enough for this job, unfortunately. Can (and will) anyone fix these problems, please? (I am aware that it's possible to make work-arounds, using the Permanent Adjustments under the Personal tab, but that lacks the elegance of a fully-coded archetype, particularly if making several different Sword-Devil at one time.) (While trying to get the Sword-Devil to work correctly, I also discovered what appears to be a bug with the Two-Weapon Grace feat in HL, but that's not related to the Sword-Devil archetype.) |
#18 |
|
|