Steam vortices leave steam clouds behind

Code via xnethack by copperwater <aosdict@gmail.com>
This commit is contained in:
Pasi Kallinen
2023-10-01 20:30:50 +03:00
parent 412a996da8
commit cf0eb8dfa0
3 changed files with 6 additions and 0 deletions

View File

@@ -755,6 +755,8 @@ dochug(register struct monst* mtmp)
/* Hezrous create clouds of stench. This does not cost a move. */
if (mtmp->data == &mons[PM_HEZROU]) /* stench */
create_gas_cloud(mtmp->mx, mtmp->my, 1, 8);
else if (mtmp->data == &mons[PM_STEAM_VORTEX] && !mtmp->mcan)
create_gas_cloud(mtmp->mx, mtmp->my, 1, 0); /* harmless vapor */
/* A killer bee may eat honey in order to turn into a queen bee,
costing it a move. */