void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; if (GetTag(GetItemInSlot(INVENTORY_SLOT_BOOTS, oPC)) == "BootsOfBlood") return; object oTarget; oTarget = oPC; ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectKnockdown(), oTarget, 60.0f); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(200, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_ENERGY), oPC); oTarget = oPC; //Visual effects can't be applied to waypoints, so if it is a WP //apply to the WP's location instead int nInt; nInt = GetObjectType(oTarget); if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), oTarget); else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_FLAME_M), GetLocation(oTarget)); oTarget = GetObjectByTag("BloodDoor"); SetLocked(oTarget, TRUE); }