From a28741dd2b29142210f64325cb2cb87c806d3409 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 20 Jul 2009 21:18:13 +0000 Subject: Fix 2822832: temporary brands not being removed when thrown with LRET_FUMBLED plus: thrown weapon permabrand being removed when DUR_WEAPON_BRAND is active plus: double messaging of "You are now empty-handed." Fix 2810517: Added a pre-ability requirements check that handles Lugonu's enter/exit abyss, berserking, recite, breath attacks and some more. If the requirements aren't met, the check fails before the success check, thus no turn is wasted. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10360 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/abyss.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/abyss.h') diff --git a/crawl-ref/source/abyss.h b/crawl-ref/source/abyss.h index 7ecebd9e82..6fad89e955 100644 --- a/crawl-ref/source/abyss.h +++ b/crawl-ref/source/abyss.h @@ -14,6 +14,7 @@ void generate_abyss(); void area_shift(); void abyss_teleport(bool new_area); void save_abyss_uniques(); +bool is_level_incorruptible(); bool lugonu_corrupt_level(int power); void run_corruption_effects(int duration); -- cgit v1.2.3-54-g00ecf