Member
Join Date: Jun 2018
Posts: 83
|
Because I love finding new problems before I solve old ones, here's a new one. I'm trying to create a special ability that adds new abilities as you level up. The final one is an attribute increase. All of the sub-abilities work, but the final one which should trigger at level 20, triggers as soon as the special ability is chosen.
This is the Special Ability: Code:
<thing id="cGrdPRAtaruFocus" name="Ataru Focus" description="Ataru Form, also know as Aggression Form, is a kinetically active form that relies on speed, acrobatics, and power. Those guardians who focus on Ataru Form utilize high energy tactics to confuse and distract their opponents, quickly moving about the battlefield." compset="CustomSpec" uniqueness="unique"> <tag group="SpecSource" tag="cHelpGrd"/> <tag group="Helper" tag="Primary"/> <tag group="abCategory" tag="GrdFocus" name="Guardian Focus" abbrev="Guardian Focus"/> <tag group="Helper" tag="SpecUp"/> <bootstrap thing="cGrdPRChRetLeap"> <autotag group="ClSpecWhen" tag="3"/> </bootstrap> <bootstrap thing="cGrdPRHawkBatSwp"> <autotag group="ClSpecWhen" tag="7"/> </bootstrap> <bootstrap thing="cGrdPRWayHawkbat"> <autotag group="ClSpecWhen" tag="3"/> </bootstrap> <bootstrap thing="cGrdPRWhrlWindAtt"> <autotag group="ClSpecWhen" tag="15"/> </bootstrap> <bootstrap thing="cGrdPRMastAgg"> <autotag group="ClSpecWhen" tag="20"/> </bootstrap> </thing> Code:
<thing id="cGrdPRMastAgg" name="Master of Aggression" description="Your presence on the field of battle is as a graceful blur of deadly blades and daring acrobatics. Your Dexterity and Wisdom or Charisma scores (your choice) increase by 2. Your maximum for those scores increases by 2. Additionally, you can use your action to gain the following benefits for 1 minute:\n\n- You have resistance to kinetic, energy, and ion damage from weapons.\n- When an ally within 30 feet of you takes the Attack action, they can make one additional attack as a part of that same action.\n- When you hit a creature with a weapon attack, you can move up to 10 feet. This movement does not provoke opportunity attacks.\n\nThis effect ends early if you are incapacitated or die. Once you’ve used this feature, you can’t use it again until you finish a long rest." compset="ClSpecial"> <fieldval field="abValue" value="2"/> <fieldval field="usrCandid1" value="component.BaseAttr & (IsAttr.aCHA | IsAttr.aWIS)"/> <tag group="abRange" tag="Personal" name="Personal" abbrev="pers"/> <tag group="Helper" tag="SpecUp" name="SpecUp" abbrev="SpecUp"/> <tag group="abAction" tag="None" name="No action" abbrev="None"/> <tag group="Helper" tag="ShowSpec"/> <tag group="abDuration" tag="Constant" name="Constant" abbrev="cons"/> <tag group="ChooseSrc1" tag="Thing"/> <eval phase="PostLevel" priority="10000"><![CDATA[ ~ If we're not shown, just get out now doneif (tagis[Helper.ShowSpec] = 0) doneif (tagis[Helper.Disable] <> 0) hero.childfound[aDEX].field[aClassMod].value += field[abValue].value field[usrChosen1].chosen.field[aClassMod].value += field[abValue].value hero.childfound[aDEX].field[aMaxValue].value += field[abValue].value field[usrChosen1].chosen.field[aMaxValue].value += field[abValue].value]]></eval> </thing> |
#1 |
Senior Member
Join Date: Sep 2017
Posts: 600
|
Code:
doneif (hero.tagcount[Classes.?] < 20) Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub. Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts! |
#2 |
Member
Join Date: Jun 2018
Posts: 83
|
Thanks! It actually turned out to be that ShowSpec Helper needed to be eliminated (in retrospect so obvious). Once I got rid of that Tag, it works.
|
#3 |
|
|