8 lines
273 B
Plaintext
8 lines
273 B
Plaintext
void main()
|
|
{
|
|
ApplyEffectAtLocation(DURATION_TYPE_PERMANENT, EffectVisualEffect(VFX_IMP_UNSUMMON), GetLocation(OBJECT_SELF));
|
|
CreateObject(OBJECT_TYPE_CREATURE, "demon001", GetLocation(OBJECT_SELF), TRUE);
|
|
SetIsDestroyable(TRUE);
|
|
DestroyObject(OBJECT_SELF, 0.5);
|
|
}
|