• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

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.
 
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).
 
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?
 
Try:
field[usrCandid1].text = "component.BaseWep & ((wClass.Light | " & 1hanexpr & ") & wType.S) | IsWeapon.wGlaive"

I think that should work
 
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.
 
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.
 
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. :(
 
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 :)
 
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.
 
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.
 
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.

Hi Chemosh

Would never have figured it out on my own, thank you for you time and patience.

I replaced the second script with your new script, but the glaive still calculates str instead og dex to dmg.

Hope that all this is not a bother.
 
Hi Chemosh

Would never have figured it out on my own, thank you for you time and patience.

I replaced the second script with your new script, but the glaive still calculates str instead og dex to dmg.

Hope that all this is not a bother.
At this point then can you email me your .user file so I can look at it? My email is my forum user id at yahoo dot com.
 
Back
Top