From 6a7804a077312c11ade9582bf5957628046ea3d7 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 8 Feb 2007 09:12:58 +0000 Subject: 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 --- crawl-ref/source/mon-util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/mon-util.h') diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 7bec117412..e7584b97df 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -134,6 +134,8 @@ const char *monam(int mons_num, int mons, bool vis, char desc, int mons_wpn = NO // these front for monam const char *ptr_monam(const monsters *mon, char desc, bool force_seen = false); +std::string str_monam(const monsters *mon, description_level_type desc, + bool force_seen = false); // last updated 12may2000 {dlb} /* *********************************************************************** @@ -226,6 +228,9 @@ bool mons_is_statue(int mc); bool mons_is_demon( int mc ); bool mons_is_humanoid( int mc ); +bool mons_wields_two_weapons(const monsters *m); +int mons_damage_type(const monsters *m); +int mons_damage_brand(const monsters *m); // last updated 12may2000 {dlb} /* *********************************************************************** -- cgit v1.2.3-54-g00ecf