At 12:31 PM 8/22/96 -0500, you wrote: >This spell has got really weird C syntax - never seen that before: > > /* A bonus for ac affecting items also */ > for (i = 0; i < MAX_OBJ_AFFECT; i++) { > ^^^^^^ > what is this supposed to do ?? > > > if (obj->affected[i].location == APPLY_AC) > ^^^^^^^ > and this > > save -= obj->affected[i].modifier / 10; > } > hmm. That should not even compile. I used the disint spell and I did not see that, sure you didn't bump a few keys on accident. (highly unlikely with thse keystrokes but???) I do not think that was like that in the snippet i looked at. Chuck > +-----------------------------------------------------------+ | 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/07/00 PST