From a3b90b35f219a194ac3a060f8ceb397244b1a11b Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 10 Nov 2008 19:17:56 +0000 Subject: Fix a few cases where spellbooks didn't have spells in ascending order by level. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7435 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spl-book.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/spl-book.cc') diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index f492d951af..1bcbbabc7a 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -265,10 +265,10 @@ static spell_type spellbook_template_array[NUMBER_SPELLBOOKS][SPELLBOOK_SIZE] = SPELL_NO_SPELL, }, // 22 - Book of Healing -- XXX: not used - {SPELL_CURE_POISON_I, - SPELL_LESSER_HEALING, - SPELL_GREATER_HEALING, + {SPELL_LESSER_HEALING, + SPELL_CURE_POISON_I, SPELL_PURIFICATION, + SPELL_GREATER_HEALING, SPELL_NO_SPELL, SPELL_NO_SPELL, SPELL_NO_SPELL, @@ -614,17 +614,17 @@ static spell_type spellbook_template_array[NUMBER_SPELLBOOKS][SPELLBOOK_SIZE] = SPELL_NO_SPELL, SPELL_NO_SPELL, }, - // 54 - Rod of destruction (iron, fireball, lightning) - {SPELL_BOLT_OF_IRON, + // 54 - Rod of destruction (lightning, iron, fireball) + {SPELL_LIGHTNING_BOLT, + SPELL_BOLT_OF_IRON, SPELL_FIREBALL, - SPELL_LIGHTNING_BOLT, SPELL_NO_SPELL, SPELL_NO_SPELL, SPELL_NO_SPELL, SPELL_NO_SPELL, SPELL_NO_SPELL, }, - // 55 - Rod of destruction (bolts) + // 55 - Rod of destruction (inaccuracy, magma, cold) {SPELL_BOLT_OF_INACCURACY, SPELL_BOLT_OF_MAGMA, SPELL_BOLT_OF_COLD, -- cgit v1.2.3-54-g00ecf