[newbie] # -> $

@kirk.geog.sc.edu
Date: 10/13/96


the line:
do_advance(victim, ((int)GET_LEVEL(ch) - 2), 0, 0);

yields:
warning: passing arg 2 of `do_advance' makes pointer from integer
without a case

looking in do_advance, it looks like it wants that second argument to
be a string and not a number (char *level = buf2), so my question is,
how to convert that number in my line above to a string that do_advance
wants? :)

and i guess, more significantly, i am trying to do a spell that drains
levels (and another spell that restores them), and is there a better
way i should be doing it than using do_advance?  (yes,i am know about
the message it will send, and i have taken care of that :)

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