Protection from shape changers and the Wizard

This commit is contained in:
Pasi Kallinen
2023-03-19 13:01:44 +02:00
parent f3d457dbd4
commit 083676e21b
2 changed files with 5 additions and 2 deletions

View File

@@ -1121,6 +1121,7 @@ feedback if a named, shape-shifted vampire reverted to original shape rather
adjust archeologist and valkyrie starting intrinsics
once per game if receiving killing blow from near-full hp, leave 1 hp
spell of knock can knock back small monsters
protection from shape changers prevents the Wizard from mimicking monsters
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository

View File

@@ -496,8 +496,10 @@ clonewiz(void)
(void) add_to_minv(mtmp2,
mksobj(FAKE_AMULET_OF_YENDOR, TRUE, FALSE));
}
mtmp2->m_ap_type = M_AP_MONSTER;
mtmp2->mappearance = wizapp[rn2(SIZE(wizapp))];
if (Protection_from_shape_changers) {
mtmp2->m_ap_type = M_AP_MONSTER;
mtmp2->mappearance = wizapp[rn2(SIZE(wizapp))];
}
newsym(mtmp2->mx, mtmp2->my);
}
}