green dragon/iron golem breath

A poison gas breath attack that hits a wall would leave a 1x1 gas
cloud region at that wall spot.

Not always noticeable due to other spots along the zap path leaving
regions that blocked vision.
This commit is contained in:
PatR
2024-09-26 23:29:32 -07:00
parent e9a25a0a1c
commit 9390a844f0
2 changed files with 6 additions and 2 deletions

View File

@@ -5233,8 +5233,10 @@ zap_over_floor(
case ZT_POISON_GAS:
/* poison gas with range 1: green dragon/iron golem breath (AD_DRST);
caller is placing a series of 1x1 clouds along the zap's path */
(void) create_gas_cloud(x, y, 1, 8);
caller is placing a series of 1x1 clouds along the zap's path;
<x,y> for wall locations might be included--reject those */
if (ZAP_POS(lev->typ))
(void) create_gas_cloud(x, y, 1, 8);
break;
case ZT_LIGHTNING: