From 3426bfa520d75a7030982173676be5ce3d1dc36e Mon Sep 17 00:00:00 2001 From: evktalo Date: Fri, 4 Sep 2009 16:58:08 +0000 Subject: Call Canine Familiar only calls friendly canines (plus changelog update on the summon changes). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10620 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells2.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crawl-ref/source/spells2.cc') diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index c93aa41ad2..1bc2ee76db 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1215,11 +1215,8 @@ bool cast_call_canine_familiar(int pow, god_type god) const int dur = std::min(2 + (random2(pow) / 4), 6); - const bool friendly = (random2(pow) > 3); - if (create_monster( - mgen_data(mon, - friendly ? BEH_FRIENDLY : BEH_HOSTILE, + mgen_data(mon, BEH_FRIENDLY, dur, SPELL_CALL_CANINE_FAMILIAR, you.pos(), MHITYOU, @@ -1229,8 +1226,6 @@ bool cast_call_canine_familiar(int pow, god_type god) mpr("A canine appears!"); - if (!friendly) - mpr("It doesn't look very happy."); } else canned_msg(MSG_NOTHING_HAPPENS); -- cgit v1.2.3-54-g00ecf