From 5a806811128416a0c67409e137c929873c28cd7a Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Sat, 7 Jun 2008 21:32:07 +0000 Subject: Nerf damage of the bat transformation. Reduced from 2 + skill(unarmed_combat)/3 to 2 + rnd(skill(unarmed_combat)/5 + 1) Also replace the menu_colour_prefix colouring for prompts and the like to use message_colour instead, so those "msg" abbreviations in food_colouring.txt actually have an effect now, and players can disable colouring of prompts etc. (respects channels) while leaving it on in the inventory. I'm leaving the menu_colour_prefix function in for now, in case it can be used somewhere else. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5558 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/directn.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/directn.cc') diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 9f80ac29e4..02f3bd766c 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -1166,14 +1166,14 @@ bool in_los(int x, int y) static bool find_monster( int x, int y, int mode, bool need_path, int range = -1) { - // target the player for friendly and general spells + // Target the player for friendly and general spells. if ((mode == TARG_FRIEND || mode == TARG_ANY) && x == you.x_pos && y == you.y_pos) { return (true); } - // don't target out of range + // Don't target out of range. if (!_is_target_in_range(x, y, range)) return (false); -- cgit v1.2.3-54-g00ecf