diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-29 16:09:35 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-29 16:09:35 +0000 |
commit | f5d7515c3cd305b003f95ac5c636eb0c529a0b9c (patch) | |
tree | efca9d3347f9806a1088a2a90fd5f3d7ba03e2d9 /crawl-ref/source/it_use2.cc | |
parent | 14c07a62dab6301ce6e7613786c584b12be85c80 (diff) | |
download | crawl-ref-f5d7515c3cd305b003f95ac5c636eb0c529a0b9c.tar.gz crawl-ref-f5d7515c3cd305b003f95ac5c636eb0c529a0b9c.zip |
Implement divination miscasts for orange statues, fix silver and orange statues to attack monsters as they attack the player. Also fix clouds not being cleared on level reset in dungeon.cc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8017 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 16ba9dfdd4..2c3714ae77 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -217,7 +217,8 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known ) break; case POT_PARALYSIS: - you.paralyse((2 + random2( 6 + you.duration[DUR_PARALYSIS] )) / factor); + you.paralyse(NULL, + (2 + random2( 6 + you.duration[DUR_PARALYSIS] )) / factor); xom_is_stimulated(64 / factor); break; |