well, I had this spell working, don't know what messed it up, here is the
code
ASPELL(dimension_door)
{
if (ch == NULL || victim == NULL)
return;
if (IS_NPC(victim)) {
send_to_char(SUMMON_FAIL, ch);
return;
}
act("You step into a door, and it leads you elsewhere.", TRUE, ch, 0, 0, TO_CHAR);
act("$n steps into a door, and the door vanishes.", TRUE, ch, 0, 0, TO_ROOM);
char_from_room(ch);
char_to_room(ch, victim->in_room);
act("$n steps out of a door, and the door vanishes.", TRUE, ch, 0, 0, TO_ROOM);
look_at_room(victim, 0);
}
the spell goes off, but nothing happens.. the spello is TAR_NOT_SELF |
TAR_CHAR_WORLD... help please? :P
Nashak Brian Williams The Realms of Luminari
nashak@darkstr.com bmw@efn.org darkstr.com 6969
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST