summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-20 17:21:09 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-20 17:21:09 +0000
commit3a4159644bb83b286ae10d5f37fcdbf81dced398 (patch)
treeedf72dff6f6250859ea6d051eba807049e6e661a /crawl-ref/source/player.cc
parente57ab785ed42435069db2f2397fe939a70119c27 (diff)
downloadcrawl-ref-3a4159644bb83b286ae10d5f37fcdbf81dced398.tar.gz
crawl-ref-3a4159644bb83b286ae10d5f37fcdbf81dced398.zip
Pan overhaul:
Allow monsters (including player ghosts) to use fire storm and ice storm, give Lom Lobon ice storm and Cerebov fire storm. Lom Lobon also gets conjure ball lightning. Mnoleg gets Summon Horrible Things instead of polymorph/shadow creatures. Gloorx gets symbol of torment instead of summon demon. Hellion hellfire burst now behaves the same way for both hellion vs player and hellion vs monster. Merged monster vs player and m vs m handling for direct spell effects such as smiting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6621 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index caf6e8b502..550bbf5851 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5977,6 +5977,11 @@ int player::id() const
return (-1);
}
+int player::mindex() const
+{
+ return (MHITYOU);
+}
+
int player::get_experience_level() const
{
return (experience_level);