Re: Give a spell to a character via a function

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 11/17/97


On Mon, 17 Nov 1997, Ryan Guthrie wrote:

->Is there some function like: affect_to_char(ch, SPELL_NAME) that will give
->the target that spell?  I looked through handler.c and failed to see
->one...

Look into affect_join().  Example of how it's used is in the drink
code, search for affect_join() in act.item.c, then you'll see how it
is used.  All you need to do is adapt that code appropriately.


daniel koepke / dkoepke@california.com


     +------------------------------------------------------------+
     | 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/08/00 PST