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:
@@ -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()
|
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
|
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
|
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
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
+1
-1
@@ -79,7 +79,7 @@ use_saddle(otmp)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
ptr = mtmp->data;
|
ptr = mtmp->data;
|
||||||
if (touch_petrifies(ptr) && !Stone_resistance) {
|
if (touch_petrifies(ptr) && !uarmg && !Stone_resistance) {
|
||||||
char kbuf[BUFSZ];
|
char kbuf[BUFSZ];
|
||||||
|
|
||||||
You("touch %s.", mon_nam(mtmp));
|
You("touch %s.", mon_nam(mtmp));
|
||||||
|
|||||||
Reference in New Issue
Block a user