… | |
… | |
495 | { |
495 | { |
496 | for (attr = 0; attr < NUM_STATS; attr++) |
496 | for (attr = 0; attr < NUM_STATS; attr++) |
497 | if ((val = op->stats.stat (attr))) |
497 | if ((val = op->stats.stat (attr))) |
498 | buf.printf ("(%s%+d)", short_stat_name[attr], val); |
498 | buf.printf ("(%s%+d)", short_stat_name[attr], val); |
499 | |
499 | |
500 | if (op->stats.exp) buf.printf ("(speed %+lld)", (long long)op->stats.exp); |
500 | if (op->stats.exp) buf.printf ("(speed %+d)", (int)op->stats.exp); |
501 | if (op->stats.wc) buf.printf ("(wc%+d)", op->stats.wc); |
501 | if (op->stats.wc) buf.printf ("(wc%+d)", op->stats.wc); |
502 | if (op->stats.dam) buf.printf ("(dam%+d)", op->stats.dam); |
502 | if (op->stats.dam) buf.printf ("(dam%+d)", op->stats.dam); |
503 | if (op->stats.ac) buf.printf ("(ac%+d)", op->stats.ac); |
503 | if (op->stats.ac) buf.printf ("(ac%+d)", op->stats.ac); |
504 | |
504 | |
505 | buf << describe_resistance (op, 0); |
505 | buf << describe_resistance (op, 0); |