B14014: soft hats and piercers
Soft "helmets" don't protect against falling rocks, but did protect against piercers. Update the checks so only hard (metallic) helmets provide this protection. The same report quibbled about using the word "helmet" for soft head coverings. This patch does not address that quibble.
This commit is contained in:
@@ -1493,7 +1493,7 @@ stillinwater:;
|
||||
Amonnam(mtmp), ceiling(u.ux,u.uy));
|
||||
if(mtmp->mtame) /* jumps to greet you, not attack */
|
||||
;
|
||||
else if(uarmh)
|
||||
else if(uarmh && is_metallic(uarmh))
|
||||
pline("Its blow glances off your helmet.");
|
||||
else if (u.uac + 3 <= rnd(20))
|
||||
You("are almost hit by %s!",
|
||||
|
||||
Reference in New Issue
Block a user