Remove non-harmless clouds when laying down sanctuary, and don't allow non-harmless clouds to speard into sanctuary or be placed on it.
Don't let explosions spread into sanctuary (probably needs a flavour message).
If a giant spore or ball lightning somehow explodes while in sanctuary then give a message about Zin containing it's explosion, and skip the call to explosion().
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6284 c06c8d41-db1a-0410-9941-cceddc491573
3KRKUK3HCBBZWS5MXFAMM4R5PGWWTSURBSFXEEZPRRCFAZ5EZTCAC
ATDAT2AONG2BDLZFBJZB4WVNRUFQAU7RDIVUBAZ6STAV62NX5R4AC
S34LKQDIQJLIWVIPASOJBBZ6ZCXDHP5KPS7TRBZJSCDRVNCLK6UAC
HYXNSIBI3LPNH7VATDEUXYEONKKT3VPDTVDW43ZSTXISQY5DYH7AC
DK362IHKSDADMUPD35NOTKM4WESQM37KG2PNOJRV2FGELDWULYPQC
CGYTZT5QWIEGYKUOLOK7MFXSLJKLYRZONER5ZCDZO5XYWSLG475QC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
F74MBC7DRLOGYYZL3X62PYJXQZL6R2NEYC4NY2ZNFHJQ24RUB5HQC
IKMOVE2BXQASBPYXR736EFKBEEWQ6KMOXTJN2OWAMVX4JFNO5MJAC
JDZCDMUCQ7VENYVLB62KQWUIRGABID37OKATOKCBUPCDL7W75NPAC
SRYIUTTRZYQDYPLLXYKEHMYWC4EGBYPOT65M2HZEIGFG6SDMV7SQC
4OV4JZ6NWQ2ZK4LEWCUWALLB3BVANJJ2EMLHC5LJLA5WYSP25OIQC
7RE7J5DEMEO52RKOE77JMEXKZ7ORJJMCRGKLC6NHYDJW66UKYE4AC
XRZPPYWPWUOM4SFNI6BHKH2UKJQNLKOV6Y7XIEPEZXE5QYRT26PAC
WKX3GD3EAZUV5PV5EXVB7CFYJOGMIOM3LPPPUAW3HTS2EFPF2EPAC
NVSFIV2ZKP44XHCSCXG6OZVGL67OIFINC34J2EMKTA4KULCERUEAC
SVY2PTCLXR3KNPQAWXVXTTGCC5DR334HOAKHYO3VDDRWM2BWMALAC
ZP2KE7A2LE7Z2S7AC45WE4CXDSEVDTWIMV2EM4IBUKXYJIDU6R7QC
const int radius = 5;
const int pattern = random2(4);
int count = 0;
int monster = NON_MONSTER;
monsters *mon = NULL;
const int radius = 5;
const int pattern = random2(4);
int scare_count = 0;
int cloud_count = 0;
monsters *seen_mon = NULL;
// Check to see that monster is actually fleeing,
// since plants can't flee.
if (mons_is_fleeing(mon) && you.can_see(mon))
count++;
// Check to see that monster is actually fleeing,
// since plants can't flee.
if (mons_is_fleeing(mon) && you.can_see(mon))
{
scare_count++;
seen_mon = mon;
if (count == 1)
simple_monster_message(mon, " turns to flee the light!");
else if (count > 0)
if (scare_count == 1 && seen_mon != NULL)
simple_monster_message(seen_mon, " turns to flee the light!");
else if (scare_count > 0)