putting a saddle on a cockatrice

If you try to put a saddle on a cockatrice, you turn to stone,
even if wearing gloves.  This seemed inconsistent with other cases,
and I couldn't think of a reason why you'd touch the cockatrice with
another body part, so I added the uarmg test.
This commit is contained in:
cohrs
2003-09-30 18:46:49 +00:00
parent 0594b9b621
commit 8a4816f775
2 changed files with 2 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ casting stone-to-flesh on self while wielding a statue caused problems
add tab support to menu strings for control-x minimal_enlightenment()
if the monster that a statue represents is not made of flesh then don't
allow stone_to_flesh to animate it, make a meatball instead
attempting to saddle a cockatrice while wearing gloves shouldn't stone you
Platform- and/or Interface-Specific Fixes

View File

@@ -79,7 +79,7 @@ use_saddle(otmp)
return 1;
}
ptr = mtmp->data;
if (touch_petrifies(ptr) && !Stone_resistance) {
if (touch_petrifies(ptr) && !uarmg && !Stone_resistance) {
char kbuf[BUFSZ];
You("touch %s.", mon_nam(mtmp));