View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old November 4th, 2010, 09:07 PM
Spell: Bloodhound
Code:
  <thing id="pS2Bloodho" name="Bloodhound" description="You gain the scent special quality, including the ability to track by scent. You receive a +8 competence bonus on Perception checks involving smell and a +4 competence bonus on Survival checks to track using scent. You take a -4 penalty on saving throws against odor-related effects such as the stench ability and {I}stinking cloud{/i}. A creature under the effects of {I}bloodhound{/i} can detect poison by scent with a DC 20 Perception check." compset="InPlay">
    <fieldval field="pDuration" value="1 hour/level"/>
    <usesource source="APG"/>
    <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/>
    <tag group="Helper" tag="NoIncr"/>
    <bootstrap thing="xDogTrack">
      <containerreq phase="First" priority="500"><![CDATA[fieldval:pIsOn <> 0]]></containerreq>
      </bootstrap>
    </thing>
Spell: Bomber's Eye
Code:
  <thing id="pS2BombEye" name="Bomber’s Eye" description="This extract allows you to throw weapons farther and more accurately. While this extract is in effect, increase the range of any thrown weapon by 10 feet. In addition, you receive a +1 insight bonus on attack rolls made with thrown weapons." compset="InPlay">
    <fieldval field="pDuration" value="1 round/level"/>
    <fieldval field="pMinimum" value="1"/>
    <fieldval field="pMaximum" value="1"/>
    <usesource source="APG"/>
    <tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/>
    <eval phase="PreLevel" priority="5000"><![CDATA[
~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)

~ Modify all the thrown weapons
foreach pick in hero from BaseWep where "wCategory.RangeThrow"
  ~ give a +1 Insight bonus on attack rolls
    eachpick.field[wAttBonus].value += field[pAdjust].value
  ~Increase Range Increment by 10feet
  eachpick.field[wRangeInc].value += 10
nexteach]]></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.

Last edited by ShadowChemosh; November 5th, 2010 at 10:48 PM. Reason: Forgot the bootstrap ContainerReq for pIsOn
ShadowChemosh is offline   #21 Reply With Quote