diff options
author | Neil Moore <neil@s-z.org> | 2013-07-30 16:29:37 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-07-30 16:29:37 -0400 |
commit | c67cb32cf693618954cf9a0211d99e07e5ed05b4 (patch) | |
tree | b168eb121d4ae89e233627fb5852c8cb1d46b5a3 /crawl-ref/source/spl-book.cc | |
parent | 83314a393d6b1ce958e77fe613aedebf71d2a732 (diff) | |
download | crawl-ref-c67cb32cf693618954cf9a0211d99e07e5ed05b4.tar.gz crawl-ref-c67cb32cf693618954cf9a0211d99e07e5ed05b4.zip |
Forbid Cure Poison for Gargoyles.
They are completely immune to poison, even across changes of form.
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r-- | crawl-ref/source/spl-book.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 27119abdc4..54c5db7e9e 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -549,6 +549,9 @@ bool you_cannot_memorise(spell_type spell, bool &form) form = true; } + if (you.species == SP_GARGOYLE && spell == SPELL_CURE_POISON) + rc = true, form = false; + if (you.species == SP_DEEP_DWARF && spell == SPELL_REGENERATION) rc = true, form = false; |