summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-02-14 17:54:27 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-02-14 17:54:27 +0000
commitb862381d69a9a7ecda98d3f682bba4cd0ca11a9a (patch)
treec25b95dad75c73109ef1983fd3271e8a2121800a /crawl-ref/source/ghost.cc
parent8340939a0e0c9acec3a5e5391b1891b2685b04cb (diff)
downloadcrawl-ref-b862381d69a9a7ecda98d3f682bba4cd0ca11a9a.tar.gz
crawl-ref-b862381d69a9a7ecda98d3f682bba4cd0ca11a9a.zip
Remove the Dig spell
Allowing cheap, infinite digging out of combat is problematic, and with Felids now able to use wands it's possible for them to dig in places where they really need to for whatever reason, without needing the spell to still exist.
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index 103ea2d892..023ff6f6d8 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -840,7 +840,7 @@ void ghost_demon::add_spells()
spells[0] = search_first_list(SPELL_NO_SPELL);
spells[1] = search_first_list(spells[0]);
spells[2] = search_second_list(SPELL_NO_SPELL);
- spells[3] = search_third_list(SPELL_DIG);
+ spells[3] = search_third_list(SPELL_NO_SPELL);
if (spells[3] == SPELL_NO_SPELL)
spells[3] = search_first_list(SPELL_NO_SPELL);
@@ -850,9 +850,6 @@ void ghost_demon::add_spells()
if (spells[4] == SPELL_NO_SPELL)
spells[4] = search_first_list(spells[3]);
- if (_know_spell(SPELL_DIG))
- spells[4] = SPELL_DIG;
-
// Look for Blink or Teleport Self for the emergency slot.
if (_know_spell(SPELL_CONTROLLED_BLINK)
|| _know_spell(SPELL_BLINK))