Re: [Circle] Race Doc

From: Alex (
Date: 07/30/96

> Will the person who sent the step by step instructions to add races, 
> please resend to me, thanks.
Check the FTP site.  Please. (=

Erm... Yeah.  Whatever.

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

From Tue, 30 Jul 96 13:05:04 EDT
X-SystemInfo: MyE-Mail: EMail
X-Message-No: 3287 (database)
From: goamkows <>
To: circle <>
Subject: [Circle] [newbie] parse error
Date: Tue, 30 Jul 96 18:05:00
Message-ID: <>
Reply-To: (goamkows)
X-POP3-Rcpt: lk4150@per
Return-Path: <>
Received: from QUCDN.QueensU.CA (QUCDN.QueensU.CA []) by (8.6.12/8.6.12) with SMTP id SAA31669 for <>; Tue, 30 Jul 1996 18:37:24 +0200
Received: from by QUCDN.QueensU.CA (IBM VM SMTP V2R2) with TCP;Tue, 30 Jul 96 13:41:29 EDT
Received: by (SMI-8.6/SMI-SVR4)id NAA17327; Tue, 30 Jul 1996 13:00:09 -0500
Received: from by (SMI-8.6/SMI-SVR4)
Received: from by (4.1/SMI-4.1)
Received: from by (4.1/SMI-4.1)
Precedence: bulk

i'm getting a 'parse error before return' in my do_breath skill,
and i have no idea what i am doing wrong :P  
the offending line is marked with an arrow, but i include the rest 
of the case for completeness (a bunch of other similar cases are
giving me the same problem).

    case BREATH_FIRE:
	      (GET_RACE(ch) == RACE_DRAGON_RED) || 
	      (GET_RACE(ch) == RACE_DRAGON_GOLD))) {
	    send_to_char("You can't breath that!", ch);
--->	if (IS_IMMUNE(victim, IMMUNE_FIRE))
	  dam = dice(3, 6);
	  dam = ((dice((GET_LEVEL(ch)), 12)) + GET_LEVEL(ch));
	  dam = ((dice((GET_LEVEL(ch)), 10)) + GET_LEVEL(ch));
victim is declared as struct char_data *victim
and my IS_IMMUNE macro is:
#define IS_IMMUNE(ch, skill) (IMMUNE_FLAGGED((ch), (skill)))
#define IMMUNE_FLAGGED(ch, flag) (IS_SET(IMMUNE_FLAGS(ch), (flag)))
#define IMMUNE_FLAGS(ch) ((ch->char_specials.saved.affected_by2)
(basically, i just copied the IS_AFFECTED macro and related macros :)

and yes, i added that affected_by2 field to the char structure, right 
after char_specials.saved.affected_by :)

also, still having problems with this line:
(i.e. "void value not ignored as it ought to be")

    if (mag_savingthrow(victim, SAVING_BREATH))


                the count                  |     "There is no mistake,        |
                                           |   there has been no mistake,     |          | and there shall be no mistake."  |
No, my mail reader cannot handle MIME stuff| -Duke of Wellington (1769-1852)  |
so please don't send me any MIME stuff :P  |                                  |
        "The best way to keep one's word is not to give it" - Napoleon        |
              Please, please provide me with my daily helping of             
               preposterous and prentitious platitudes.. waiter.
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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