Home | History | Annotate | Download | only in hack

Lines Matching refs:uwep

87 	else if (uwep == wep)
89 else if (uwep && uwep->cursed)
91 aobjnam(uwep, "are"));
93 if (uwep == 0) {
107 if (uwep->cursed)
109 aobjnam(uwep, "weld"),
110 (uwep->quan == 1) ? "itself" : "themselves"); /* a3 */
112 prinv(uwep);
120 if (!uwep || uwep->olet != WEAPON_SYM)
122 if (uwep->rustfree)
123 pline("Your %s not affected.", aobjnam(uwep, "are"));
125 pline("Your %s!", aobjnam(uwep, "corrode"));
126 uwep->spe--;
135 if (!uwep || uwep->olet != WEAPON_SYM) {
141 if (uwep->otyp == WORM_TOOTH && amount > 0) {
142 uwep->otyp = CRYSKNIFE;
144 uwep->cursed = 0;
147 if (uwep->otyp == CRYSKNIFE && amount < 0) {
148 uwep->otyp = WORM_TOOTH;
152 /* there is a (soft) upper limit to uwep->spe */
153 if (amount > 0 && uwep->spe > 5 && rn2(3)) {
155 aobjnam(uwep, "glow"), plur(uwep->quan));
156 while (uwep) /* let all of them disappear */
157 /* note: uwep->quan = 1 is nogood if unpaid */
158 useup(uwep);
165 aobjnam(uwep, "glow"), color, stime);
166 uwep->spe += amount;
168 uwep->cursed = 0;