void main()
{
    SetLocalInt(GetObjectByTag("c33WallofFire"), "TrapActive", TRUE);
    object oPC = GetEnteringObject();
    if (GetIsPC(oPC) || GetMaster(oPC) != oPC)
    {
        effect eDam = EffectDamage(d4(2), DAMAGE_TYPE_FIRE);
        effect eVis = EffectVisualEffect(VFX_COM_HIT_FIRE);
        ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC);
        ApplyEffectToObject(DURATION_TYPE_INSTANT, eDam, oPC);
    }
}
