Sunray

When Sunray is cast, the cleric bathes in a protective ray of sunlight that banishes the undead and hurts all enemies.
==Description==
==Gameplay==
*The cleric casts a projectile upon self (break invisibility) which spreads 16-ft radius instantly when contact, every hostile creature within the spell's AoE suffer 3d6 Magical damage (yield to MR, no save) and be blind for 1 min (yield to MR, save vs. Spell negates); every hostile undead creature takes additional 1d6 magic damage per caster level, up to 20d6 at lvl20 (nonmagically bypass MR, no save), and suffers another 1000 magic damage (yield to MR, save vs. Spell negates). Allies are not affected.
*Daystar and the Helm of Brilliance are able to cast this spell at a default caster level 10. If the helm is worn by a divine magic caster of high enough level though, that level will be leveraged properly for scaling.
* A demilich or Rakshasa creatures won't be affected by this spell, and the Sunray will be "spell ineffective".
* This spell is very effective against Liches, as it bypasses their level-based immunity and MR, and as area spell is not affected by Spell Trap or the like.
== Trivia ==
In DnD, this spell is associated with druids, being an expression of the natural force of the sun. For Baldur's Gate, the developers apparently wished to emphasize the anti-undead abilities of clerics at the cost of druids.
==Mod content==
Spell Revisions mod has changed this divine spell, revising its effects, saving throw and description. See below:
Sunray
Level: 7
School: Evocation
Sphere: Sun
Range: Personal
Duration: Special
Casting Time: 5
Area of Effect: 30’ radius
Saving Throw: Special
When this spell is cast, it causes a ray of sunlight to beam down upon the caster and a globe of searing radiance to explode in a 30-foot radius. All hostile creatures in the area of effect are blinded for 10 rounds and take 6d6 points of damage. Undead creatures caught within the sunburst instead take 1d6 points of damage per caster level (up to a maximum of 20d6). A successful save vs. breath at a -4 penalty negates the blindness and reduces the damage by half. The burst also results in the destruction of all undead creatures specifically harmed by bright light (such as vampires, shadows, and wraiths) that fail a saving throw vs. spell.
===Mod gallery===
KANGSUNRAY.png|Sunray applied from Daystar sword adjacent to Kangaxx, who shrugs it off with "Spell Ineffective" combat log display. SCS and SR mods installed in BG2:EE.
Category:Bypass Magic resistance
Category:Magical damage
Category:Cleric 7th level spells