summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-05 18:09:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-07-05 18:09:50 +0000
commitccb8040b9032ede89892acff85c48d517ab16c14 (patch)
tree508407ae1ac57d958f92c6a83b649228c9f04f1b /crawl-ref/source/spells3.cc
parent22d0bf1834360c8c1776f96049da60aad15c14b9 (diff)
downloadcrawl-ref-ccb8040b9032ede89892acff85c48d517ab16c14.tar.gz
crawl-ref-ccb8040b9032ede89892acff85c48d517ab16c14.zip
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
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc6
1 files changed, 6 insertions, 0 deletions
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))
{