git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2521 c06c8d41-db1a-0410-9941-cceddc491573
EMZKIUVF6DACSA7C24CHXRQ56JGLSB3MHTCDZSRBXPMOTZNLHTQQC // randarts are usually about 20x worse than running around invisible// or hasted.. this seems OK.added_contamination += random2(1 + scan_randarts(RAP_MUTAGENIC));
if (const int randart_glow = scan_randarts(RAP_MUTAGENIC)){// Reduced randart glow. Note that one randart will contribute// 2 - 5 units of glow to randart_glow. A randart with a mutagen// index of 2 does about 0.58 points of contamination per turn.// A randart with a mutagen index of 5 does about 0.7 points of// contamination per turn.const int mean_glow = 500 + randart_glow * 40;const int actual_glow = mean_glow / 2 + random2(mean_glow);added_contamination += div_rand_round(actual_glow, 1000);}