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>