(1) Use diminishing returns for passive training depending on skill level. Below skill level 2, chances are unchanged; at level 2 chances are 2/3 of that, and at level 3 at 1/3. From level 4 onwards, Stealth cannot be trained by waiting anymore.
(2) Active stealth training only has a 1% chance (instead of 5%) if you're sneaking around monsters while invisible (and the monster cannot see you).
Add yet another function for blood potions - I sure hope this works when I eventually get around to actually use them.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4178 c06c8d41-db1a-0410-9941-cceddc491573
2O3C3MTT2ZBYIFGPJ4MF5R4AXBYUHOEN62KAUWFWF6JWHIIVLRNQC I5MVOMOSRAOJNDYY2VUQHZJ6CSMUF6DXFT6Z5K2I5HELD47U6WAAC VXSORUQOM2VZA4CAZDC6KPAY373NQIN3UT7CXQXTRCYXO2WM62DAC SWT4O2TCOAQOVFA6WRA7MCU3KMTMJWFEMIHO64N4PWL5FNHDPADAC J6APXOT4QOGQFONWB7G546VTVF6QG42HVOROMHF7YBDJPR4K26OAC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC OWERGKLVPNPGIIS23FZ7ZDOBWUIXCKYAFG3URXU75JAUDX3N5ENAC HH3HFWVXABJ4IRMN22PPJCREMULZSN6DA7VYKOGECGMNUQTZ5QNQC JAYS2VMYWPH2YKIDWEXW2NOK4ATTIXTGZTXUVDDIQGCXLB5W4OUQC SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC WT66JDIRTLLP37SHTV4GI3V64JFJ4D25LNRLGCHFG6CLEFKJ3QGQC 25CH7HH4LKXFIZ75YNMXS3TSXO6O27DYSOPLOD45K4OCNFWLS4LQC KQNIGKATHT4YSPJFPJGIGPD6VNR5B753SE2JN2LCXZZJNHCGY3DQC GQL5SIGBHLU3FMCE54XVGLRY5AZHRM6DUEB722REA2DPLGJSN6EQC EFWEYIB2R3DPD3JWIPU6LS6SFLPMYN7J7X4GBZR7DJWKHJ3UELSAC HIRKGUMNJPWKSVTR6TVBPD3MWNA63CEHCLCIPWEMGDFHVB3NPLDQC // if we got here nothing was found
// entire stack is gone, rotted or coagulated.// -> change potions to coagulated typeif (rot_count + coag_count == blood.quantity){ASSERT(timer.empty());// update subtypeblood.sub_type = POT_BLOOD_COAGULATED;item_colour(blood);// re-fill vectorlong val;while (!age_timer.empty()){val = age_timer[age_timer.size() - 1];age_timer.pop_back();timer.push_back(val);}dec_mitm_item_quantity(blood.link, rot_count);ASSERT(timer.size() == blood.quantity);}