oil burning secret door described as spell #771

Closes #771
This commit is contained in:
nhmall
2022-05-23 13:25:12 -04:00
parent ced5c2a92f
commit 0e9f53a624

View File

@@ -4830,6 +4830,10 @@ zap_over_floor(xchar x, xchar y, int type, boolean *shopdamage,
if (!exploding_wand_typ) {
if (abs(type) < ZT_SPELL(0))
zapverb = "bolt"; /* wand zap */
/* kludge check:
ZT_SPELL(ZT_FIRE) = ZT_SPELL(AD_FIRE-1) = 10+(2-1) = 11 */
else if (type == (ZT_SPELL(AD_FIRE - 1)))
yourzap = FALSE; /* and leave zapverb as "blast" */
else if (abs(type) < ZT_BREATH(0))
zapverb = "spell";
}