summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-08 09:12:58 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-02-08 09:12:58 +0000
commit6a7804a077312c11ade9582bf5957628046ea3d7 (patch)
treea84abd9cb89482ba7e2065ab481f15ccc1e41267 /crawl-ref/source/player.h
parentbf1085165e25a72de45edd793a6b9f17752a4a38 (diff)
downloadcrawl-ref-6a7804a077312c11ade9582bf5957628046ea3d7.tar.gz
crawl-ref-6a7804a077312c11ade9582bf5957628046ea3d7.zip
Hydras now behave the same way in monster-vs-monster combat as they do in
player vs monster. Specifically, hydras get their as many attacks as they have heads vs other monsters, and other monsters can chop off hydra heads (at 25% of the probability that the player has of chopping off heads). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@936 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index ed08ec44dd..29d551582d 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -16,6 +16,11 @@
#include "externs.h"
+std::string actor_name(const monsters *actor, description_level_type desc);
+std::string actor_verb(const monsters *actor, const std::string &verb);
+int actor_damage_type(const monsters *actor);
+int actor_damage_brand(const monsters *actor);
+
bool move_player_to_grid( int x, int y, bool stepped, bool allow_shift,
bool force );