• 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

Ability Focus -> Hexes ?

Xykal

Active member
How do I make hexes a valid selection for the ability focus feat within Hero Labs? Right now ability focus only seems to allow racial abilities as valid selections.

Thanks in advance...

Xykal
 
Here is the full RAW XML as I changed this for my games to do actually what you wish.

Code:
  <thing id="fS2AbilFoc" name="Ability Focus" description="One of this creature&apos;s special attacks is particularly difficult to resist.{br}{br}{b}Prerequisite{/b}: Special attack.{br}{br}{b}Benefit{/b}: Choose one of the creature&apos;s special attacks. Add +2 to the DC for all saving throws against the special attack on which the creature focuses.{br}{br}{b}Special{/b}: A creature can gain this feat multiple times. Its effects do not stack. Each time the creature takes the feat, it applies to a different special attack." compset="Feat" summary="You gain a +2 bonus to the DC of a special attack." replaces="fAbilFoc">
    <comment>Ability also now allows for Su abilities.</comment>
    <fieldval field="usrCandid1" value="component.RaceAbil|AbilType.Super"/>
    <tag group="Helper" tag="NoPathSoc" name="Not Allowed for Pathfinder Society Characters" abbrev="Not Allowed for Pathfinder Society Characters"/>
    <tag group="ChooseSrc1" tag="Hero" name="All Picks on Hero" abbrev="All Picks on Hero"/>
    <evalrule phase="Final" priority="10000" message="Ability Focus taken twice for same ability." summary="Taken twice."><![CDATA[
      ~the script for this feat is handled in the eval rule because that way we can test that
      ~we haven't applied it twice for the same ability while applying the bonus
      if (field[usrChosen1].ischosen <> 0) then
        field[usrChosen1].chosen.field[abDC].value += 2
        perform field[usrChosen1].chosen.assign[Duplicate.AbilFocus]
        validif (field[usrChosen1].chosen.tagcount[Duplicate.AbilFocus] < 2)

      ~if we haven't chosen anything yet, another rule will take care of that warning
      else
        @valid = 1
        endif]]></evalrule>
    </thing>

To do this yourself you would want to do a New(Copy) of the ability focus feat. Then simply change the "Custom Expression" section to be the following:
Code:
component.RaceAbil|AbilType.Super
The "|AbilType.Super" is what I added and this tells HL to display anything of the RaceAbil type OR Super. Which is what Hexes are.

If you want to replace the original feat then in the Replaced Thing ID type in fAbilFoc. Give your new feat a Unique ID and then Test Now!.
 
Hi, i need just the same thing, but for use with my monk's "Stunning Fist".
Where do i have to "create the Copy of Ability Focus", and make those changes? :)
Sorry, i am new to HL :)
 
Hi team. I am very very new to this. Would someone be able to give me a clear step by step as to how I can do this?

I got confused with this part: "If you want to replace the original feat then in the Replaced Thing ID type in fAbilFoc. Give your new feat a Unique ID and then Test Now!."

I couldn't find the Replaced Thing ID and didn't know what Unique ID I should assign.

Do I have to do this? What do I save the file as when I click "Test Now!"?

If someone would be so gracious to give me a step by step, that would be phenominal. I tried reading about the editor, but I am the type of guy that doesn't want to know how the watch works, I just want it to accurately tell the time.

Thanks!
 
I figured it out!

I found the field "Replaces Thing ID" but I was looking for "Replaced Thing ID". When I saw it, I literally smacked my forehead in a major "Duh" moment.

Thanks again for the post!
 
Back
Top