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... From act.item.c: af.type = SPELL_POISON; af.duration = amount * 3; af.modifier = 0; af.location = APPLY_NONE; af.bitvector = AFF_POISON; affect_join(ch, &af, FALSE, FALSE, FALSE, FALSE); where af = struct affected_type af; -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | 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