Spell: Aspect of the Bear(APG)
Code:
<thing id="pS2AspBear" name="Aspect of the Bear" description="You take on an aspect of a bear. You gain a +2 enhancement bonus to natural armor and a +2 enhancement bonus on CMB rolls. You can also perform bull rush, grapple, and overrun combat maneuvers without provoking attacks of opportunity." compset="InPlay">
<fieldval field="pMinimum" value="2"/>
<fieldval field="pMaximum" value="2"/>
<fieldval field="pDuration" value="1 min/level"/>
<usesource source="APG"/>
<tag group="Helper" tag="AdjSpell" name="Spell Adjustment" abbrev="Spell Adjustment"/>
<eval phase="PreLevel" priority="10000"><![CDATA[~ If we're not enabled, get out now
doneif (field[pIsOn].value = 0)
~ Add to our CMB
hero.child[Maneuver].field[tCMB].value += field[pAdjust].value
~ Add to our natural armor class
hero.child[ArmorClass].field[tACNatural].value += field[pAdjust].value]]></eval>
</thing>