Make it clear when a leprechaun dodges your attack
It was not obvious what was happening when a leprechaun dodged your attack. Add a message to explicitly spell it out. Code by aosdict.
This commit is contained in:
@@ -145,6 +145,7 @@ sortloot option has been enhanced to improve object ordering; primarily,
|
|||||||
items of undiscovered type come out before items of discovered type
|
items of undiscovered type come out before items of discovered type
|
||||||
within each class or sub-class of objects
|
within each class or sub-class of objects
|
||||||
YAFM when stumbling on an undetected monster while hallucinating
|
YAFM when stumbling on an undetected monster while hallucinating
|
||||||
|
Make it clear when a leprechaun dodges your attack
|
||||||
|
|
||||||
|
|
||||||
Code Cleanup and Reorganization
|
Code Cleanup and Reorganization
|
||||||
|
|||||||
@@ -412,8 +412,10 @@ register struct monst *mtmp;
|
|||||||
&& !mtmp->mconf && mtmp->mcansee && !rn2(7)
|
&& !mtmp->mconf && mtmp->mcansee && !rn2(7)
|
||||||
&& (m_move(mtmp, 0) == 2 /* it died */
|
&& (m_move(mtmp, 0) == 2 /* it died */
|
||||||
|| mtmp->mx != u.ux + u.dx
|
|| mtmp->mx != u.ux + u.dx
|
||||||
|| mtmp->my != u.uy + u.dy)) /* it moved */
|
|| mtmp->my != u.uy + u.dy)) { /* it moved */
|
||||||
|
You("miss wildly and stumble forwards.");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
if (Upolyd)
|
if (Upolyd)
|
||||||
(void) hmonas(mtmp);
|
(void) hmonas(mtmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user