diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-07-07 21:52:14 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2013-07-07 21:57:24 +0100 |
commit | c81b0c84f0b7272757aa6b40c2561f6a7b452b1d (patch) | |
tree | 0d2cda722efa09f9481103f16fb1243eb91012d3 /crawl-ref/source/spl-selfench.cc | |
parent | dd84641bdd2bbaa575f09797f28e4277ac1a2b78 (diff) | |
download | crawl-ref-c81b0c84f0b7272757aa6b40c2561f6a7b452b1d.tar.gz crawl-ref-c81b0c84f0b7272757aa6b40c2561f6a7b452b1d.zip |
Don't restore MP when forgetting spells via amnesia scroll/ability
Forgetting via book doesn't use it, and it was a weird hidden feature
(even if very occasionally useful in highly complicated emergencies!).
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r-- | crawl-ref/source/spl-selfench.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc index df9d4f40ff..57f7a55e5d 100644 --- a/crawl-ref/source/spl-selfench.cc +++ b/crawl-ref/source/spl-selfench.cc @@ -311,16 +311,8 @@ int cast_selective_amnesia(string *pre_msg) if (pre_msg) mpr(pre_msg->c_str()); - const int ep_gain = spell_mana(spell); del_spell_from_memory_by_slot(slot); - if (ep_gain > 0) - { - inc_mp(ep_gain); - mpr("The spell releases its latent energy back to you as " - "it unravels."); - } - return 1; } |