Thread View: net.games.hack
1 messages
1 total messages
Started by Latitudinarian Lobster
Tue, 04 Jun 1985 01:48
Hack 1.0.2 bug fix for glove removal.
Author: Latitudinarian Lobster
Date: Tue, 04 Jun 1985 01:48
Date: Tue, 04 Jun 1985 01:48
59 lines
2402 bytes
2402 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads