Isaac's Greater Missile Storm
From HGWiki
Caster Level: Sorcerer/Wizard 6
Innate Level: 6
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 20, the number of missiles increases by 1 per 2 CL above 40, reaching 30 at CL60 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 2d6 points of Force damage.
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 Template:DamX 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 14 missiles are fired at three targets, each target will be hit by 4 missiles (accounting for 12 missiles), then the leftover 2 missiles will hit the first target (for a total of 6 hits on the first target).