diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-27 17:04:31 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-06-27 17:04:31 +0000 |
commit | 1be101fd1fc43a252cdc4debf475edf0c6dba81b (patch) | |
tree | 13e5c780e21268c06bb28c48994f934e906ee62e /crawl-ref/source/abl-show.cc | |
parent | 39e1fb93fe8332c69e55c4364d28091a02d52ad5 (diff) | |
download | crawl-ref-1be101fd1fc43a252cdc4debf475edf0c6dba81b.tar.gz crawl-ref-1be101fd1fc43a252cdc4debf475edf0c6dba81b.zip |
Apply patch by Adam Borowski, introducing new unique enchantress Kirke.
This includes a new transformation TRAN_PIG that the player can not end
at will but rather will have to time out. Pigs (or rather hogs) are fast
but cannot use any equipment except amulets, or cast spells.
If the transformation would cause death by stat loss (due to equipment
loss) the player is paralysed instead.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10061 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index 01bf48e49c..d0f3c3624a 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -2164,7 +2164,7 @@ std::vector<talent> your_talents(bool check_confused) if (player_mutation_level(MUT_SMITE)) _add_talent(talents, ABIL_BOLT_OF_DRAINING, check_confused); - if (you.duration[DUR_TRANSFORMATION]) + if (you.duration[DUR_TRANSFORMATION] && you.attribute[ATTR_TRANSFORMATION]!=TRAN_PIG) _add_talent(talents, ABIL_END_TRANSFORMATION, check_confused); if (player_mutation_level(MUT_BLINK)) |