… | |
… | |
594 | for (int i = 0; i < NUM_STATS; i++) |
594 | for (int i = 0; i < NUM_STATS; i++) |
595 | if (tmp->stats.stat (i) < 0) |
595 | if (tmp->stats.stat (i) < 0) |
596 | buf.printf (" - Your %s is depleted by %d.\n", statname[i], -tmp->stats.stat (i)); |
596 | buf.printf (" - Your %s is depleted by %d.\n", statname[i], -tmp->stats.stat (i)); |
597 | } |
597 | } |
598 | |
598 | |
599 | if (is_dragon_pl (op)) |
599 | if (op->is_dragon ()) |
600 | /* now grab the 'dragon_ability'-force from the player's inventory */ |
600 | /* now grab the 'dragon_ability'-force from the player's inventory */ |
601 | for (tmp = op->inv; tmp; tmp = tmp->below) |
601 | for (tmp = op->inv; tmp; tmp = tmp->below) |
602 | { |
602 | { |
603 | if (tmp->type == FORCE && tmp->arch->archname == shstr_dragon_ability_force) |
603 | if (tmp->type == FORCE && tmp->arch->archname == shstr_dragon_ability_force) |
604 | { |
604 | { |