//Script by Lilac Soul aka Carsten Hjorthoj //Goes on UDE of placeable stone. If event 2001 is signaled //one in three effects are applied to the placeable. void main() { int nNum=GetUserDefinedEventNumber(); if (nNum==2001) { int nSpell; int nSpell1=VFX_IMP_DIVINE_STRIKE_FIRE; int nSpell2=VFX_FNF_SUNBEAM; int nSpell3=VFX_IMP_LIGHTNING_M; int nRand=d3(); if (nRand==1) nSpell=nSpell1; else if (nRand==2) nSpell=nSpell2; else nSpell=nSpell3; ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(nSpell), OBJECT_SELF); } }