|
|
Thread Tools | Display Modes |
Member
Join Date: May 2010
Posts: 31
|
Quote:
|
|
#11 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Actually I just recently removed it. Most of everything it did is now official anyways so no real reason for that old .user file. Plus it caused duplicate Thing errors also. So no reason to support an add-on that is basically the same as what the official HL does.
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#12 |
Senior Member
Join Date: Aug 2010
Location: Twin Cities, MN
Posts: 677
|
Edited.. already answered
|
#13 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Spell: Aspect of the Stag
Code:
<thing id="pS2AspStag" name="Aspect of the Stag" description="When you cast this spell, you take on an aspect of a stag, including some of its physical characteristics. Your features become elongated and sinewy, and you grow a set of antlers you can use for defense. You gain a +2 dodge bonus to AC against attacks of opportunity, your base speed increases by 20 ft., you can move through any undergrowth (including magically manipulated undergrowth) at your normal speed, and can even make a 5-foot step within such terrain. Furthermore, when you are hit with an attack of opportunity, you can make a single attack with your antlers against the opponent that hit you as an immediate action. This attack uses your highest base attack bonus plus your Strength or Dexterity bonus (your choice) and deals 1d8 points of piercing damage (if you are Medium; 1d6 points of damage if Small) plus your Strength modifier on a successful hit. The antlers have a critical multiplier of 19-20/×2." compset="InPlay"> <fieldval field="pMinimum" value=" "/> <fieldval field="pMaximum" value=" "/> <fieldval field="pDuration" value="1 min/level"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <tag group="Helper" tag="NoIncr"/> <bootstrap thing="wGore"> <autotag group="wMain" tag="1d8_6"/> <autotag group="Value" tag="1"/> <assignval field="livename" value="Antlers"/> </bootstrap> <eval phase="Final" priority="9900"><![CDATA[~Final Phase 9900 ~if we're not active, just get out now doneif (field[pIsOn].value = 0) hero.child[Speed].field[tSpeedMod].value += 20]]></eval> <eval phase="PreLevel" priority="5000" index="2"><![CDATA[~ Modify the antler attack crit range ~ I have to assume that Pathfinder races don't have gore attacks so ~ only this spells bootstrapped wGore will be modified. foreach pick in hero from BaseWep where "thingid.wGore" ~Make the horns 19-20/x2 perform eachpick.assign[Broadcast.ImpCrit] ~Adjust antlers size based on hero if (herofield[tSize].value = -1) then Perform eachpick.assign[Helper.DamageDown] endif nexteach]]></eval> </thing> So this is really close, but not perfect. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#14 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,243
|
Code:
<thing id="pS2AspStag" name="Aspect of the Stag" description="When you cast this spell, you take on an aspect of a stag, including some of its physical characteristics. Your features become elongated and sinewy, and you grow a set of antlers you can use for defense. You gain a +2 dodge bonus to AC against attacks of opportunity, your base speed increases by 20 ft., you can move through any undergrowth (including magically manipulated undergrowth) at your normal speed, and can even make a 5-foot step within such terrain. Furthermore, when you are hit with an attack of opportunity, you can make a single attack with your antlers against the opponent that hit you as an immediate action. This attack uses your highest base attack bonus plus your Strength or Dexterity bonus (your choice) and deals 1d8 points of piercing damage (if you are Medium; 1d6 points of damage if Small) plus your Strength modifier on a successful hit. The antlers have a critical multiplier of 19-20/×2." compset="InPlay"> <fieldval field="pDuration" value="1 min/level"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <tag group="Helper" tag="NoIncr"/> <bootstrap thing="wGore"> <containerreq phase="First" priority="500"><![CDATA[ fieldval:pIsOn <> 0]]></containerreq> <autotag group="wMain" tag="1d8_6"/> <autotag group="Helper" tag="NatSizeDmg"/> <autotag group="Broadcast" tag="ImpCrit"/> <assignval field="livename" value="Antlers"/> </bootstrap> <eval phase="Final" priority="9900"><![CDATA[~Final Phase 9900 ~if we're not active, just get out now doneif (field[pIsOn].value = 0) hero.child[Speed].field[tSpeedMod].value += 20]]></eval> </thing> Tags can be attached directly to a bootstrap - that way, you can avoid altering the spell with an Eval script. The tags button in the editor can be used to add any tag that exists. The contanierreq I've added is how to make a bootstrap only be live while the adjustment is active. In the editor, while editing the bootstrap, enter: Code:
fieldval:pIsOn <> 0 Since this is an APG spell, I've also assigned it to the APG source. I had a question - the minimum and maximum - your code had spaces for the values there - did you enter spaces in the editor to remove the text that was there? If so, delete the text instead - those fields are numerical fields, so it's best not to have text (like " "), even if HL can deal with it properly. |
#15 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Thanks for the rest also that will help with future stuff. The bootstrap condition I kept using field[pIsOn].value instead of just pIsOn. Thanks Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#16 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Spell: Aspect of the Wolf
Code:
<thing id="pS2AspWolf" name="Aspect of the Wolf" description="When you cast this spell, you take on an aspect of a wolf, including some of its physical characteristics. You become more rugged, your ears become elongated, and you sprout sharp fangs and fur. You gain a +4 enhancement bonus to Strength and Dexterity, the scent ability, a +2 enhancement bonus on trip attacks, and can make a trip combat maneuver as a swift action. This trip attack does not provoke attacks of opportunity." compset="InPlay"> <fieldval field="pMinimum" value="4"/> <fieldval field="pMaximum" value="4"/> <fieldval field="pDuration" value="1 min/level"/> <usesource source="APG"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <bootstrap thing="xScent"> <containerreq phase="First" priority="500"><![CDATA[fieldval:pIsOn <> 0]]></containerreq> </bootstrap> <eval phase="PreAttr" priority="10000"><![CDATA[ ~if we're not active, just get out now doneif (field[pIsOn].value = 0) ~Give a +4 enhancment bonus to Str and Dex #enhancementbonus[hero.child[aSTR], field[pAdjust].value] #enhancementbonus[hero.child[aDEX], field[pAdjust].value] ~add a +2 bonus to the CMB Trip only ~REMINDER: this should be a enhancement bonus hero.child[manTrip].field[manCMB].value += 2]]></eval> </thing> Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#17 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Spell: Bestow Grace
Code:
<thing id="pS2BestGra" name="Bestow Grace" description="With this spell you can bestow your divine grace on another good creature for a short amount of time, infusing that creature with a portion of your holy virtue. When you touch the subject, you grant that creature a sacred bonus to its saving throws equal to its Charisma bonus (if any) on all saving throws." compset="InPlay"> <fieldval field="pDuration" value="1 min/level"/> <usesource source="APG"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <tag group="Helper" tag="NoIncr"/> <eval phase="PostAttr" priority="5000"><![CDATA[ ~if we're not active, just get out now doneif (field[pIsOn].value = 0) ~apply the characters Cha Modifier as a Sacred bonus to saves #applybonus[BonSacred,hero.child[svFort],hero.child[aCHA].field[aModBonus].value] #applybonus[BonSacred,hero.child[svRef],hero.child[aCHA].field[aModBonus].value] #applybonus[BonSacred,hero.child[svWill],hero.child[aCHA].field[aModBonus].value]]]></eval> </thing> Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#18 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Spell: Blessing of Fervor
This spells has several different versions of itself but only two that can apply different buffs. I made it be two separate Things as I think that is easier to just select the one you want then to figure out some drop down box to select from after you select the spell. At least my thought anyways. Code:
<thing id="pS2BleFer1" name="Blessing of Fervor: Movement" description="With this blessing, you call your allies to move forth and empower them to conquer and become victorious. Each round for the duration of this spell, each of your allies can choose one of the following bonuses for that round at the beginning of its turn (their choice).\n\nIncrease its speed by 30 feet." compset="InPlay"> <fieldval field="pDuration" value="1 round/level"/> <usesource source="APG"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <tag group="Helper" tag="NoIncr"/> <eval phase="PostAttr" priority="5000"><![CDATA[ ~if we're not active, just get out now doneif (field[pIsOn].value = 0) ~Increase our speed by 30ft hero.child[Speed].field[Bonus].value += 30]]></eval> </thing> <thing id="pS2BleFer2" name="Blessing of Fervor: Bonus" description="With this blessing, you call your allies to move forth and empower them to conquer and become victorious. Each round for the duration of this spell, each of your allies can choose one of the following bonuses for that round at the beginning of its turn (their choice).\n\nGain a +2 bonus on attack rolls and a +2 dodge bonus to AC and Reflex saves." compset="InPlay"> <fieldval field="pDuration" value="1 round/level"/> <fieldval field="pMinimum" value="2"/> <fieldval field="pMaximum" value="2"/> <usesource source="APG"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <eval phase="PreLevel" priority="10000"><![CDATA[ ~if we're not active, just get out now doneif (field[pIsOn].value = 0) ~ Add to our armor class hero.child[ArmorClass].field[tACDodge].value += field[pAdjust].value ~ Add to our attack bonus hero.child[Attack].field[Bonus].value += field[pAdjust].value ~ Add to our Reflex save #applybonus[Bonus,hero.child[svRef],field[pAdjust].value]]]></eval> </thing> Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#19 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Spell: Blessing of the Salamander
Code:
<thing id="pS2BleSala" name="Blessing of the Salamander" description="When you cast this on a creature, its skin turns slick and clammy and it is able to regenerate damage each round. While under the effects of the spell, the creature gains fast healing 5, fire resistance 20 and a +2 competence bonus to its Combat Maneuver Defense." compset="InPlay"> <fieldval field="pDuration" value="1 round/level"/> <usesource source="APG"/> <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/> <tag group="Helper" tag="NoIncr"/> <bootstrap thing="xDamRsFire"></bootstrap> <bootstrap thing="xFastHeal"></bootstrap> <eval phase="First" priority="10000"><![CDATA[ ~if we're not active, just get out now doneif (field[pIsOn].value = 0) ~Give 20 Fire Resistance #applyresist[xDamRsFire, 20] ~Give fast healing 5 #applyvalue[xFastHeal, 5] ~ Add to our CMD hero.child[Maneuver].field[tCMD].value += 2]]></eval> </thing> Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#20 |
|
|