Isaac's Lesser Missile Storm
From HGWiki
Caster Level: Sorcerer/Wizard 4
Innate Level: 4
School: Evocation
Descriptor(s): Force
Component(s): Verbal, Somatic
Range: Long (40 meters)
Save: None
Spell Resistance: Yes
Area of Effect/Target: Gargantuan (8.33 meter radius)
Duration: Instant
Description: A number of energy missiles (one per caster level but to a maximum of 10) appear and randomly target and hit any hostile creature in the area of effect. If there are more creatures than missiles, only the closest targets will be damaged. If there are more missiles than creatures, one of the creatures will be hit with multiple missiles. Each missile does 1d6 points of Force damage, damage increases to 2d6 per missile at CL41.
Notes
This spell inflicts Force damage instead of Magical damage. Force damage is similar to Magical damage, but only respects half of a target's Magical damage immunity, and does not respect Magical damage resistance.
Since the caster is (on some level) guiding the missiles to their targets, this spell will only target creatures the caster can see.
The spell description is misleading when there are more missiles than targets. The missiles will be distributed evenly among the potential targets until there are fewer missiles than targets, at which point the remainder will be given to the first target. For example, if 8 missiles are fired at three targets, each target will be hit by 2 missiles (accounting for 6 missiles), then the leftover 2 missiles will hit the first target (for a total of 4 hits on the first target).