spells with global variables

Using a similar idea as the npc and stamp control hacks, does anyone think there can be a hack allowing spell damage to be based on global variables? (the spell does gb_mindam to gb_maxdam damage)

The only problem I can see is if the variables happen to be getting used as a string.

------------------
The word politics is derived from the words poly, meaning many, and tics, referring to blood sucking parasytes.

Well, I can check it out : it depends on how and where the minimum/maximum damage is stored in the spell file.

Sincerely,

Alois

------------------