Cure Moderate Wounds, Mass
|Spell level :||Innate level: 6, Bard: 6, Cleric: 6, Druid: 7|
|Components :||Verbal and Somatic|
|Target/Area :||One creature * cLevel|
|Spell resistance :||No|
This spell heals 2d8 points of damage +1 point per caster level (maximum +30). The effect is centered on you, and targets are affected in the following order of priority: you, your party, friendly creatures sorted by distance from you. This spell can be spontaneously cast.
General: The description misses out these parts: That it has spell resistance, a will save and its area radius (also see below).
We can also assume that "sorted by distance from you" is a mistake - since it can be targeted at a point, it should be removed to make the spell more simple (GetFirst/NextObjectInShape() doesn't work on a range-basis).
A better sentence would be: "The effect is centered on a chosen location, and targets are affected in the following order of priority: you, your party, friendly creatures, enemy undead."
The description should have the Target line as: "One creature/level in a Large area" too, to show the area somewhere.
Line 89: This should have "d8(2) + nBonus;", because nCasterLvl is capped.
Line 91: The second parameter of ApplyMetamagicVariableMods() should use 16 + nBonus, since the bonus is capped at +30.