handedness fix
This commit is contained in:
+6
-4
@@ -482,12 +482,14 @@ steal(struct monst* mtmp, char* objnambuf)
|
|||||||
ostuck = ((otmp->cursed && otmp->owornmask)
|
ostuck = ((otmp->cursed && otmp->owornmask)
|
||||||
/* nymphs can steal rings from under
|
/* nymphs can steal rings from under
|
||||||
cursed weapon but animals can't */
|
cursed weapon but animals can't */
|
||||||
|| (otmp == uright && welded(uwep))
|
|| (otmp == RING_ON_PRIMARY && welded(uwep))
|
||||||
|| (otmp == uleft && welded(uwep) && bimanual(uwep)));
|
|| (otmp == RING_ON_SECONDARY && welded(uwep)
|
||||||
|
&& bimanual(uwep)));
|
||||||
|
|
||||||
if (ostuck || can_carry(mtmp, otmp) == 0) {
|
if (ostuck || can_carry(mtmp, otmp) == 0) {
|
||||||
static const char *const how[] = { "steal", "snatch", "grab",
|
static const char *const how[] = {
|
||||||
"take" };
|
"steal", "snatch", "grab", "take"
|
||||||
|
};
|
||||||
cant_take:
|
cant_take:
|
||||||
pline("%s tries to %s %s%s but gives up.", Monnambuf,
|
pline("%s tries to %s %s%s but gives up.", Monnambuf,
|
||||||
ROLL_FROM(how),
|
ROLL_FROM(how),
|
||||||
|
|||||||
Reference in New Issue
Block a user