A shining ray of multicolored light blinds creatures with 8 Hit Die or less for 12 to 48 seconds, and does 1 of 7 harmful effects at random to one target, with a 12.5% of inflicting a second different effect from that 7. These 7 effects are detailed as follows:
Note that Spell Resistance does not protect against any of these effects, including the non-damaging ones.
The highest item based damage, critical hit rate and critical multiplier bonuses apply to this spell, regardless of the type of damage enhanced as long as it matches one of this spells 3 types (Fire, Acid or Electricity).
Enhancement bonuses and item bonuses stack.
For example, if you have an item that grants +30% fire damage, increases fire critical rates by 9%, and increases the critical damage multiplier by 0.25, and another item that grants +40% acid damage, increases acid critical rates by 6%, and increases the critical damage multiplier by 0.5, Prismatic Ray will deal 40% more damage, while its critical hit rate increases by 9%, and its critical damage multiplier increases by 0.5, the spell benefiting from the highest property from each category.
Expanding on this example, if you had enhancement bonuses that granted +10% damage to electricity spells, +3% to their critical hit rates, and +0.5 to their critical damage modifiers, and another set that granted +30% damage to fire spells, +6% to their critical hit rates, and +0.75 to their critical damage modifiers, Prismatic Ray would receive, in addition to all item bonuses, +30% damage, +6% to its critical hit rate, and +0.75 to its critical damage multiplier.
Combining the two examples, the final adjustment from items and enhancements would be: +70% damage (30% + 40%), +15% (9% + 6%) critical hit rate, and +2.25 (1 + 0.75 + 0.5) critical damage multiplier.
This spell is random, but interesting. The violet beam can be extremely powerful, especially when used against enemies who are otherwise immune to most other insta-kill effects.