void main() { effect eHarmdam = EffectDamage(500, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_NORMAL); effect eHarm = EffectVisualEffect(VFX_IMP_HARM, FALSE); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eHarmdam, GetEnteringObject()); ApplyEffectToObject(DURATION_TYPE_INSTANT, eHarm, GetEnteringObject()); }