void main() { object oPC = GetItemActivator(); effect eUltravision = EffectUltravision(); int iRND = Random(300); float fRND = IntToFloat(iRND); float fTotal = 900 + fRND; ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eUltravision, oPC, fTotal); }