Huh... I think mounting multiple spell turrets onto a single platform does this well without ice assassin cheese (although Tippy's method is so much more awesome).

Spell Turrets hold spells and fire them per round, DMG2. Dungeonscape also has complex trap rules.