| 1827 | } |
| 1828 | |
| 1829 | staticfn void |
| 1830 | seffect_amnesia(struct obj **sobjp) |
| 1831 | { |
| 1832 | struct obj *sobj = *sobjp; |
| 1833 | boolean sblessed = sobj->blessed; |
| 1834 | |
| 1835 | gk.known = TRUE; |
| 1836 | forget((!sblessed ? ALL_SPELLS : 0)); |
| 1837 | if (Hallucination) /* Ommmmmm! */ |
| 1838 | Your("mind releases itself from mundane concerns."); |
| 1839 | else if (!strncmpi(svp.plname, "Maud", 4)) |
| 1840 | pline("As your mind turns inward on itself," |
| 1841 | " you forget everything else."); |
| 1842 | else if (rn2(2)) |
| 1843 | pline("Who was that Maud person anyway?"); |
| 1844 | else |
| 1845 | pline("Thinking of Maud you forget everything else."); |
| 1846 | exercise(A_WIS, FALSE); |
| 1847 | } |
| 1848 | |
| 1849 | staticfn void |
| 1850 | seffect_fire(struct obj **sobjp) |