void main() { object oDrop; object oTarget= OBJECT_SELF; location lTarget= GetLocation(OBJECT_SELF); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_HARM ), oTarget); oDrop= CreateObject(OBJECT_TYPE_PLACEABLE,"JailersReward",lTarget); CreateItemOnObject("JailersKey",oDrop); }