From ccb8040b9032ede89892acff85c48d517ab16c14 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 5 Jul 2007 18:09:50 +0000 Subject: added Recall invocation for Beogh (data copied from Kiku) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1760 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells3.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crawl-ref/source/spells3.cc') diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 9037a55cdb..ef67f7ba45 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -900,6 +900,7 @@ bool project_noise(void) Type recalled: 0 = anything 1 = undead only (Kiku religion ability) + 2 = orcs only (Beogh religion ability) */ bool recall(char type_recalled) { @@ -951,6 +952,11 @@ bool recall(char type_recalled) } } } + else if (type_recalled == 2) // Beogh + { + if (mons_species(monster->type) != MONS_ORC) + continue; + } if (empty_surrounds(you.x_pos, you.y_pos, DNGN_FLOOR, 3, false, empty)) { -- cgit v1.2.3-54-g00ecf