Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
evilsirkay
Junior Member
 
Join Date: Jun 2017
Posts: 5

Old January 24th, 2019, 09:05 AM
Hi folks!

I have been messing around with this for a while now and am having a heck of a time figuring out how to do this!

I want to add the Glaive to the dropdown selection for the feat Slashing Grace.

Anyone know where I would go about doing that? A search on the forum did not give me very much to work on and when I tried it myself I just ended up removing everything from the feat.
evilsirkay is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old January 24th, 2019, 09:16 AM
Take a look at eval script #3 on that feat - you'll want to add some extra lines to that script - start with what's there, and then add more to the candidate expression - put what's already there inside (), and then add on " | IsWeapon.wGlaive", so that you can have a weapon that fulfills the normal expression, or it can be a glaive. (and double-check that wGlaive is the right Id for Glaive - I didn't test that).
Mathias is offline   #2 Reply With Quote
Born8342
Junior Member
 
Join Date: Apr 2019
Posts: 4

Old April 18th, 2019, 12:59 AM
Hi, I have been trying this as well, butI am not sure where I make a mistake. I have followed what Mathias suggested and ends up with:


var 1hanexpr as string
call 1HanWepExp

field[usrCandid1].text = "component.BaseWep & ((wClass.Light | " & 1hanexpr & ") & wType.S") " | IsWeapon.wGlaive"

When I try to Test i get the following error message:

File: PFRPG_Gestalt_Component.str (line 97) - Component 'GestHelp' (eval Script '#1') - non-existent phase id 'First' specified

Where am I making a mistake?
Born8342 is offline   #3 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old April 18th, 2019, 06:32 AM
Try:
field[usrCandid1].text = "component.BaseWep & ((wClass.Light | " & 1hanexpr & ") & wType.S) | IsWeapon.wGlaive"

I think that should work
Minous is offline   #4 Reply With Quote
Born8342
Junior Member
 
Join Date: Apr 2019
Posts: 4

Old April 18th, 2019, 11:26 PM
Thank you for the response Minous. Unfortunately I still get the error code:

File: PFRPG_Gestalt_Component.str (line 97) - Component 'GestHelp' (eval Script '#1') - non-existent phase id 'First' specified

It seems to me, without being sure, that there is a problem with another file or code.
Born8342 is offline   #5 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old April 19th, 2019, 07:16 AM
It states the name of the file generated in the error. You should contact the person who made those for a fix. I think ShadowChemosh made the Gestalt stuff.
Aaron is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 19th, 2019, 09:56 AM
Quote:
Originally Posted by Born8342 View Post
Thank you for the response Minous. Unfortunately I still get the error code:

File: PFRPG_Gestalt_Component.str (line 97) - Component 'GestHelp' (eval Script '#1') - non-existent phase id 'First' specified

It seems to me, without being sure, that there is a problem with another file or code.
The error is talking about a non-existent phase of First. First is part of the skeleton files produced by LW. This tells me that this is another form of the memory bug that has been around for a long time. Once this bug happens the ONLY solution is to totally shut down HL and restart it. Then this specific error will go away.

Sorry nothing I can do to fix or prevent these errors from happening.

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   #7 Reply With Quote
Born8342
Junior Member
 
Join Date: Apr 2019
Posts: 4

Old April 19th, 2019, 10:46 PM
Quote:
Originally Posted by ShadowChemosh View Post
The error is talking about a non-existent phase of First. First is part of the skeleton files produced by LW. This tells me that this is another form of the memory bug that has been around for a long time. Once this bug happens the ONLY solution is to totally shut down HL and restart it. Then this specific error will go away.

Sorry nothing I can do to fix or prevent these errors from happening.
Hi Shadow Chemosh. That cleared the problem with the error showing, now for the next question, how do I get it calculate my dex indstead og my str to dmg? I have the other prereg. (My dm have ruled that when I have Bladed Brush I can use Slashing Grace).

Thanks for all the assistance
Born8342 is offline   #8 Reply With Quote
Ualaa
Senior Member
 
Join Date: Sep 2013
Location: Vancouver, Canada.
Posts: 813

Old April 20th, 2019, 08:16 AM
If you have the Community Package, within the Path of War stuff there is a feat called Deadly Agility, which does exactly what you're asking.

Check out how it does that.

Or you could check the weapon property Guided, which is similar except that it's giving Wisdom to both hit and damage.
Ualaa is offline   #9 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old April 20th, 2019, 11:06 AM
Quote:
Originally Posted by Born8342 View Post
Hi Shadow Chemosh. That cleared the problem with the error showing, now for the next question, how do I get it calculate my dex indstead og my str to dmg? I have the other prereg. (My dm have ruled that when I have Bladed Brush I can use Slashing Grace).

Thanks for all the assistance
This feat has had some major changes done to it sense Mathias originally posted. To get this to full work requires the 2nd script to also be changed now.

Totally replace the second script with this version:
Code:
      ~ If we're disabled, do nothing
      doneif (tagis[Helper.FtDisable] <> 0)

      ~ Equipping a shield or another weapon in our off hand negates our bonuses
      ~ Unless that off hand shield is a buckler (This is a FAQ from July 2015)
      if (hero.tagis[Hero.GraceTWF] = 0) then
        doneif (hero.tagexpr[Hero.EquipOff | (Hero.EquipShld & !Hero.ShldOffOK)] <> 0)
        endif

      ~ If we're not chosen, get out now
      doneif (field[usrChosen1].ischosen + tagis[Target.?] = 0)

      ~ The construction of this search expression is complicated because we
      ~ need to allow Martial Versatility to expand the affected weapons, but
      ~ only to those weapons this feat could normally select. Thus we create
      ~ the base expression, and append some expansions if the appropriate feats
      ~ are present.
      var searchexpr as string
      searchexpr = " & !(fieldval:gIsEquip <> 0 & fieldval:wIs2nd <> 0) & (wClass.Light | wClass.OneHanded) & wType.S"

      if (tagcount[Hero.MartVersa] + hero.tagcount[Hero.MartMaster] + tagcount[Hero.MyMartVers] + hero.tagcount[Hero.MyMartMast] <> 0) then
        searchexpr = tagids[wFtrGroup.?, " | "] & searchexpr
      else
        if (tagis[Target.?] <> 0) then
          searchexpr = tagids[Target.?, " | "] & searchexpr
        else
          searchexpr = field[usrChosen1].chosen.tagids[IsWeapon.?, " | "] & searchexpr & " | " & field[usrChosen1].chosen.tagids[IsWeapon.?, " | "]
          endif
        endif

      foreach pick in hero from BaseWep where searchexpr
        perform eachpick.assign[DamageOpt.aDEX]
        nexteach
That will cause the Glaive in this case to use Dex to damage.

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   #10 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 09:15 PM.


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