19 lines
308 B
Plaintext
19 lines
308 B
Plaintext
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);
|
|
|
|
|
|
|
|
|
|
}
|