Make vrocks emit a poison cloud when they flee

This commit is contained in:
Pasi Kallinen
2021-12-25 10:47:20 +02:00
parent 6c0bc4fe25
commit 4b525374d0
4 changed files with 10 additions and 2 deletions

View File

@@ -368,6 +368,12 @@ monflee(
pline("%s turns to flee.", Monnam(mtmp));
}
}
if (mtmp->data == &mons[PM_VROCK] && !mtmp->mspec_used) {
mtmp->mspec_used = 75 + rn2(25);
(void) create_gas_cloud(mtmp->mx, mtmp->my, 5, 8);
}
mtmp->mflee = 1;
}
/* ignore recently-stepped spaces when made to flee */