void main() { if (GetLocalInt(OBJECT_SELF,"nDoors")!=2) { object oDoor=GetObjectByTag("jw_whispf2wellp"); ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectDamage(10,DAMAGE_TYPE_MAGICAL,DAMAGE_POWER_PLUS_FIVE),oDoor); SetLocalInt(OBJECT_SELF,"nDoors",2); } }