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

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 offline   #17 Reply With Quote