summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc10
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: