myers@uwmacc.UUCP (Latitudinarian Lobster) (06/04/85)
Someone pointed out earlier that gloves could be removed over cursed weapons, but that they could not be put back on. Here's a context diff for the fix (with an older fix included): *** hack.do_wear.c.old Fri Apr 26 13:47:08 1985 --- hack.do_wear.c Mon Jun 3 20:21:42 1985 *************** *** 26,31 pline("You can't take that off."); return(0); } (void) armoroff(otmp); return(1); } --- 26,35 ----- pline("You can't take that off."); return(0); } + else if( (otmp->otyp == PAIR_OF_GLOVES) && uwep && uwep->cursed) { + pline("Your gloves seem stuck to your weapon and hands."); + return(0); + } (void) armoroff(otmp); return(1); } *************** *** 227,232 impossible("Strange... I didnt know you had that ring."); u.uprops[PROP(obj->otyp)].p_flgs &= ~mask; switch(obj->otyp) { case RIN_LEVITATION: if(!Levitation) { /* no longer floating */ float_down(); --- 231,245 ----- impossible("Strange... I didnt know you had that ring."); u.uprops[PROP(obj->otyp)].p_flgs &= ~mask; switch(obj->otyp) { + /* Bad luck if the player is in hell... --jgm */ + case RIN_FIRE_RESISTANCE: + if (!Fire_resistance && dlevel >= 30) { + pline("The flames of Hell burn you to a crisp."); + killer = "stupidity in hell"; + done("burned"); + } + break; + /* end jgm */ case RIN_LEVITATION: if(!Levitation) { /* no longer floating */ float_down(); -- Jeff Myers The views above may or may not University of Wisconsin-Madison reflect the views of any other Madison Academic Computing Center person or group at UW-Madison. ARPA: uwmacc!myers@wisc-rsch.ARPA UUCP: ..!{harvard,ucbvax,allegra,heurikon,ihnp4,seismo}!uwvax!uwmacc!myers BitNet: MYERS at MACCWISC