Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Cutter
Member
 
Join Date: May 2010
Posts: 31

Old October 30th, 2010, 06:49 PM
Quote:
For that one, follow the d20pfsrd link in ShadowChemosh's sig - that'll lead you to a proper HL input file for that spell. What he posted is only useful to me or another advanced user.
Okay I may be thick but I have been there and I can't find it.
Cutter is offline   #11 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old October 30th, 2010, 09:23 PM
Quote:
Originally Posted by Cutter View Post
Okay I may be thick but I have been there and I can't find it.
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.
ShadowChemosh is online now   #12 Reply With Quote
Nikmal
Senior Member
 
Join Date: Aug 2010
Location: Twin Cities, MN
Posts: 659

Old October 30th, 2010, 09:25 PM
Edited.. already answered
Nikmal is offline   #13 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old October 31st, 2010, 10:29 AM
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>
For this one the only thing I can't seem to get to work is how to stop the bootstrap of the wGore if the condition is not check marked. Hopefully that is something easy for you to add. The other thing is I am having a problem trying to figure out how to modify only the wGore that was added by the above.

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.
ShadowChemosh is online now   #14 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,447

Old October 31st, 2010, 12:17 PM
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>
The Helper.NatSizeDmg mechanic on a natural attack means to add or subtract as many damage steps from the damage of the weapon as the hero is from size M - presumably, a size L character getting this spell would get a 2d6 gore attack, and a Tiny character would get a 1d4 - not just the small/medium cases described in the spell.

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
In the Condition button, at phase: First, Priority: 500.

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.
Mathias is online now   #15 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old October 31st, 2010, 01:55 PM
Quote:
Originally Posted by Mathias View Post
[CODE]
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.
I duplicated and started from the Aspect of the Bear thing and I used the editor to simply remove the min/max values. I didn't notice that the Fields still stayed. Will watch that from now on.

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.
ShadowChemosh is online now   #16 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old October 31st, 2010, 02:37 PM
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>
Hopefully this one should be better.

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.
ShadowChemosh is online now   #17 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old November 1st, 2010, 08:39 PM
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.
ShadowChemosh is online now   #18 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old November 2nd, 2010, 08:51 PM
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.
ShadowChemosh is online now   #19 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,590

Old November 3rd, 2010, 08:26 PM
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.
ShadowChemosh is online now   #20 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 11:53 AM.


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