mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-07-30 01:12:25 +01:00
Fix dmonsfree error
Example: magr `e` uses its `AT_EXPL` attack to kill mdef `e`, whose `AT_BOOM` attack causes an explosion that kills magr before xexplodey kills magr.
This commit is contained in:
parent
2123b0337f
commit
e25fe10233
1 changed files with 4 additions and 1 deletions
|
@ -10419,7 +10419,10 @@ expl_common:
|
|||
result |= MM_AGR_STOP;
|
||||
}
|
||||
else {
|
||||
mondead(magr);
|
||||
/* avoid double-killing magr, if it was slain by retaliatory damage from its attack, perhaps */
|
||||
if (!DEADMONSTER(magr))
|
||||
mondead(magr);
|
||||
|
||||
if (*hp(magr) > 0)
|
||||
result |= MM_AGR_STOP;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue