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
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old February 6th, 2018, 04:10 PM
Oh, I also need help with slashing fury, any chance I could look at what you've done SC?
ErinRigh is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 6th, 2018, 04:35 PM
Quote:
Originally Posted by ErinRigh View Post
Oh, I also need help with slashing fury, any chance I could look at what you've done SC?
Sure here is the full XML:

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 &amp; wCategory.Melee &amp; wType.S &amp; (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...
ShadowChemosh is offline   #12 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old February 6th, 2018, 09:20 PM
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?
ErinRigh is offline   #13 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 7th, 2018, 09:24 AM
Quote:
Originally Posted by ErinRigh View Post
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?
Feel free!

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.?]
Change cRgrX1SlFu to be whatever your class ability Unique ID is.

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.
ShadowChemosh is offline   #14 Reply With Quote
ErinRigh
Senior Member
 
Join Date: Oct 2016
Posts: 621

Old February 7th, 2018, 11:16 AM
Quote:
Originally Posted by ShadowChemosh View Post
Feel free!

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:

Change cRgrX1SlFu to be whatever your class ability Unique ID is.
Thanks for the heads up, but I actually figured it out, thanks I must be learning

But hopefully this works for you Unikatze, until there is an official version
Attached Files
File Type: email PFWS - Sword Devil.user (15.6 KB, 22 views)
ErinRigh is offline   #15 Reply With Quote
Unikatze
Member
 
Join Date: Nov 2017
Location: Iqaluit, Nunavut
Posts: 47

Old February 8th, 2018, 05:54 AM
Thanks guys. I'll give it a look!
Unikatze is offline   #16 Reply With Quote
Bellona
Junior Member
 
Join Date: Jan 2018
Posts: 13

Old February 14th, 2023, 07:22 AM
Quote:
Originally Posted by ErinRigh View Post
Thanks for the heads up, but I actually figured it out, thanks I must be learning

But hopefully this works for you Unikatze, until there is an official version
First of all, thank you for doing this work for the rest of us!

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.
Bellona is offline   #17 Reply With Quote
Bellona
Junior Member
 
Join Date: Jan 2018
Posts: 13

Old February 15th, 2023, 03:50 AM
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.)
Bellona is offline   #18 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 06:26 PM.


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