Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
kinithin
Junior Member
 
Join Date: Feb 2018
Posts: 10

Old February 18th, 2018, 07:13 PM
The feat Divine Fighting Technique (Iomedae’s Inspiring Sword) is already available in HeroLab.

Paladins may obtain the benefits of that feat as a Mercies. The code below adds Mercies the Paladins of Iomedae can take.

The code below also provides "Conferred Ability Adjustments" for the "Adjust" tab for use by characters affected by the ability.

Code:
  <thing id="cPalMISI" name="Iomedae’s Inspiring Sword (Initial Benefit)" description="While wielding a longsword, you can perform an impressive display of prowess as a full-round action. All allies within 30 feet who can see your display gain a +2 sacred bonus on attack rolls, saving throws, and skill checks for 1 round + 1 round per 5 points of base attack bonus you have.\n\n{b}Prerequisite{/b}: Follower of Iomedae." compset="CustomSpec" summary="Inspire allies with display of longsword prowess" uniqueness="unique">
    <fieldval field="abRange" value="30"/>
    <usesource source="PCWeapMast"/>
    <tag group="abDuration" tag="Round"/>
    <tag group="abAction" tag="FullRd"/>
    <tag group="LvNamePar" tag="IncAction"/>
    <tag group="LvNamePar" tag="IncDurati"/>
    <tag group="LvNamePar" tag="IncRange"/>
    <tag group="abRange" tag="Feet"/>
    <tag group="abCategory" tag="PalMercy" name="Paladin Mercy" abbrev="Paladin Mercy"/>
    <tag group="SpecSource" tag="cHelpPal" name="Paladin" abbrev="Paladin"/>
    <exprreq message="Follower of Iomedae required."><![CDATA[hero.tagis[HasDeity.deiIomedae] <> 0]]></exprreq>
  </thing>

  <thing id="cPalMISA" name="Iomedae’s Inspiring Sword (Advanced Benefit)" description="As a standard action or at the end of a charge, you can make an attack against a foe with a longsword. If you succeed, you grant all allies who can see your attack a +2 sacred bonus on attack rolls, saving throws, and skill checks for 1 minute.\n\n{b}Prerequisite{/b}: Follower of Iomedae, character level 9th." compset="CustomSpec" summary="Inspire allies with an longsword attack" uniqueness="unique">
    <fieldval field="reqLevPal" value="9"/>
    <fieldval field="abDuration" value="1"/>
    <usesource source="PCWeapMast"/>
    <tag group="LvNamePar" tag="IncAction"/>
    <tag group="LvNamePar" tag="IncDurati"/>
    <tag group="LvNamePar" tag="IncRange"/>
    <tag group="abRange" tag="Sight"/>
    <tag group="abCategory" tag="PalMercy" name="Paladin Mercy" abbrev="Paladin Mercy"/>
    <tag group="SpecSource" tag="cHelpPal" name="Paladin" abbrev="Paladin"/>
    <tag group="abDuration" tag="Minute"/>
    <tag group="abAction" tag="Standard"/>
    <exprreq message="Follower of Iomedae required."><![CDATA[hero.tagis[HasDeity.deiIomedae] <> 0]]></exprreq>
  </thing>

  <thing id="pIISIB" name="Iomedae’s Inspiring Sword (Initial Benefit)" description="You are affected by Iomedae’s Inspiring Sword’s initial benefit.\n\n{b}Calculated Effects{/b}: +2 sacred bonus on attack rolls, saving throws, and skill checks for 1 round + 1 round per 5 points of BAB the source has." compset="InPlay">
    <fieldval field="pMinimum" value="2"/>
    <fieldval field="pMaximum" value="2"/>
    <fieldval field="pDuration" value="1 round + 1/5 BAB rounds"/>
    <usesource source="PCWeapMast"/>
    <tag group="Helper" tag="AdjConfer" name="Conferred Ability Adjustment" abbrev="Conferred Ability Adjustment"/>
    <eval phase="PreLevel" priority="10000"><![CDATA[
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)

      ~ +2 Attack
      #applybonus[BonSacred, hero.child[Attack], field[pAdjust].value]
      #applybonus[BonSacred, hero.child[ManeuvBon], field[pAdjust].value]

      ~ +2 to all saves
      #applybonus[BonSacred, hero.child[svAll], field[pAdjust].value]

      ~ +2 Skill Checks
      #applybonus[BonSacred, hero.child[AllSkills], field[pAdjust].value]

      ~ +2 to all Ability Checks.
      foreach pick in hero from BaseAttr
        #situational[each, "+2 sacred bonus on ability checks", field[thingname].text]
      nexteach

      ~ Initiative is a Dex ability check, so that's affected, too
      #applybonus[BonSacred, hero.child[Initiative], field[pAdjust].value]
    ]]></eval>
  </thing>

  <thing id="pIISAB" name="Iomedae’s Inspiring Sword (Advanced Benefit)" description="You are affected by Iomedae’s Inspiring Sword’s advanced benefit.\n\n{b}Calculated Effects{/b}: +2 sacred bonus on attack rolls, saving throws, and skill checks for 1 minute." compset="InPlay">
    <fieldval field="pMinimum" value="2"/>
    <fieldval field="pMaximum" value="2"/>
    <fieldval field="pDuration" value="1 minute"/>
    <usesource source="PCWeapMast"/>
    <tag group="Helper" tag="AdjConfer" name="Conferred Ability Adjustment" abbrev="Conferred Ability Adjustment"/>
    <eval phase="PreLevel" priority="10000"><![CDATA[
      ~ If we're not enabled, get out now
      doneif (field[pIsOn].value = 0)

      ~ +2 Attack
      #applybonus[BonSacred, hero.child[Attack], field[pAdjust].value]
      #applybonus[BonSacred, hero.child[ManeuvBon], field[pAdjust].value]

      ~ +2 to all saves
      #applybonus[BonSacred, hero.child[svAll], field[pAdjust].value]

      ~ +2 Skill Checks
      #applybonus[BonSacred, hero.child[AllSkills], field[pAdjust].value]

      ~ +2 to all Ability Checks.
      foreach pick in hero from BaseAttr
        #situational[each, "+2 on ability checks", field[thingname].text]
      nexteach

      ~ Initiative is a Dex ability check, so that's affected, too
      #applybonus[BonSacred, hero.child[Initiative], field[pAdjust].value]
    ]]></eval>
  </thing>
kinithin is offline   #1 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 01:31 AM.


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