From 8b4814cda94ce0ba5d627b4ae572077dcf55ccda Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 6 Jun 2008 12:54:36 +0000 Subject: Fix 1986252: double "Blech! You need xy!" message Fix 1966204: make non-amphibious undead capable of drowning or the equivalent thereof When you see a weapon with the returning ego return (to you or a monster) set the properties known along with the brand (because artefacts can't be id'd by throwing alone, anyway). This helps alleviate BR 1958616, but doesn't solve the problem with the curse status being unknown. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5499 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/beam.cc') diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 7727b70f7d..870fc2bc59 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -2685,7 +2685,7 @@ bool curare_hits_monster( const bolt &beam, return (mondied); } -// actually poisons a monster (w/ message) +// Actually poisons a monster (w/ message). bool poison_monster( monsters *monster, kill_category from_whom, int levels, @@ -2702,8 +2702,8 @@ bool poison_monster( monsters *monster, monster->add_ench( mon_enchant(ENCH_POISON, levels, from_whom) ); const mon_enchant new_pois = monster->get_ench(ENCH_POISON); - // actually do the poisoning - // note: order important here + // Actually do the poisoning. + // Note: order important here. if (verbose && new_pois.degree > old_pois.degree) { simple_monster_message( monster, @@ -2711,14 +2711,14 @@ bool poison_monster( monsters *monster, : " looks even sicker." ); } - // finally, take care of deity preferences + // Finally, take care of deity preferences. if (from_whom == KC_YOU) did_god_conduct( DID_POISON, 5 + random2(3) ); return (new_pois.degree > old_pois.degree); } -// actually napalms a monster (w/ message) +// Actually napalms a monster (w/ message). void _sticky_flame_monster( int mn, kill_category who, int levels ) { monsters *monster = &menv[mn]; -- cgit v1.2.3-54-g00ecf