On Fri, 7 Nov 1997, S. Mead wrote: > Now what I am confused about is the call that fetches the Resistance > type (GET_RES) and how do I declare it in utils.h? GET_SAVE is declared > like this: > > #define GET_SAVE(ch, i) > ((ch)->char_specials.saved.apply_saving_throw[i]) > > So for mine it would be: #define GET_RES(ch, i) (uhhhhhhh?) > Would anyone be so kind as to give me some tips to help me finish this Assuming that you had it defined in structs.h like saving throws, you'd do it like: #define GET_RES(ch, i) ((ch)->char_specials.saved.resistance[i]) John Evans <evansj@hi-line.net> May the source be with you. +------------------------------------------------------------+ | 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