diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-28 06:11:16 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-28 06:11:16 +0000 |
commit | 0be145f708e49524707f5f046082b55b1d73de6e (patch) | |
tree | b7471a7bc4707d3c84a802baf607b52e3d9efe27 /crawl-ref/source/abl-show.cc | |
parent | 0d90fe40bb12d5ab66e7d1a2c4af950b3a697995 (diff) | |
download | crawl-ref-0be145f708e49524707f5f046082b55b1d73de6e.tar.gz crawl-ref-0be145f708e49524707f5f046082b55b1d73de6e.zip |
Rework Zin's Revitalisation so that it remembers which step it was on
after being used. Note that there is currently no check for its being
used in succession yet.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4731 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 377477017a..16ff1479a9 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -1370,8 +1370,7 @@ static bool _do_ability(const ability_def& abil) case ABIL_ZIN_REVITALISATION: { - int result = cast_revitalisation(1 + (you.skills[SK_INVOCATIONS] / 4), - random2(3)); + int result = cast_revitalisation(1 + (you.skills[SK_INVOCATIONS] / 4)); if (result > 0) exercise(SK_INVOCATIONS, 2 + random2(result)); break; |