Make hero polyed into fog cloud emit clouds
Also prevent cloud creation giving a message, if it was a single cloud on hero and deals no damage.
This commit is contained in:
@@ -1016,12 +1016,7 @@ movemon_singlemon(struct monst *mtmp)
|
||||
if (mon_offmap(mtmp))
|
||||
return FALSE;
|
||||
|
||||
if (mtmp->data == &mons[PM_FOG_CLOUD]) {
|
||||
NhRegion *reg = visible_region_at(mtmp->mx, mtmp->my);
|
||||
|
||||
if (!reg)
|
||||
create_gas_cloud(mtmp->mx, mtmp->my, 1, 0); /* harmless vapor */
|
||||
}
|
||||
m_everyturn_effect(mtmp);
|
||||
|
||||
/* Find a monster that we have not treated yet. */
|
||||
if (mtmp->movement < NORMAL_SPEED)
|
||||
|
||||
Reference in New Issue
Block a user