diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 00:13:14 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-08 00:13:14 +0000 |
commit | b857cd3be4fe4adcf3a5abcf83d9873439dc1ab1 (patch) | |
tree | d3e81e8210fd1a2f8d90ac8ed1c63852336d6acc /crawl-ref/source/religion.cc | |
parent | a93993cc7b9e26ee669979d00ed34c3649e2b4ec (diff) | |
download | crawl-ref-b857cd3be4fe4adcf3a5abcf83d9873439dc1ab1.tar.gz crawl-ref-b857cd3be4fe4adcf3a5abcf83d9873439dc1ab1.zip |
Simplify summoning of hostile holy beings.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5565 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index b0571ab956..dec968345d 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -3016,9 +3016,7 @@ static bool _tso_retribution() for (int i = 0; i < how_many; ++i) { - if (create_monster( - mgen_data::alert_hostile_at(MONS_DAEVA, - you.pos(), MF_GOD_GIFT)) != -1) + if (summon_daeva(0, true, true, true)) { success = true; } @@ -3117,9 +3115,7 @@ static bool _zin_retribution() for (int i = 0; i < how_many; ++i) { - if (create_monster( - mgen_data::alert_hostile_at(MONS_ANGEL, - you.pos(), MF_GOD_GIFT)) != -1) + if (summon_guardian(0, true, true, true)) { success = true; } |