| 792 | } |
| 793 | |
| 794 | staticfn void |
| 795 | peffect_enlightenment(struct obj *otmp) |
| 796 | { |
| 797 | if (otmp->cursed) { |
| 798 | gp.potion_unkn++; |
| 799 | You("have an uneasy feeling..."); |
| 800 | exercise(A_WIS, FALSE); |
| 801 | } else { |
| 802 | if (otmp->blessed) { |
| 803 | (void) adjattrib(A_INT, 1, FALSE); |
| 804 | (void) adjattrib(A_WIS, 1, FALSE); |
| 805 | } |
| 806 | do_enlightenment_effect(); |
| 807 | } |
| 808 | } |
| 809 | |
| 810 | staticfn void |
| 811 | peffect_invisibility(struct obj *otmp) |
no test coverage detected