Gambling Cast (3.5e Feat)
From D&D Wiki
Gambling Cast [Metamagic]
Allows you to take a risk to possibly increase the maximum power of a non-variable effect from a spell.
Benefit: You can alter the non-variable numeric effects of a spell to become variable.
For bonuses of +X, the roll becomes 1d3+X-2.This feat does not take up a higher level spell slot.
Normal: The bonus granted by such spells is static and no dice are rolled.