Mild Zombie Apocalypse
When a zombie (or lich) kills a monster in melee without a weapon, the monster can rise few turns later as a zombie. The only creatures that can be zombified are ones that actually have a zombie counterpart monster. A zombie cannot turn a jackal into a zombie, for instance. But it could turn a shopkeeper into a human zombie, or a dwarf king into a dwarf zombie. Zombies will fight with monsters that can be turned into zombies. Originally this was a SliceHack feature, but this is based on xNetHack version of it, with some modifications.
This commit is contained in:
@@ -1485,7 +1485,13 @@ int dieroll;
|
||||
place_monster(mdef, mdef->mx, mdef->my);
|
||||
mdef->mhp = 0;
|
||||
}
|
||||
g.zombify = !mwep && zombie_maker(magr->data)
|
||||
&& ((mattk->aatyp == AT_TUCH
|
||||
|| mattk->aatyp == AT_CLAW
|
||||
|| mattk->aatyp == AT_BITE)
|
||||
&& zombie_form(mdef->data) != NON_PM);
|
||||
monkilled(mdef, "", (int) mattk->adtyp);
|
||||
g.zombify = FALSE; /* reset */
|
||||
if (!DEADMONSTER(mdef))
|
||||
return res; /* mdef lifesaved */
|
||||
else if (res == MM_AGR_DIED)
|
||||
|
||||
Reference in New Issue
Block a user