| 3316 | } |
| 3317 | |
| 3318 | void |
| 3319 | adj_abon(struct obj *otmp, schar delta) |
| 3320 | { |
| 3321 | if (uarmg && uarmg == otmp && otmp->otyp == GAUNTLETS_OF_DEXTERITY) { |
| 3322 | if (delta) { |
| 3323 | makeknown(uarmg->otyp); |
| 3324 | ABON(A_DEX) += (delta); |
| 3325 | } |
| 3326 | disp.botl = TRUE; |
| 3327 | } |
| 3328 | if (uarmh && uarmh == otmp && otmp->otyp == HELM_OF_BRILLIANCE) { |
| 3329 | if (delta) { |
| 3330 | makeknown(uarmh->otyp); |
| 3331 | ABON(A_INT) += (delta); |
| 3332 | ABON(A_WIS) += (delta); |
| 3333 | } |
| 3334 | disp.botl = TRUE; |
| 3335 | } |
| 3336 | } |
| 3337 | |
| 3338 | /* decide whether a worn item is covered up by some other worn item, |
| 3339 | used for dipping into liquid and applying grease and takeoff_ok(); |
no outgoing calls
no test coverage detected