summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-01-25 08:30:15 +0100
committerRobert Vollmert <rvollmert@gmx.net>2010-01-25 08:44:07 +0100
commitd2c5c8df9f94fb50f0f5fc6778339c39f072232f (patch)
tree9bcdde03061c86436ee6b3b34b4ec3eaedd32ac4 /crawl-ref/source/fight.h
parentfce9e9888d1e43bb27ce36255439aac33e95906a (diff)
downloadcrawl-ref-d2c5c8df9f94fb50f0f5fc6778339c39f072232f.tar.gz
crawl-ref-d2c5c8df9f94fb50f0f5fc6778339c39f072232f.zip
Allow stabbing of friendly monsters.
I hope this is uncontroversial (allowing to stab friends, not stabbing friends itself). It makes a lot of sense to be able to catch them off-guard. Mostly flavour -- I don't think the gameplay effect will be huge. Let me know if I missed something! Ally stabs do damage like confused stabs. The messages fit nicely: "You catch %s completely off-guard!" "You strike %s from behind!"
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index bc4df60e46..5318fb9afa 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -33,7 +33,8 @@ enum unchivalric_attack_type
UCAT_PETRIFYING,
UCAT_PETRIFIED,
UCAT_PARALYSED,
- UCAT_SLEEPING
+ UCAT_SLEEPING,
+ UCAT_ALLY
};
enum attack_final_effect_flavor