… | |
… | |
92 | printf ("%-15s|%5d|%3d|%4d|%4d|%s|", &op->arch->name, op->stats.maxhp, op->stats.dam, op->stats.ac, op->stats.wc, attbuf); |
92 | printf ("%-15s|%5d|%3d|%4d|%4d|%s|", &op->arch->name, op->stats.maxhp, op->stats.dam, op->stats.ac, op->stats.wc, attbuf); |
93 | for (i = 0; i < NROFATTACKS; i++) |
93 | for (i = 0; i < NROFATTACKS; i++) |
94 | printf ("%4d", op->resist[i]); |
94 | printf ("%4d", op->resist[i]); |
95 | printf ("|%8lld|%9d|\n", (long long) op->stats.exp, new_exp (op)); |
95 | printf ("|%8lld|%9d|\n", (long long) op->stats.exp, new_exp (op)); |
96 | } |
96 | } |
97 | free_object (op); |
97 | op->destroy (0); |
98 | } |
98 | } |
99 | } |
99 | } |
100 | |
100 | |
101 | /* |
101 | /* |
102 | * Writes <num> ones and zeros to the given string based on the |
102 | * Writes <num> ones and zeros to the given string based on the |