Member
Join Date: Jun 2018
Posts: 83
|
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> |
#1 |
|
|