monster-creating spell (mis)casts produce god gifts. The exceptions are all natural phenomena treated as monsters: ball lightning, spatial vortices, and fire vortices.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5708 c06c8d41-db1a-0410-9941-cceddc491573
DYFOFUZ7UXOUYTID6UXX6HVU6OAFWYWMTSCG367S6TRLOOK5OXRAC ABQY3PFFBHPOGF4TRKNIV5KOTKZ2IYLAJR362XIKHJMQSYS7TKHQC YF6CE2VBFK6K4V34PKBVYVQUTJRDDDCF2M5RMUGW6V6N2M4SUPLAC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC POP6UTTHSJGDU5NU7ENQJOZVFUHYM63HJ6HLPXDDLK7XFIP4XEIQC AREBCIU2RU2RNHBWD4GARWEBKSL7HDFGDLII22H56OJO2AQUOMLQC KATZLWENEIQMKKWIV4ZLXJ5HFUW6SU5K4ZU6NENBOL4XAAVTDUKAC VBQODM6G5B35WWYGNT36EQDJFVTHMZB6CJWAFP3UQVD6NRUSKJAQC JCWJWGMQIKQGSSFJUQRKNIWW3HBOJSHYDTOPPE5BWOJTIJTDYUTAC void miscast_effect( unsigned int sp_type, int mag_pow, int mag_fail,int force_effect, const char *cause = NULL );
void miscast_effect(unsigned int sp_type, int mag_pow, int mag_fail,int force_effect, const char *cause = NULL);
/* sp_type is the type of the spell* mag_pow is overall power of the spell or effect (i.e. its level)* mag_fail is the degree to which you failed* force_effect forces a certain severity of effect to occur* (set to 100 to avoid forcing.)*/void miscast_effect( unsigned int sp_type, int mag_pow, int mag_fail,int force_effect, const char *cause )
// sp_type: The type of the spell.// mag_pow: The overall power of the spell or effect (i.e. its level).// mag_fail: The degree to which you failed.// force_effect: This forces a certain severity of effect to occur. It// can be disabled by being set to 100.//// If a god is making you miscast, any monsters produced (with a few// exceptions) will count as god gifts.void miscast_effect(unsigned int sp_type, int mag_pow, int mag_fail,int force_effect, const char *cause)