Spell Targets

From: Angus Mezick (angus@EDGIL.CCMAIL.COMPUSERVE.COM)
Date: 04/23/98


Well, we all know that spells can be targeted at char's and obj's.  but what
about rooms and doors?  I am trying to make a knock spell, but i am also trying
to avoid passing the direction pointer around.  what i am leaning towards is
either adding the tdoor and troom along side the tch and tobj, or just go ahead
and put all four of them in to a tstruct and work it from there.  Has anyone
done this and have suggestions?  We have delayed spells that do a countdown
between cast_spell and call_magic.

Example spells:
Wall of Fire on an exit.
Faerie Fog on the next room.
Knock on a door.

--Angus


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST