Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DeathSheep
Member
 
Join Date: Jun 2018
Posts: 83

Old October 31st, 2021, 07:43 AM
Just a syntax question today I believe. I am trying to create a fighting style that increments your unarmed die type 1 step (1 to 1d4, 1d4 to 1d6, 1d6 to 1d8, etc.) Here is the entire fighting style, and I am sure I have the syntax all bollixed up, but not sure what it should be:

Code:
  <thing id="cXXXPRBrawler" name="Brawler Style" description="You are skilled at using your weight to your advantage. You gain the following benefits:\n\n- You are proficient with improvised weapons.\n- Your damage die for your unarmed strikes and natural weapons increases by one step (from 1 to d4, d4 to d6, or d6 to d8).\n- When you take the Attack action and attempt to grapple, shove, or trip a creature, or make an attack against a creature with an unarmed strike or a weapon wielded in one hand on your turn, you can use your bonus action to make an unarmed strike, grapple, shove, or trip against the same creature." compset="CustomSpec" uniqueness="unique">
    <tag group="abCategory" tag="GrdFight"/>
    <tag group="Helper" tag="Secondary"/>
    <tag group="abRange" tag="Personal"/>
    <tag group="abDuration" tag="Constant"/>
    <tag group="WepProf" tag="w5CImMeWe"/>
    <tag group="WepProf" tag="w5CIMRaWe"/>
    <bootstrap thing="wUnarmed"></bootstrap>
    <eval phase="First"><![CDATA[      ~ If we're disabled, do nothing &
 
      doneif (tagis[Helper.Disable] = 1)

      ~ Push all weapon proficiencies to the hero

      perform hero.pushtags[WepProf.?]]]></eval>
    <eval phase="First" index="2"><![CDATA[      ~ If we're disabled, do nothing 
 
      doneif (tagis[Helper.Disable] = 1)
      
      ~ Increment unarmed damage one die type
      if (wUnarmed.wDieCount.value = 0)
      perform wUnarmed.wDieCount.value = 1
      perform wUnarmed.wDieSize.value = 4
      done
      endif

      if (wUnarmed.wDieSize.value = 4
      perform wUnarmed.wDieSize.value = 6
      done
      endif

      if (wUnarmed.wDieSize.value = 6
      perform wUnarmed.wDieSize.value = 8
      done
      endif

      if (wUnarmed.wDieSize.value = 8
      perform wUnarmed.wDieSize.value = 10
      done      
      endif

      if (hero.wUnarmed.wDieSize.value = 10
      perform hero.wUnarmed.wDieSize.value = 12
      done
      endif]]></eval>
    </thing>
DeathSheep is offline   #1 Reply With Quote
 


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 11:16 AM.


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