From ccf245885f0581c4b5f7ebe5248cf5a48b30349e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 8 Oct 2007 19:26:19 +0000 Subject: Applying dolorous' latest patch (1806451), mostly correcting typos in the comments and changing Xom stimulation from 256 to 255 (as the function apparently cannot handle that). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2384 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/item_use.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/item_use.cc') diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index ed073cc415..d3fa865f49 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -601,7 +601,7 @@ void wield_effects(int item_wield_2, bool showMsgs) xom_is_stimulated(128); miscast_effect( SPTYP_TRANSLOCATION, 9, 90, 100, was_known ? "distortion wield" : - "uknowning distortion wield"); + "unknowing distortion wield"); break; case SPWPN_SINGING_SWORD: @@ -2928,7 +2928,7 @@ void zap_wand(void) { // Xom loves it when you use a Wand of Random Effects and // there is a dangerous monster nearby... - xom_is_stimulated(256); + xom_is_stimulated(255); } } @@ -2978,7 +2978,7 @@ void zap_wand(void) { // Xom loves it when you use an unknown wand and there is a // dangerous monster nearby... - xom_is_stimulated(256); + xom_is_stimulated(255); } you.turn_is_over = true; @@ -3100,7 +3100,7 @@ void drink(void) { // Xom loves it when you drink an unknown potion and there is // a dangerous monster nearby... - xom_is_stimulated(256); + xom_is_stimulated(255); } dec_inv_item_quantity( item_slot, 1 ); @@ -3912,7 +3912,7 @@ void read_scroll(void) { // Xom loves it when you read an unknown scroll and there is // a dangerous monster nearby... - xom_is_stimulated(256); + xom_is_stimulated(255); } } // end read_scroll() @@ -4001,7 +4001,7 @@ void use_randart(const item_def &item) { // Xom loves it when you use an unknown random artefact and // there is a dangerous monster nearby... - xom_is_stimulated(256); + xom_is_stimulated(255); } } -- cgit v1.2.3-54-g00ecf