diff options
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 796b75b7e1..52f0b4b3e2 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -2494,6 +2494,15 @@ void describe_spell(spell_type spelled) #endif } + if (you_cannot_memorise(spelled)) + { + description += "$$"; + description += "You cannot memorise or cast this spell because you " + "are a "; + description += lowercase_string(species_name(you.species, 0)); + description += "."; + } + print_description(description); mouse_control mc(MOUSE_MODE_MORE); |