genetic engineer attacks
When a genetic engineer polymorphs someone it normally teleports away. Also set mspec_used so that it can't polymorph someone [else] on its next turn, it case of a no-teleport level or it happens to randomly land adjacent to the target.
This commit is contained in:
@@ -3455,7 +3455,8 @@ mhitm_ad_poly(
|
||||
struct monst *magr, struct attack *mattk,
|
||||
struct monst *mdef, struct mhitm_data *mhm)
|
||||
{
|
||||
boolean negated = mhitm_mgc_atk_negated(magr, mdef, FALSE);
|
||||
boolean negated = (mhitm_mgc_atk_negated(magr, mdef, FALSE)
|
||||
|| magr->mspec_used);
|
||||
|
||||
if (magr == &gy.youmonst) {
|
||||
/* uhitm */
|
||||
|
||||
Reference in New Issue
Block a user