summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 04:54:57 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-07 04:54:57 +0000
commit4406258079282fb38da52df875ccd76ee70941bd (patch)
tree37d7c5a953e8013e4f7d81b9fd4a4585e34122ec /crawl-ref/source/spells4.cc
parent2eca4d6c7a1f9490725d206f0ae53506f08ec20b (diff)
downloadcrawl-ref-4406258079282fb38da52df875ccd76ee70941bd.tar.gz
crawl-ref-4406258079282fb38da52df875ccd76ee70941bd.zip
Consolidate "Summon Dragon" into summon_general_creature() as well.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5523 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 89cbed5d39..6553e65e4b 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -570,28 +570,6 @@ void cast_sticks_to_snakes(int pow)
} // end cast_sticks_to_snakes()
-void cast_summon_dragon(int pow)
-{
- // Removed the chance of multiple dragons... one should be more
- // than enough, and if it isn't, the player can cast again...
- // especially since these aren't on the Abjuration plan... they'll
- // last until they die (maybe that should be changed, but this is
- // a very high level spell so it might be okay). -- bwr
- const bool friendly = (random2(pow) > 5);
-
- if (create_monster(
- mgen_data( MONS_DRAGON,
- friendly ? BEH_FRIENDLY : BEH_HOSTILE, 3,
- you.pos(),
- friendly ? you.pet_target : MHITYOU )) != -1)
- {
- mprf("A dragon appears.%s",
- friendly ? "" : " It doesn't look very happy.");
- }
- else
- canned_msg( MSG_NOTHING_HAPPENS );
-} // end cast_summon_dragon()
-
void cast_conjure_ball_lightning( int pow )
{
int num = 3 + random2( 2 + pow / 50 );