| 73 | }; |
| 74 | |
| 75 | staticfn void |
| 76 | give_may_advance_msg(int skill) |
| 77 | { |
| 78 | You_feel("more confident in your %sskills.", |
| 79 | (skill == P_NONE) ? "" |
| 80 | : (skill <= P_LAST_WEAPON) ? "weapon " |
| 81 | : (skill <= P_LAST_SPELL) ? "spell casting " |
| 82 | : "fighting "); |
| 83 | (void) handle_tip(TIP_ENHANCE); |
| 84 | } |
| 85 | |
| 86 | /* weapon's skill category name for use as generalized description of weapon; |
| 87 | mostly used to shorten "you drop your <weapon>" messages when slippery |
no test coverage detected