Ok... ok ok... work work work...
well.. what can I do... :-)
Thanks for the site... this helps a lot...
I entered in class.c and write:
case CLASS_MAGIC_USER:
ch->real_abils.intel = 100; /* Bingo! */
ch->real_abils.wis = table[1];
ch->real_abils.dex = table[2];
but i want to "clean" the code...
If I will NOT use rolls... then I can delete part of the function right?
If I delete:
int i, j, k, temp;
ubyte table[6];
ubyte rolls[4];
for (i = 0; i < 6; i++)
table[i] = 0;
for (i = 0; i < 6; i++) {
for (j = 0; j < 4; j++)
rolls[j] = number(1, 6);
temp = rolls[0] + rolls[1] + rolls[2] + rolls[3] -
MIN(rolls[0], MIN(rolls[1], MIN(rolls[2], rolls[3])));
for (k = 0; k < 6; k++)
if (table[k] < temp) {
temp ^= table[k];
table[k] ^= temp;
temp ^= table[k];
}
}
I will have problems with other files?
Another thing... When I compiled... a lot of "warnings" shows in my
screen...
And when some player enter in mud(I, lol) some "syserr" appear in the
screen...
If I tell you what error is, you can help me?
Thanks,
Nikolas
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT