diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-08-13 20:36:56 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-08-13 20:36:56 +0000 |
commit | 309c246160be3d3cdc6c39fcf089e8e3ad3a622e (patch) | |
tree | af370bb522302bab481f7fa1fdf924e5549ddb2f /crawl-ref/source/spl-cast.cc | |
parent | e9181a121c71a972c33ecc9420234672cd88689f (diff) | |
download | crawl-ref-309c246160be3d3cdc6c39fcf089e8e3ad3a622e.tar.gz crawl-ref-309c246160be3d3cdc6c39fcf089e8e3ad3a622e.zip |
Remove four scroll-duplicate spells: Detect Curse, Remove Curse,
Magic Mapping, and Identify. [*]
This leaves six spells in the Divinations school, of which Forescry and
See Invisible could easily be moved to other schools; Detect Secret
Doors could be removed; and Detect Traps/Items/Creatures should be moved
to some kind of misc. item with charges (whether rechargeable or not). I
didn't want to remove those until the replacement code is in.
I added a hack to make sure the probabilities of Xom "casting" magic
mapping remain the same. That will have to be repaired later,
preferrably by handling it together with Detect Items/Creatures as a
separate Xom effect.
Shifts spells in saves and bones files.
*) This is different from the recent addition of the scroll of silence
in that these four spells pose no risk whatsoever and can be spammed
safely, making even the food and magic costs negligible.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10542 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index f549179ac8..adf96aa5ff 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -2067,18 +2067,6 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) break; // Utility spells. - case SPELL_DETECT_CURSE: - detect_curse(false); - break; - - case SPELL_REMOVE_CURSE: - remove_curse(false); - break; - - case SPELL_IDENTIFY: - identify(powc); - break; - case SPELL_DETECT_SECRET_DOORS: if (_can_cast_detect()) cast_detect_secret_doors(powc); @@ -2120,16 +2108,6 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) break; } - case SPELL_MAGIC_MAPPING: - if (you.level_type == LEVEL_PANDEMONIUM) - mpr("Your Earth magic cannot map Pandemonium."); - else - { - powc = stepdown_value( powc, 10, 10, 40, 45 ); - magic_mapping( 5 + powc, 50 + random2avg( powc * 2, 2 ), false ); - } - break; - case SPELL_PROJECTED_NOISE: project_noise(); break; |