Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Add Weapon to Slashing Grace (http://forums.wolflair.com/showthread.php?t=62019)

evilsirkay January 24th, 2019 09:05 AM

Add Weapon to Slashing Grace
 
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.

Mathias 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).

Born8342 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?

Minous April 18th, 2019 06:32 AM

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

I think that should work

Born8342 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.

Aaron 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.

ShadowChemosh April 19th, 2019 09:56 AM

Quote:

Originally Posted by Born8342 (Post 278237)
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. :(

Born8342 April 19th, 2019 10:46 PM

Quote:

Originally Posted by ShadowChemosh (Post 278252)
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 :)

Ualaa 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.

ShadowChemosh April 20th, 2019 11:06 AM

Quote:

Originally Posted by Born8342 (Post 278267)
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.


All times are GMT -8. The time now is 06:11 AM.

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