void main()
{
    object oEntered = GetEnteringObject();
    object oBoss = GetObjectByTag("EmbodimentoftheReaper");
    object oPC = GetFirstPC();

    if (oEntered == oBoss)
        {
        ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(30, AC_VS_DAMAGE_TYPE_ALL, DAMAGE_POWER_PLUS_THREE), oBoss, 0.0f);
        ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_DEATH_L), oBoss, 2.0f);
        if (GetCurrentHitPoints(oBoss)<=0){
            GiveXPToCreature(GetLastAttacker(oBoss), 1200);}
        //FloatingTextStringOnCreature("The darkness washes away some of the damage of the creature.", oBoss);
        }

    if (oEntered != oBoss)
        {
        return;
        }
}
