Spell: Chameleon Stride
Code:
<thing id="pS2ChamStr" name="Chameleon Stride" description="You fade into the background, and while you are not truly invisible, you are hard to pinpoint due to your translucent state. While under the effects of this spell, you gain a +4 bonus on Stealth checks and have concealment from creatures more than 5 feet away (attacks have a 20% miss chance)." compset="InPlay">
<fieldval field="pDuration" value="1 min/level"/>
<fieldval field="pMinimum" value="4"/>
<fieldval field="pMaximum" value="4"/>
<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)
~Give bonus to stealth skill
#skillbonus[skStealth] += field[pAdjust].value]]></eval>
</thing>