shadow.c
final_realms_fluffos_v1/lib/std/shadow.c · 420 B
From the archive final_realms_fluffos_v1.zip
Download the archive « Back to the archive contents
/* Standard shadow thingies */
static object owner;
void start()
{
shadow(owner, 1);
call_out("wear_off", 50);
}
void wear_off(object me)
{
tell_object(owner, "Your spell wears off.\n");
destruct(this_object());
}
int dispell()
{
tell_object(owner, "A Dispell Magic dispelled your spell.\n");
tell_object(environment(owner), owner->query_cap_name()+"'s spell is dispelled.\n");
wear_off(owner);
return 1;
}