summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-24 10:51:57 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-09-24 10:51:57 -0500
commit1f4de875d0ca599b54a6012af54ffbdb515b87c3 (patch)
tree5c8ec28b4117d46f466fb9f9e387900cd64a0eeb /crawl-ref/source/ghost.cc
parente65f11731155dec69701d806ba00c6bd24ffc33c (diff)
downloadcrawl-ref-1f4de875d0ca599b54a6012af54ffbdb515b87c3.tar.gz
crawl-ref-1f4de875d0ca599b54a6012af54ffbdb515b87c3.zip
For flavor, add "peck" and "headbutt" attack types. The former is now
used by some birdlike monsters as an alternative to "claw". The latter is currently used only by chaos spawns and (very) ugly things, although it could be useful if non-draconian monks are added. Also, rename AT_BUTT to AT_GORE, as it's described as "gore" anyway.
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index e68b780e4f..411d9a8dc1 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -514,8 +514,8 @@ void ghost_demon::init_ugly_thing(bool very_ugly, bool only_mutate)
const mon_attack_type att_types[] =
{
- AT_BITE, AT_STING, AT_CLAW, AT_PUNCH, AT_KICK, AT_TENTACLE_SLAP,
- AT_TAIL_SLAP, AT_BUTT
+ AT_BITE, AT_STING, AT_CLAW, AT_PECK, AT_HEADBUTT, AT_PUNCH, AT_KICK,
+ AT_TENTACLE_SLAP, AT_TAIL_SLAP, AT_GORE
};
att_type = att_types[random2(sizeof(att_types) / sizeof(*att_types))];