The Elemental Bloodline Bloodline Arcana, or the Elemental Arcana as I call it, allows the energy types of spells to be modified. The following allows a Elemental Sorcerer to add the modified spells to his spells known via the "Create Favorite Metamagic Spells" feature of the "Sorcerer" tab.
Code:
<thing id="mmElArAcid" name="Elemental Arcana - Acid" description="Replace a spell’s normal energy damage with acid damage. The s\pell’s type changes accordingly." compset="Metamagic" summary="Replace all other energy damage and descriptors with Acid." uniqueness="unique">
<fieldval field="mmAbbr" value="Acid"/>
<eval phase="First" priority="15000"><![CDATA[
~ We need to delete the other energy damage tags from the spell, but
~ only them since we can't substitute energy damage for Slashing for
~ example.
perform parent.delete[SpellEff.DamCold]
perform parent.delete[SpellEff.DamElec]
perform parent.delete[SpellEff.DamFire]
perform parent.delete[SpellEff.DamSonic]
perform parent.delete[sDescript.Cold]
perform parent.delete[sDescript.Electric]
perform parent.delete[sDescript.Fire]
perform parent.delete[sDescript.Sonic]
~ We need to apply our own Damage tag to the spell so it can be detected
~ by feats and whatnot.
perform parent.assign[SpellEff.DamAcid]
perform parent.assign[sDescript.Acid]
]]></eval>
<exprreq message="You must be an Earth Elementalist Sorcerer"><![CDATA[#hasability[cSorElem] + hero.tagis[BloodEner.Acid] >= 2]]></exprreq>
<exprreq message="Spell must deal Cold, Electricity, Fire or Sonic damage."><![CDATA[tagis[SpellEff.DamCold] + tagis[SpellEff.DamElec] + tagis[SpellEff.DamFire] + tagis[SpellEff.DamSonic] <> 0]]></exprreq>
</thing>
<thing id="mmElArCold" name="Elemental Arcana - Cold" description="Replace a spell’s normal energy damage with cold damage. The spell’s type changes accordingly." compset="Metamagic" summary="Replace all other energy damage and descriptors with Cold." uniqueness="unique">
<fieldval field="mmAbbr" value="Cold"/>
<eval phase="First" priority="15000"><![CDATA[
~ We need to delete the other energy damage tags from the spell, but
~ only them since we can't substitute energy damage for Slashing for
~ example.
perform parent.delete[SpellEff.DamAcid]
perform parent.delete[SpellEff.DamElec]
perform parent.delete[SpellEff.DamFire]
perform parent.delete[SpellEff.DamSonic]
perform parent.delete[sDescript.Acid]
perform parent.delete[sDescript.Electric]
perform parent.delete[sDescript.Fire]
perform parent.delete[sDescript.Sonic]
~ We need to apply our own Damage tag to the spell so it can be detected
~ by feats and whatnot.
perform parent.assign[SpellEff.DamCold]
perform parent.assign[sDescript.Cold]
]]></eval>
<exprreq message="You must be an Water Elementalist Sorcerer"><![CDATA[#hasability[cSorElem] + hero.tagis[BloodEner.Cold] >= 2]]></exprreq>
<exprreq message="Spell must deal Acid, Electricity, Fire or Sonic damage."><![CDATA[tagis[SpellEff.DamAcid] + tagis[SpellEff.DamElec] + tagis[SpellEff.DamFire] + tagis[SpellEff.DamSonic] <> 0]]></exprreq>
</thing>
<thing id="mmElArElec" name="Elemental Arcana - Electricity" description="Replace a spell’s normal energy damage with electricity damage. The spell’s type changes accordingly." compset="Metamagic" summary="Replace all other energy damage and descriptors with Electricity." uniqueness="unique">
<fieldval field="mmAbbr" value="Elec"/>
<eval phase="First" priority="15000"><![CDATA[
~ We need to delete the other energy damage tags from the spell, but
~ only them since we can't substitute energy damage for Slashing for
~ example.
perform parent.delete[SpellEff.DamAcid]
perform parent.delete[SpellEff.DamCold]
perform parent.delete[SpellEff.DamFire]
perform parent.delete[SpellEff.DamSonic]
perform parent.delete[sDescript.Acid]
perform parent.delete[sDescript.Cold]
perform parent.delete[sDescript.Fire]
perform parent.delete[sDescript.Sonic]
~ We need to apply our own Damage tag to the spell so it can be detected
~ by feats and whatnot.
perform parent.assign[SpellEff.DamElec]
perform parent.assign[sDescript.Electric]
]]></eval>
<exprreq message="You must be an Air Elementalist Sorcerer"><![CDATA[#hasability[cSorElem] + hero.tagis[BloodEner.Elec] >= 2]]></exprreq>
<exprreq message="Spell must deal Acid, Cold, Fire or Sonic damage."><![CDATA[tagis[SpellEff.DamAcid] + tagis[SpellEff.DamCold] + tagis[SpellEff.DamFire] + tagis[SpellEff.DamSonic] <> 0]]></exprreq>
</thing>
<thing id="mmElArFire" name="Elemental Arcana - Fire" description="Replace a spell’s normal energy damage with fire damage. The spell’s type changes accordingly." compset="Metamagic" summary="Replace all other energy damage and descriptors with Fire." uniqueness="unique">
<fieldval field="mmAbbr" value="Fire"/>
<eval phase="First" priority="15000"><![CDATA[
~ We need to delete the other energy damage tags from the spell, but
~ only them since we can't substitute energy damage for Slashing for
~ example.
perform parent.delete[SpellEff.DamAcid]
perform parent.delete[SpellEff.DamCold]
perform parent.delete[SpellEff.DamElec]
perform parent.delete[SpellEff.DamSonic]
perform parent.delete[sDescript.Acid]
perform parent.delete[sDescript.Cold]
perform parent.delete[sDescript.Electric]
perform parent.delete[sDescript.Sonic]
~ We need to apply our own Damage tag to the spell so it can be detected
~ by feats and whatnot.
perform parent.assign[SpellEff.DamFire]
perform parent.assign[sDescript.Fire]
]]></eval>
<exprreq message="You must be an Fire Elementalist Sorcerer"><![CDATA[#hasability[cSorElem] + hero.tagis[BloodEner.Fire] >= 2]]></exprreq>
<exprreq message="Spell must deal Acid, Cold, Electricity or Sonic damage."><![CDATA[tagis[SpellEff.DamAcid] + tagis[SpellEff.DamCold] + tagis[SpellEff.DamElec] + tagis[SpellEff.DamSonic] <> 0]]></exprreq>
</thing>