mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-05 12:15:26 +01:00
Derived undead become marked as clones when they revive
This commit is contained in:
parent
a6e7f3051b
commit
017b8cc203
2 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,7 @@ experience(mtmp, nk) /* return # of exp points for mtmp after nk killed */
|
|||
if(is_fern_spore(mtmp->data)) return 0;
|
||||
|
||||
/* zombies give no experience (resurecting and infecting)*/
|
||||
if(is_derived_undead_mon(mtmp)) return 0;
|
||||
if(is_derived_undead_mon(mtmp) && mtmp->mclone) return 0;
|
||||
|
||||
tmp = 1 + mtmp->m_lev * mtmp->m_lev;
|
||||
|
||||
|
|
|
@ -1164,6 +1164,7 @@ start_corpse_timeout(body)
|
|||
|
||||
} else if (attchmon && attchmon->mfaction == ZOMBIFIED && !body->norevive) {
|
||||
// pline("setting up zombie revival for %s", xname(body));
|
||||
attchmon->mclone = 1;
|
||||
for (age = 2; age <= TAINT_AGE; age++)
|
||||
if (!rn2(TROLL_REVIVE_CHANCE)) { /* zombie revives */
|
||||
action = REVIVE_MON;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue