summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index 2d404b801d..0d0b71872b 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -971,12 +971,15 @@ char burn_freeze(int pow, beam_type flavour)
return 1;
}
-bool summon_spatial_vortices(int how_many, bool god_gift)
+bool summon_spatial_vortices(int pow, bool god_gift)
{
bool success = false;
mpr("Space twists in upon itself!");
+ // Maximum power is 300.
+ const int how_many = (pow / 75 + 1);
+
for (int i = 0; i < how_many; ++i)
{
if (create_monster(