Re: change in stat command:

From: Jasper (dannyboy@teleport.com)
Date: 02/27/97


/* Routine to show what spells a char is affected by */
     if (k->affected) {
      for (aff = k->affected; aff; aff = aff->next) {
       *buf2 = '\0';
       sprintf(buf, "SPL: (%3dhr) %s%-21s%s ", aff->duration + 1,
        CCCYN(ch, C_NRM), spells[aff->type], CCNRM(ch, C_NRM));
       if (aff->modifier) {
         sprintf(buf2, "%+d to %s", aff->modifier, apply_types[(int)
aff->location]);
         strcat(buf, buf2);
       }
       if (aff->bitvector) {
         if (*buf2)
******     strcat(buf, ", sets ");        ***********Uuum just a guess,
should that second comma be there?****
         else
           strcat(buf, "sets ");
         sprintbit(aff->bitvector, affected_bits, buf2);
         strcat(buf, buf2);
       }
       send_to_char(strcat(buf, "\r\n"), ch);
    }
  }
 }
taking a wild guess,
Jinz
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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