… | |
… | |
606 | |
606 | |
607 | if (is_dragon_pl (op)) |
607 | if (is_dragon_pl (op)) |
608 | /* now grab the 'dragon_ability'-force from the player's inventory */ |
608 | /* now grab the 'dragon_ability'-force from the player's inventory */ |
609 | for (tmp = op->inv; tmp; tmp = tmp->below) |
609 | for (tmp = op->inv; tmp; tmp = tmp->below) |
610 | { |
610 | { |
611 | if (tmp->type == FORCE && !strcmp (tmp->arch->archname, "dragon_ability_force")) |
611 | if (tmp->type == FORCE && tmp->arch->archname == shstr_dragon_ability_force) |
612 | { |
612 | { |
613 | if (tmp->stats.exp == 0) |
613 | if (tmp->stats.exp == 0) |
614 | buf << "Your metabolism isn't focused on anything.\n"; |
614 | buf << "Your metabolism isn't focused on anything.\n"; |
615 | else |
615 | else |
616 | buf << "Your metabolism is focused on " << change_resist_msg[tmp->stats.exp] << ".\n"; |
616 | buf << "Your metabolism is focused on " << change_resist_msg[tmp->stats.exp] << ".\n"; |