From 520d68077bf669ded9ec54a1811c0ce04dd68e28 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 18 Jul 2008 13:12:08 +0000 Subject: Extend Enne's blood potion destruction fix to potions on the floor. Fix monsters "upgrading" their ammunition even if its brand cancels out with the launcher. Also make sure monsters aren't generated with launcher/ammo with opposing brands. Fix 2021310: no longer disallow blowgun acquirement. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6601 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/decks.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/decks.cc') diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc index 1328c4e0d3..ed25476877 100644 --- a/crawl-ref/source/decks.cc +++ b/crawl-ref/source/decks.cc @@ -1681,7 +1681,7 @@ static bool _damaging_card(card_type card, int power, deck_rarity_type rarity) card_name(card)); if (spell_direction(target, beam, DIR_NONE, TARG_ENEMY, true, true, info) - && player_tracer(ztype, power/4, beam)) + && player_tracer(ZAP_DEBUGGING_RAY, power/4, beam)) { zapping(ztype, random2(power/4), beam); } -- cgit v1.2.3-54-g00ecf