diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-07 23:45:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-07 23:45:43 +0000 |
commit | a93993cc7b9e26ee669979d00ed34c3649e2b4ec (patch) | |
tree | 2e04ae6c9ca4e78e8b6b9a401a39ed2e35128b4d /crawl-ref/source/spl-cast.cc | |
parent | 0380e33912ed90d0cf6f9aac69b1ff2a63bd292f (diff) | |
download | crawl-ref-a93993cc7b9e26ee669979d00ed34c3649e2b4ec.tar.gz crawl-ref-a93993cc7b9e26ee669979d00ed34c3649e2b4ec.zip |
Clean up some more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5564 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index fe4a1becba..7cad63c787 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1004,6 +1004,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) _surge_power(spell); // Added this so that the passed in powc can have meaning -- bwr + // Remember that most holy spells don't yet use powc! if (powc == 0) powc = calc_spell_power( spell, true ); @@ -1519,11 +1520,16 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) cast_summon_wraiths(powc); break; - // Remember that most holy spells don't yet use powc! case SPELL_SUMMON_GUARDIAN: + cast_summon_guardian(powc); + break; + case SPELL_SUMMON_DAEVA: + cast_summon_daeva(powc); + break; + case SPELL_SUMMON_DRAGON: - summon_general_creature_spell(spell, powc); + cast_summon_dragon(powc); break; case SPELL_OZOCUBUS_ARMOUR: |