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:
@@ -491,6 +491,8 @@ int how;
|
||||
u.ugrave_arise = PM_WRAITH;
|
||||
else if (mptr->mlet == S_MUMMY && g.urace.mummynum != NON_PM)
|
||||
u.ugrave_arise = g.urace.mummynum;
|
||||
else if (zombie_maker(mptr) && zombie_form(g.youmonst.data) != NON_PM)
|
||||
u.ugrave_arise = zombie_form(g.youmonst.data);
|
||||
else if (mptr->mlet == S_VAMPIRE && Race_if(PM_HUMAN))
|
||||
u.ugrave_arise = PM_VAMPIRE;
|
||||
else if (mptr == &mons[PM_GHOUL])
|
||||
|
||||
Reference in New Issue
Block a user