void main()
    {
    object oPC = GetAreaOfEffectCreator();
    object oObject = GetFirstInPersistentObject();
    effect eEffect = EffectDamageImmunityIncrease(DAMAGE_TYPE_COLD,100);
    while (GetIsObjectValid(oObject))
        {
        if (oObject != oPC)
            ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eEffect,oObject,6.0);
        oObject = GetNextInPersistentObject();
        }
    }
