Nerf unicorn horn
Unicorn horns are just too good. Nerf it in similar way several other variants have done: don't let it restore attribute loss. This makes potion of restore ability more valuable, and the int loss from the (nerfed) mind flayers matter more.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
void strbuf_nl_to_crlf (strbuf_t *)
|
||||
char * nonconst (const char *, char *)
|
||||
int swapbits (int, int, int)
|
||||
UNUSED void shuffle_int_array (int *, int)
|
||||
void shuffle_int_array (int *, int)
|
||||
=*/
|
||||
#ifdef LINT
|
||||
#define Static /* pacify lint */
|
||||
@@ -1302,9 +1302,8 @@ int val, bita, bitb;
|
||||
return (val ^ ((tmp << bita) | (tmp << bitb)));
|
||||
}
|
||||
|
||||
#if 0
|
||||
/* randomize the given list of numbers 0 <= i < count */
|
||||
static void
|
||||
void
|
||||
shuffle_int_array(indices, count)
|
||||
int *indices;
|
||||
int count;
|
||||
@@ -1319,6 +1318,5 @@ int count;
|
||||
indices[iswap] = temp;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*hacklib.c*/
|
||||
|
||||
Reference in New Issue
Block a user