From 3413f575a6c79600ac0aa8ed57afa20fb0fc1bec Mon Sep 17 00:00:00 2001 From: zelgadis Date: Sat, 8 Dec 2007 11:24:48 +0000 Subject: Add "item generations stats" (Ctrl-I) wizard command, which currently only generates stats on items attained via acquirement. Move the acquirement logic of turning non-wearable headgear to wearable headgear from acquirement() to find_acquirement_subtype() so that it will happen before acquirement()'s can_wear_armour() check. The old way of doing it meant that players who couldn't wear helmets/helms had the armour acquirement chance for headgear reduced from the noraml 10% to around 1%. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3022 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/debug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/debug.h') diff --git a/crawl-ref/source/debug.h b/crawl-ref/source/debug.h index 03e9c0353e..a051922bb7 100644 --- a/crawl-ref/source/debug.h +++ b/crawl-ref/source/debug.h @@ -144,6 +144,7 @@ void wizard_interlevel_travel(); void stethoscope(int mwh); void debug_item_scan( void ); +void debug_item_statistics( void ); void debug_get_religion( void ); void debug_change_species( void ); void debug_fight_statistics( bool use_init_defaults, bool defence = false ); -- cgit v1.2.3-54-g00ecf