Hit and wake sleeping monster makes it growl
Unless you kill the monster with one hit, it'll wake up cranky and make noise - waking up other sleeping monsters. This was a bit tricky with all the message sequencing; I tested all the hit/throw/fire/zap combos I could think of, and it took a while to get things looking right.
This commit is contained in:
@@ -411,7 +411,8 @@ explode(
|
||||
* from inside their engulfer. */
|
||||
if (!(u.uswallow && !gc.context.mon_moving))
|
||||
(void) zap_over_floor(xx, yy, type,
|
||||
&shopdamage, exploding_wand_typ);
|
||||
&shopdamage, FALSE,
|
||||
exploding_wand_typ);
|
||||
|
||||
mtmp = m_at(xx, yy);
|
||||
if (!mtmp && u_at(xx, yy))
|
||||
|
||||
Reference in New Issue
Block a user